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

nRF51422(-dk) - SoftDevice "--erase-all" not possible

hi nordic

i just got a little bit outdated "nRF51422-dk" package. I have problems with flashing the boards pca10006 and pca10007- I tried to search for an solution, tried different Jlink settings etc. - no succsess.

Problem description:

I can use the sdk to build and flash example code like ANT* and BLE* that requires softdevice and everythink works nice, earsing, flashing done!!!

If I try to build and flash example code that does not require softdevice, like blinky_blank* the buildung and earsing works, but the code downloading flashing process failes.

For me it seems that is impossible to override softdevice addresses.

some stuff that failed - and that lead to my question if these boards/chips have protected softdevices? (maybe old revision?)- is it possible to disable that protection? (i am not talking about "app read out protection" here)

nRFgo Studio does not show the PROGRAM SOFTDEVICE tab (greyed out).

nrfjprog.exe --eraseall Applying system reset. WARNING: Since the device was programmed with a SoftDevice from factory, "--eras eall" is not available. "--erasecr1" and "--eraseuicr" options have been execute d instead. Erasing code region 1. Erasing UICR. Applying system reset.

even interactive jlink the download (loadbin) to 0 fails (sometimes the download did start - but timeouted after 20s something.)

hwinfo and other show all ok on jlink and on keil debug/flash settings

any ideas, please help.

ty

ps. still can not solve the problem. please help. is this a bug or a feature?

update: I about nrfprog.exe i asked myself if the "quiet" option might be used to bypass the check, i did not find time yet to test. i invested too mutch in the failed prev flashing attempts lol.

markings: PCA10007 REV 2.0.0 2013.10 n51422 QFAAC0 1302AC

PCA10006 REV 2.0.0 2013.10 n51422 QFAAC0 1246AA

ps. even if you can not tell me the exact address can you confirm that it would be possible by an nordic tech to disable this protection using internal knowledge? - please understand that I want to use the chip without softdevice and this is why I bought the DK - and even "nordics own" sample code does not run, even if i would like to use the device with softdevice only it would not possible to update to latest features or bugfixes (v6... etc). :(

i am still waiting for a clear reply if my chip version is affected thanks!

Parents
  • Some older revisions of the nRF51422 came with a preflashed stack that you couldn't erase, but that was only the S210 stack I believe. Then the BLE examples shouldn't work, only the ANT examples and examples like blinky. Please edit the question and include the complete laser markings on the nRF51422.

    Edit: QFAAC0 is the first IC revision of nRF51422. It is very old, and comes with a preflashed stack. It cannot be erased. Even if we could, I would still recommend you to get the latest revision, because this is the revision that is available if you go into production. (sorry for the late edit)

Reply
  • Some older revisions of the nRF51422 came with a preflashed stack that you couldn't erase, but that was only the S210 stack I believe. Then the BLE examples shouldn't work, only the ANT examples and examples like blinky. Please edit the question and include the complete laser markings on the nRF51422.

    Edit: QFAAC0 is the first IC revision of nRF51422. It is very old, and comes with a preflashed stack. It cannot be erased. Even if we could, I would still recommend you to get the latest revision, because this is the revision that is available if you go into production. (sorry for the late edit)

Children
Related