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

flash programming issue

Hello,

I'm preparing production.

My development environments are : 

 - SDK : V12.3.0, IDE : miniJLink, Softdevice : s130_nrf51_2.0.1_softdevice.hex

 - OS : Windows

I'm programming SD / application / boot seperately using nRFgo Studio now.

It's a little cumbersome.

So, I want to program them at once with the Lock and Protection on.

Would you let me know if it is possible?

 Thanks.

Parents
  • I found it.

    1. I merged all.

      - mergehex -m s130_nrf51_2.0.1_softdevice.hex outer_v1.5.20_20180730_1410.hex boot_set_v1.5.20_20180730_1410.hex -o all.hex

    2. program/verify and read-back protection

    nrfjprog -f nrf51 -e
    nrfjprog -f nrf51 --verify --program all.hex
    nrfjprog -f nrf51 --rbp ALL
    nrfjprog -f nrf51 -r

    3. It fails sometimes.

    I don't know why.

    Would you let me know more why?

    Thanks.

Reply
  • I found it.

    1. I merged all.

      - mergehex -m s130_nrf51_2.0.1_softdevice.hex outer_v1.5.20_20180730_1410.hex boot_set_v1.5.20_20180730_1410.hex -o all.hex

    2. program/verify and read-back protection

    nrfjprog -f nrf51 -e
    nrfjprog -f nrf51 --verify --program all.hex
    nrfjprog -f nrf51 --rbp ALL
    nrfjprog -f nrf51 -r

    3. It fails sometimes.

    I don't know why.

    Would you let me know more why?

    Thanks.

Children
Related