10.5.2 Response Format – BM70/71 Module to Host MCU
The BM70/71 module returns the values specific to the erase command.
The BM70/71 module returns the event response after successfully receiving an HCI-ISDAP command. This also helps the host MCU to know about the acceptance and processing HCI-ISDAP command. The BM70/71 module returns the event response packet with values specific to the HCI-ISDAP erase command operation. The host MCU can get the status of the erase operation (success or failure), and determine which memory areas were successfully erased from this packet. The following table provides details about the values specific to this response.
Data | ||||||
---|---|---|---|---|---|---|
Start | Handle | Length | ISDAP Opcode | ISDAP Data Length | ISDAP Data | |
Byte Number | 0 | 1-2 | 3-4 | 5-6 | 7-8 | 9-18 |
Size (bytes) | 1 | 2 | 2 | 2 | 2 | 10 |
Value | 0x02 | 0x0FFF | 0x000E | 0x0112 | 0x000A | See the following table |
Byte Number | Value | Parameter Description | Length |
---|---|---|---|
9-10 | 0xXXXX | HCI-ISDAP erase command result
| 2 bytes |
11-14 | 0xXXXX_XXXX | Starting address of memory segment erased | 4 bytes Format is LE |
15-18 | 0xXXXX_XXXX | Number of bytes erased | 4 bytes Format is LE |