13-04-2023, 09:09 AM
Hi,
Question about the lpc800 flash script. Is the clearing of the remaining bytes to 0x00 still necessary when you specified the flash erase value on device level?
Question about the lpc800 flash script. Is the clearing of the remaining bytes to 0x00 still necessary when you specified the flash erase value on device level?
Code:
// Fill up any remaining bytes in the block with 0x00
for (local i=buffer.getSize()/4*4;i<writeSize;i+=4) {
_n_throw(intrfApi.writeMem32(DATA_ADDR+i, 0x0))
}