10.6.1 Command Format – Host MCU to BM70/71 Module
ISDAP Opcode | ISDAP Data Length | ISDAP Data | ||||
---|---|---|---|---|---|---|
Start | Handle | Length | Data | |||
Byte Number | 0 | 1-2 | 3-4 | 5-6 | 7-8 | 9-22 |
Size (bytes) | 1 | 2 | 2 | 2 | 2 | 14 |
Value | 0x02 | 0x0FFF | 0x0012 | 0x0114 | 0x000E | See the following table |
Byte Number | Value | Parameter Description | Length |
---|---|---|---|
9 | 0x03 | Memory type For the BM70/71 module, this value is fixed to zero, indicating Flash memory. | 1 byte |
10 | 0x00 | Sub-memory type For the BM70/71 module, this value is fixed to zero, indicating eFlash memory. | 1 byte |
11-14 | 0x0000_0001 | Use the CRC algorithm. 1 – H5 16-bit CRC algorithm For memory programming, this value must be one. | 4 bytes |
15-18 | 0xXXXX_XXXX | Address of memory to start reading and calculation from. The MSb, 16 bits of the address value represents the bank number.The LSb, 16 bits represents the address within the specified bank. | 4 bytes Format is LE For example, for an address of 0x0000_0800, first send the value to the BM70/71 module LSb, 0x00 0x08 0x00 0x00 |
19-22 | 0xXXXX_XXXX | Number of bytes to perform calculation over Range: 0x0001-0xFFFF | 4 bytes Format is LE For example, for a size of 0x0000_0800, first send the value to the BM70/71 module LSb, 0x00 0x08 0x00 0x00 |