数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN3155 数据表(PDF) 13 Page - STMicroelectronics

部件名 AN3155
功能描述  USART protocol used in the STM32 bootloader
PDF  37 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN3155 数据表(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


数据表 下载

Go To PDF Page


链接网址



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