Hey All,
I'm using LPC11u67 nxp MCU, I wrote a secondary bootloader that will upgrade the FW via BLE communication. In addition I burn the serial number in the last sector of the flash which locate in address 0x18000.
The issue after I burn the serial once or the new FW, I can't erase again the flash using the same function I used at the first time. I thought that might be a problem with the board but when I'm trying to erase the sector using J-Flash I succeeded.
Attached the two function once that erase the sector from 6 to 23 and function that erase the the last sector. In both cases the functions return true (success), but when I explore the memory there is no change.
Please any one can help me understand why I can't delete the sectors after I write them once, and the solve this issue.
Thanks in advance.