10.5.1 Command Format – Host MCU to BM70/71 Module

Table 10-11. Erase Memory Command Format
ISDAP OpcodeISDAP Data LengthISDAP Data
StartHandleLengthData
Byte Number01-23-45-67-89-18
Size (bytes)1222210
Value0x020x0FFF0x000E0x01120x000ASee the following table
Table 10-12. Data Field Parameters
Byte NumberValueParameter DescriptionLength
90x03

Memory type

For the BM70/71 module, this value is fixed to 0x03, indicating Flash memory
1 byte
100x00

Sub-memory type

For the BM70/71 module, this value is fixed to 0x00, indicating eFlash memory
1 byte
11-140xXXXX_XXXX

Starting address of memory page to erase

The MSb, 16 bits of the address value represents the bank number.

The LSb, 16 bits represents the address within the specified bank and must be aligned to a 2-Kbyte boundary.

4 bytes

Format is LE

For example, for an address of 0x0000_0800, first send the value the BM70/71 module LSB, 0x00 0x08 0x00 0x00
15-180xXXXX_XXXX

Number of bytes to erase

Size value must be a multiple of 2048.

If both the address value and the size value are set equal to zero, the entire Flash memory is erased all at once.
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
Figure 10-5. Message Sequence for Erase Memory Command