JLinkExe -device NRF52840_xxAA -if swd -speed 4000
connect
erase
just pops up a window with progress bars; comapre 100%, erase and program at 0%; then returns saying "Failed to erase chip", "Failed to execute ramcode for chip erase!"; ERROR: Erase returned with error code -5.
Also if I just use JLink to access the NVMC registers to do the erase; nothing happens the device is NOT erased.
The nordic tool nrfjprog works to erase devices;
I know JFlash works OK for programming devices; I have used this in the past.
Why does the JLink command "erase" not work?
Why can I not erase devices just via NVMC writes as nordic manual says?
Have Nordic, or Segger done something behind the scenes to stop device erase via straight register writes?
I have been working on some production scripting to program our devices; using linux, maybe windows or preferrablt rasperberry pi in conjuction with JLink.
Anyone any ideas?
connect
erase
just pops up a window with progress bars; comapre 100%, erase and program at 0%; then returns saying "Failed to erase chip", "Failed to execute ramcode for chip erase!"; ERROR: Erase returned with error code -5.
Also if I just use JLink to access the NVMC registers to do the erase; nothing happens the device is NOT erased.
The nordic tool nrfjprog works to erase devices;
I know JFlash works OK for programming devices; I have used this in the past.
Why does the JLink command "erase" not work?
Why can I not erase devices just via NVMC writes as nordic manual says?
Have Nordic, or Segger done something behind the scenes to stop device erase via straight register writes?
I have been working on some production scripting to program our devices; using linux, maybe windows or preferrablt rasperberry pi in conjuction with JLink.
Anyone any ideas?