hi, How can I read the .hex file in nrf51822?
i am useing stlink v2 and openocd. My platform is arch linux.
Any document or tutorial about that?
Thx.
hi, How can I read the .hex file in nrf51822?
i am useing stlink v2 and openocd. My platform is arch linux.
Any document or tutorial about that?
Thx.
Hi,
I would recommend that you get a Segger J-Link debugger. With that you can read content of flash using nrfjprog and the command '--readcode'. I'm sure you can do this with OpenOCD as well, but this is not something we support and we do not provide any tutorials on this.
Maybe someone in the community can give you the correct procedure to do this.
Note that it is possible to set readback protection in the chip, preventing you from reading the FW.
Best regards,
Jørgen
Hi,
I would recommend that you get a Segger J-Link debugger. With that you can read content of flash using nrfjprog and the command '--readcode'. I'm sure you can do this with OpenOCD as well, but this is not something we support and we do not provide any tutorials on this.
Maybe someone in the community can give you the correct procedure to do this.
Note that it is possible to set readback protection in the chip, preventing you from reading the FW.
Best regards,
Jørgen