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

Programming nRF51822 bootloader ends with "Invalid parameter error"

Hi!

I was trying to program bootloader provided with nRF51822-DK using nRFgo studio but I receive error like attached:

image description

I was also trying to follow this guide:

devzone.nordicsemi.com/.../group__ble__sdk__app__bootloader.html

but command:

nrfjprog --uicrwritereg 0x10001014 --val 0x00038000

ends with error:

image description

What I'm doing wrong and how can I fix it?

Thanks! Patriko

Parents
  • Checkout the latest documentation for the bootloader example: devzone.nordicsemi.com/.../a00055.html

    These steps are no longer mentioned, and I don't think they are necessary if using SoftDevice 7.0 and SDK 6.0

    Are you using Keil to compile?

    If so, try putting the softdevice on using nrfGo then flash the bootloader from within Keil OR

    nrfjprog.exe --reset --program _build/bootloader.hex

    After compiling with Keil, you should be able to open the hex file, look at the end of it and see that it's writing address 0x1000101 for you.

Reply
  • Checkout the latest documentation for the bootloader example: devzone.nordicsemi.com/.../a00055.html

    These steps are no longer mentioned, and I don't think they are necessary if using SoftDevice 7.0 and SDK 6.0

    Are you using Keil to compile?

    If so, try putting the softdevice on using nrfGo then flash the bootloader from within Keil OR

    nrfjprog.exe --reset --program _build/bootloader.hex

    After compiling with Keil, you should be able to open the hex file, look at the end of it and see that it's writing address 0x1000101 for you.

Children
No Data
Related