3.5.4.3 Response Format (BM70/71 to Host)

The BM70/71 device returns the HCI event response and the command response with values specific to the erase command.

The BM70/71 returns the HCI event response when it successfully receives an HCI-ISDAP command. This lets the host know the HCI-ISDAP command is accepted and is being processed. For general format and details, see HCI Event Responses. The BM70/71 returns the command response packet with values specific to the HCI-ISDAP Erase Command operation. The host can get the status of the erase operation (success or failure) and determine the memory areas that are successfully erased from this packet. See the following table for values specific to this response.

Figure 3-19. Erase Memory Command Response Format

Value of Parameter (9...10)

Parameter Description

Length – 2 Bytes

0xXXXX

HCI-ISDAP Erase command result

0x0000 – Success

0x0001 ... 0xFFFF – Failure

Value of Parameter (11...14)

Parameter Description

Length – 4 Bytes

0xXXXX_XXXX

Starting address of memory segment erased

Format is little endian

Value of Parameter (15...18)

Parameter Description

Length – 4 Bytes

0xXXXX_XXXX

Number of bytes erased

Format is little endian