전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN4286 데이터시트(PDF) 18 Page - STMicroelectronics

부품명 AN4286
상세설명  SPI protocol used in the STM32 bootloader
PDF  38 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4286 데이터시트(HTML) 18 Page - STMicroelectronics

Back Button AN4286 Datasheet HTML 14Page - STMicroelectronics AN4286 Datasheet HTML 15Page - STMicroelectronics AN4286 Datasheet HTML 16Page - STMicroelectronics AN4286 Datasheet HTML 17Page - STMicroelectronics AN4286 Datasheet HTML 18Page - STMicroelectronics AN4286 Datasheet HTML 19Page - STMicroelectronics AN4286 Datasheet HTML 20Page - STMicroelectronics AN4286 Datasheet HTML 21Page - STMicroelectronics AN4286 Datasheet HTML 22Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 38 page
background image
DocID024458 Rev 2
18/38
AN4286
Bootloader command set
37
2.6
Go command
The Go command is used to execute the downloaded code or any other code by branching
to an address specified by the application. When the bootloader receives the Go command,
it transmits the ACK byte to the application. After transmission of the ACK byte, the
bootloader waits for an address (4 bytes, byte 1 being the address MSB and byte 4 the LSB)
and a checksum byte, then it checks the received address. If the address is valid and the
checksum is correct, the bootloader transmits an ACK byte; otherwise it transmits a NACK
byte and aborts the command.
When the address is valid and the checksum is correct, the bootloader firmware performs
the following.
•
Initializes the registers of the peripherals used by the bootloader to their default reset
values.
•
Initializes the user application’s main stack pointer.
•
Jumps to the memory location programmed in the received ‘address + 4’ (which
corresponds to the address of the application’s reset handler). For example, if the
received address is 0x08000000, the bootloader jumps to the memory location
programmed at address 0x08000004.
In general, the master should send the base address where the application to jump to is
programmed.
Note:
The jump to the application works only if the user application sets the vector table correctly
to point to the application address.
The master sends bytes as follows to the STM32.
•
Start Of Frame: 0x5A
•
Byte 1: 0x21
•
Byte 2: 0xDE
•
Wait for ACK (as described in section 1)
•
Byte 3 to byte 6: start address
–
byte 3: MSB
–
byte 6: LSB
•
Byte 7: checksum: XOR (byte 3, byte 4, byte 5 and byte 6)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com