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

Unable to write to flash on NRF51922

I'm unable to write my application code to the flash of an NRF51922 (QFAACAA). NRF Studio will let me flash the hex file but it fails verification. If I try programming in Keil I get an "unable to erase chip" error. I haven't had this problem with the NRF51822 but I must be doing something wrong...

It also looks like the pre-programmed SoftDevice (S310 0.2.0-1 beta) is write-protected. I received these NRF51922 samples in early December and was under the assumption that they were going to be functionally identical to the new NRF51422 Rev2. Was that an incorrect assumption? Do I need a NRF51422 Rev2 kit/samples?

  • That was unfortunately not a correct assumption, and I'd recommend you to talk to your sales representative to get hold of nRF51422 revision 2 samples or kits as soon as possible.

    However, you should be able to at least flash your chip using Keil. If you get errors, I'd recommend you to make sure that your IROM sizes are set correct in the project settings, that IROM starts on 0x20000 and not 0x14000. Errors here could also be the cause for nRFgo Studio having problems flashing the chip.

Related