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

nrf51822 command line flashing

Hello

I'd like to write my own application for flashing nrf51822. It will add some additional information info hex file.

How can I burn hex file into the flash using any command line tool?

Best regards, Vitaliy

Parents
  • nrfjprog is a command line tools that comes with nrf-tools at the download page of the product website. search this forum for nrfjprog and will come up with tons of information.

    If you are non windows use , then JLINKEXE can be downloaded from segger website and it offers flashing mechanism to nordic nrf5x chips. devzone.nordicsemi.com/.../

  • Thanks, I've successfully used nrfjprog.exe as follow:

    nrfjprog.exe --eraseall
    nrfjprog.exe --program my.hex 
    nrfjprog.exe --rbp ALL
    

    (erase, flash and secure)

Reply Children
No Data