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

Failed to read hex file - problem with uploading nRF51 bed hex to production hardware.

We are trying to get an mBed-compiled hex file uploaded to production hardware but it is throwing the error "failed to read hex file".

The code is compiled for the nRF51-DK target and the production chipset is the nRF51822. We are using a Segger J-Link to upload to the board. The app does use the BLE softdevice (incase this matters).

I've read problems related to not getting the code to run due to getting the internal/external clock settings wrong (especially with running BLE code).

I've not seen problems related to just not being able to read the hex file on 1st instance... Any ideas would be massively appreciated.

Have I selected the wrong target for the compiler? I noticed the nRF51-DK board is actually an nRF51422 and we are using an nRF51822 chip...

Related