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
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
Use nrfjprog.exe which is part of the nrf51 tools package.. using this you program an application or softdevice. Or you use the j link command line tool.
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)