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

Flashing with nRFjProg

Hello All ,

I was Using nRFgo studio for flashing chipsets , now we are asked to use nrfjprog for flashing , i have downloaded the command line tools . but issue i am not getting how to start and how to program the SOC's using nrfjprog ? can anybody suggest me basic initial steps for programming using nrfjprog ?

Parents
  • For the first time try to execute:

    nrfjprog -i
    

    It should list all devices You have connected.

    To program devices You have to point proper family (nrf51 or nrf52) with -f switch. To program for example nRF52832 try this command:

    nrfjprog -f nrf52 --program HEXFILE_PATH --sectorerase
    

    Remember that nrfjprog does not provide reset after program procedure. You have to click reset button or perform:

    nrfjprog -f nrf52 --reset
    

    Try also nrfjprog --help to know more :)

Reply
  • For the first time try to execute:

    nrfjprog -i
    

    It should list all devices You have connected.

    To program devices You have to point proper family (nrf51 or nrf52) with -f switch. To program for example nRF52832 try this command:

    nrfjprog -f nrf52 --program HEXFILE_PATH --sectorerase
    

    Remember that nrfjprog does not provide reset after program procedure. You have to click reset button or perform:

    nrfjprog -f nrf52 --reset
    

    Try also nrfjprog --help to know more :)

Children
Related