| Electronic Components Datasheet Search |
|
AN3155 Datasheet(PDF) 16 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3155 Datasheet(HTML) 16 Page - STMicroelectronics |
|
16 / 37 page ![]() Bootloader command set AN3155 16/37 DocID17066 Rev 6 3.5 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 the transmission of the ACK byte, the bootloader waits for an address (4 bytes, byte 1 is the address MSB and byte 4 is 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: • it initializes the registers of the peripherals used by the bootloader to their default reset values • it initializes the user application’s main stack pointer • it 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 0x0800 0000, the bootloader will jump to the memory location programmed at address 0x0800 0004. In general, the host should send the base address where the application to jump to is programmed Figure 10. Go command: host side Note: Valid addresses for the Go command are in RAM or Flash memory (refer to STM32 product datasheets and to the “STM32 microcontroller system memory boot mode” application note - AN2606 for more details about the valid memory addresses for the device you are using). |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| 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 |