công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AN3155 bảng dữ liệu(PDF) 24 Page - STMicroelectronics

tên linh kiện AN3155
Giải thích chi tiết về linh kiện  USART protocol used in the STM32 bootloader
PDF  37 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3155 bảng dữ liệu(HTML) 24 Page - STMicroelectronics

Back Button AN3155 Datasheet HTML 20Page - STMicroelectronics AN3155 Datasheet HTML 21Page - STMicroelectronics AN3155 Datasheet HTML 22Page - STMicroelectronics AN3155 Datasheet HTML 23Page - STMicroelectronics AN3155 Datasheet HTML 24Page - STMicroelectronics AN3155 Datasheet HTML 25Page - STMicroelectronics AN3155 Datasheet HTML 26Page - STMicroelectronics AN3155 Datasheet HTML 27Page - STMicroelectronics AN3155 Datasheet HTML 28Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 24 / 37 page
background image
Bootloader command set
AN3155
24/37
DocID17066 Rev 6
3.8
Extended Erase Memory command
The Extended Erase Memory command allows the host to erase Flash memory pages using
two bytes addressing mode. When the bootloader receives the Extended Erase Memory
command, it transmits the ACK byte to the host. After the transmission of the ACK byte, the
bootloader receives two bytes (number of pages to be erased), the Flash memory page
codes (each one coded on two bytes, MSB first) and a checksum byte (XOR of the sent
bytes); if the checksum is correct, the bootloader erases the memory and sends an ACK
byte to the host. Otherwise it sends a NACK byte to the host and the command is aborted.
Extended Erase Memory command specifications:
1.
The bootloader receives one half-word (two bytes) that contain N, the number of pages
to be erased:
a)
For N = 0xFFFY (where Y is from 0 to F) special erase is performed:
- 0xFFFF for global mass erase
- 0xFFFE for bank 1 mass erase
- 0xFFFD for bank 2 mass erase
- Codes from 0xFFFC to 0xFFF0 are reserved
b)
For other values where 0
≤ N < maximum number of pages: N + 1 pages are
erased.
2.
The bootloader receives:
a)
In the case of a special erase, one byte: checksum of the previous bytes:
- 0x00 for 0xFFFF
- 0x01 for 0xFFFE
- 0x02 for 0xFFFD
a)
In the case of N+1 page erase, the bootloader receives (2 x (N + 1)) bytes, each
half-word containing a page number (coded on two bytes, MSB first). Then all
previous byte checksums (in one byte).
Note:
No error is returned when performing erase operations on write-protected sectors.
The maximum number of pages is relative to the product and thus should be respected.
Byte 4: 0x00 (in case of global erase) or ((N + 1 bytes (page numbers) and then checksum
XOR (N, N+1 bytes))



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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