| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AN3262 bảng dữ liệu(PDF) 4 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3262 bảng dữ liệu(HTML) 4 Page - STMicroelectronics |
|
4 / 27 page ![]() Bootloader command set AN3262 4/27 Doc ID 17845 Rev 2 3 Bootloader command set Table 1 lists commands supported by the OTA bootloader. A detailed command-by- command protocol description follows. Communication safety All communications from the Host to the device are verified by: ● Checksum: received blocks of data bytes are XORed. A byte containing the computed XOR of all previous bytes is added to the end of each communication (checksum byte). By XORing all received bytes, data + checksum, the result at the end of the packet must be 0x00. ● For each command, the host sends a byte and its complement (XOR = 0x00). Each packet is either accepted (ACK) or discarded (NACK): ● ACK = 0x79 ● NACK = 0x1F Table 1. OTA bootloader commands Command Command code Command description GET (1) 1. This command is supported by unicast and broadcast packets, while all the other are unicast only. 0x00 Gets version number and list of commands allowed. GET VERSION (1) 0x01 Gets bootloader version and Read Protection status of the Flash memory. GET ID (1) 0x02 Gets chip ID of device. ERASE 0x43 Erases memory pages of selected device. WRITE MEMORY 0x31 Writes up to 96 bytes in memory of selected device. WRITE INCREMENTAL MEMORY (2) 2. The WRITE INCREMENTAL MEMORY command is the only one not included in the original USART bootloader command set. 0x36 Writes up to 96 bytes in memory of selected device incrementing next write address on device automatically. READ MEMORY 0x11 Reads up to 96 bytes of memory starting from a user- specified address. GO 0x21 Starts the code at a given location for a given device. |
|
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 |
| 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 |