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

X  

AN3154 数据表(PDF) 23 Page - STMicroelectronics

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

AN3154 数据表(HTML) 23 Page - STMicroelectronics

Back Button AN3154 Datasheet HTML 19Page - STMicroelectronics AN3154 Datasheet HTML 20Page - STMicroelectronics AN3154 Datasheet HTML 21Page - STMicroelectronics AN3154 Datasheet HTML 22Page - STMicroelectronics AN3154 Datasheet HTML 23Page - STMicroelectronics AN3154 Datasheet HTML 24Page - STMicroelectronics AN3154 Datasheet HTML 25Page - STMicroelectronics AN3154 Datasheet HTML 26Page - STMicroelectronics AN3154 Datasheet HTML 27Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 34 page
background image
DocID017063 Rev 5
23/34
AN3154
Bootloader command set
33
After each received message, the device will send an ACK if the content of the command is
correct else a NACK. However, as described in Figure 17, after receiving all the 'data
messages' (N/8 messages) and temporarily write the data to RAM, if none of the messages
content is corrupted, the bootloader will write the N bytes at the requested address (Flash
memory, RAM or option byte), then if the write operation is successfully completed, device
will send an ACK message to the host.
In other terms, after sending the N/8 messages, host will receive two successive ACK; the
first will be sent by the device if the last message of the N/8 is correctly received, and the
second ACK will be sent after writing correctly the N/8 message at the requested address
3.8
Erase Memory command
The Erase Memory command allows the host to erase Flash memory pages. When the
bootloader receives the Erase Memory command and ROP is disabled, it transmits the ACK
message to the host. After the transmission of the ACK message, the bootloader checks if
data[0] is equal to 0xFF, if it is the case a global memory erase operation will be started and
when finished it sends ACK message. Otherwise (data[0] is different from 0xFF), the
bootloader will start the memory page(s) erase as defined by the host, and after each page
erase it sends ACK or NACK message.
Erase Memory command specifications:
1.
The bootloader receives one message that contains N, the number of pages to be
erased – 1.
N = 255 is reserved for global erase requests. For 0
≤N ≤254, N + 1 pages are erased.
2.
The bootloader receives (N + 1) bytes, each byte containing a page number
Note:
No error is returned when performing erase operations on write protected sectors.



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


数据表 下载

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