I want to be able to flash (hex files) my Raspberry Pi 3, I am using Raspbian as an OS and I son't seem to be able to install nrftools for Linux on my Raspberry Pi. Are there any tools supported by the raspberry I can install ?
Thank you
I want to be able to flash (hex files) my Raspberry Pi 3, I am using Raspbian as an OS and I son't seem to be able to install nrftools for Linux on my Raspberry Pi. Are there any tools supported by the raspberry I can install ?
Thank you
Hi, the nrftools are all built for x86, but Segger is offering a ARM build of their J-link Software pack that you may be able to use: https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack. But notice their statement about this package not coming with any support.
Thank you for your response, but I still have a problem with flashing. In fact I keep getting this error "test_script.sh: line 52: nrfjprog: command not found", it's like in my flashing script it doesn't recognize the cammand line tools. Is there a solution for this ?
Thak you.
You need to use the J-link commander program (named JLinkExe in jlink sw package) for programming. Nrfjprog is not supported on ARM.
https://www.segger.com/products/debug-probes/j-link/tools/j-link-commander/
Update: I just tested it on a Pi4 loading the blinky hex to a nRF52840 DK:
Thank you very much although I have one last question, in my case I used to flash with my Desktop with a script.bat, how can run this script from Jlink ?? I changed my script into script.sh but is it possible to run the script from Jlink ???
Thank you
I am interested in what you did Vidar. Thanks for the information.
Would that method be able to program the UICR ? Can it also erase the UICR ?