This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to erase a nrf51422 using JLink after flashing a softdevice

Hello, we experience the situation, where we are able to flash a softdevice (s210) once. After the softdevice is flushed, subsequent attempts to flash the softdevice fail with the following error message:

J-Link>loadbin s210_main.bin, 0x00000000
Downloading file [s210_main.bin]...Info: J-Link: Flash download: Total time needed: 24.013s (Prepare: 0.547s, Compare: 10.036s, Erase: 0.185s, Program: 10.170s, Verify: 0.000s, Restore: 3.072s)
Error while programming flash: Programming failed.

My best guess is, that flashing the UICR causes the problem. Is this right? If so, how could the chips flash be erased? (using erase from JLinkExe doesn't work).

Cheers Torsten

Parents Reply Children
No Data
Related