| поискавой системы для электроныых деталей |
|
AN4286 датащи(PDF) 18 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4286 датащи(HTML) 18 Page - STMicroelectronics |
|
18 / 38 page ![]() 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) |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |