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

problem with HEX files

Hi,

My problem is:
When I programing my board using existing hex from SDK, I have no problem. Program working great.
But if I building my own hex (build without errors) and send to my board, program not working.

That situation refers to among other ble_app_uart, because if I doing the same with blinky example my hex working great.

I was try in two different boards (PAC10028 and PCA10040), now I working on Ubuntu, but on the Windows I had similar problem.

Parents
  • Likely you are forgetting to flash the corresponding softdevice to the nRF along with your program.

    The hex examples labeled xxx_S132.hex or similar already have the softdevice in them.  When you compile you are just creating your program.  There is no source for the SD.

    In nRFGo first write the correct SD to the nRF, then write your app to it.  The SD's are in SDK/components/softdevice/sxxx

Reply
  • Likely you are forgetting to flash the corresponding softdevice to the nRF along with your program.

    The hex examples labeled xxx_S132.hex or similar already have the softdevice in them.  When you compile you are just creating your program.  There is no source for the SD.

    In nRFGo first write the correct SD to the nRF, then write your app to it.  The SD's are in SDK/components/softdevice/sxxx

Children
Related