3.5.4.1 Command Format (Host to BM70/71)
Value of Parameter (9) |
Parameter Description |
Length – 1 Byte |
---|---|---|
0x03 | Memory Type For the BM70/71, this value is set to 0x03, indicating flash memory | — |
Value of Parameter (10) |
Parameter Description |
Length – 1 Byte |
---|---|---|
0x00 | Sub-memory type For the BM70/71, this value is fixed to 0x00, indicating embedded flash (EFlash) memory | — |
Value of Parameter (11...14) |
Parameter Description |
Length – 4 Bytes |
---|---|---|
0xXXXX_XXXX | Starting address of memory page to erase The Most Significant 16 bits of the address value represent the bank number. The least significant 16 bits represent the address within the specified bank and must be aligned to a 2-Kbyte boundary | Format is little endian. Example: For an address of 0x0000_0800, the value is sent to the BM70/71 LSB first, 0x00 0x08 0x00 0x00 |
Value of Parameter (15...18) |
Parameter Description |
Length – 4 Bytes |
---|---|---|
0xXXXX_XXXX | Number of bytes to erase Size value must be a multiple of 2048 (2 Kbytes). If both the address value and the size value are set equal to zero, the entire flash memory will be erased. | Format is little endian. Example: For a size of 0x0000_0800, the value is sent to the BM70/71 LSB first, 0x00 0x08 0x00 0x00 |