Erase a range of data in flash memory.
This command only can't be used in commands set.
Note: V7 firmware----the address will be remapped into the reserved memory space that reserved by command Reserve flash.
|
Direct: |
"FLMERAL" |
|
Arduino: |
void flashErase(uint32_t addr, uint32_t length) |
|
C: |
void Digole_flashErase(uint24_t addr, uint24_t length) |
A, addr
The 3 bytes start address where the memory going to be erased.
L, length
The 3 bytes length of the memory going to be erased
none
Example (Arduino):
mydisp.flashErase(65536L,4096); //erase the flash memory from address 65536 to 69631
serial.writeString("FLMER\x01\x00\00\x00\x10\x00"); //erase the flash memory from address 65536 to 69631
| Version | Description |
|---|---|