| 전자부품 데이터시트 검색엔진 |
|
AN3155 데이터시트(PDF) 21 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3155 데이터시트(HTML) 21 Page - STMicroelectronics |
|
21 / 37 page ![]() DocID17066 Rev 6 21/37 AN3155 Bootloader command set The host sends the bytes to the STM32 as follows: 3.7 Erase Memory command The Erase Memory command allows the host to erase Flash memory pages. When the bootloader receives the Erase Memory command, it transmits the ACK byte to the host. After the transmission of the ACK byte, the bootloader receives one byte (number of pages to be erased), the Flash memory page codes and a checksum byte; if the checksum is correct then 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. Erase Memory command specifications: 1. the bootloader receives one byte 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. Byte 1: 0x31 Byte 2: 0xCE Wait for ACK Byte 3 to byte 6:start address byte 3: MSB byte 6: LSB Byte 7: Checksum: XOR (Byte3, Byte4, Byte5, Byte6) Wait for ACK Byte 8: Number of bytes to be received (0 < N ≤ 255) N +1 data bytes:(Max 256 bytes) Checksum byte: XOR (N, N+1 data bytes) |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |