Electronic Components Datasheet Search
  English  ▼

X  

AN3155 Datasheet(PDF) 13 Page - STMicroelectronics

Part # AN3155
Description  USART protocol used in the STM32 bootloader
PDF  37 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3155 Datasheet(HTML) 13 Page - STMicroelectronics

Back Button AN3155 Datasheet HTML 9Page - STMicroelectronics AN3155 Datasheet HTML 10Page - STMicroelectronics AN3155 Datasheet HTML 11Page - STMicroelectronics AN3155 Datasheet HTML 12Page - STMicroelectronics AN3155 Datasheet HTML 13Page - STMicroelectronics AN3155 Datasheet HTML 14Page - STMicroelectronics AN3155 Datasheet HTML 15Page - STMicroelectronics AN3155 Datasheet HTML 16Page - STMicroelectronics AN3155 Datasheet HTML 17Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 37 page
background image
DocID17066 Rev 6
13/37
AN3155
Bootloader command set
Figure 7. Get ID command: device side
1. GID = Get ID.
3.4
Read Memory command
The Read Memory command is used to read data from any valid memory address (see
note) in RAM, Flash memory and the information block (System memory or option byte
areas).
Note:
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.
When the bootloader receives the Read Memory 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 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 waits for the number
of bytes to be transmitted – 1 (N bytes) and for its complemented byte (checksum). If the
checksum is correct it then transmits the needed data ((N + 1) bytes) to the application,
starting from the received address. If the checksum is not correct, it sends a NACK before
aborting the command.
The host sends bytes to the STM32 as follows:
Bytes 1-2:
0x11+0xEE
Wait for ACK
Bytes 3 to 6: start address



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


Datasheet Download

Go To PDF Page


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


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