Hello, after downloading my user app using keil, I can't seem to erase the whole chip.
This is what I'm trying to do:
erase the whole chip (nrf52840).
program S140 to chip using nrfjprog
program my user app into the chip using keil's download button.
After using both nrfjprog --recover and --eraseall, I can still read 0x2000xxxx and the results given are clearly codes instead of clear patterns like 0xFFFF or 0x0000 OR 0xFF00. Here are a few examples:
0x2000031E: 8821 5470 8820 1C40
0x2000032E: F000 F92E 8821 4408
And not only that, assuming that maybe some sort of "read only" data (for example, bootloader?), I tried to download S140 SD directly with --verify, and this is the result:
Erasing user available code and UICR flash areas. Applying system reset.
Parsing hex file.
Verifying programming.
ERROR: Write verify failed.
So my questions:
How do I deal with the fact that I can't erase the whole chip? Or should I expect to be able to do that?
How do I deal with the fact that I can't properly verify the softdevice?