I am trying to use ARM GCC in macOSX and successfully generated .HEX file with the most simple project: the blinky project without softdevice. After setting up the project, the compilation works fine, and I am able to load it into the chip. but that hex file not working.So I tried to load precompiled hex file for the same project and that hex file works fine, I am compiling using arm-gcc version 8.2.1 and makefiles
Any ideas why compiled one is not working?
Hi, can you please post the hex file so I can compare it with the original?
Hi Stian Please check attached HEX file
Same issue I am getting in Linux machine as well.stuck here
Stian is out of office, so I have had a look at this.
I tried to program an nRF52 DK (pca10040) with the hex file that you provided, and it works flawlessly. I used the following commands:
nrfjprog -enrfjprog --program 6038.nrf52832_xxaa.hexnrfjprog -r
The -e is for erasing the board, and the -r is for resetting it. Can you try the same procedure?