nrfjprog.exe with bin files

Hi, I'm trying to program my nrf52811 by using nrfjprog.exe with a bin file. It seems to work with a .hex but when I run the .hex through srecord to create a .bin and using nrfjprog.exe with .bin file, the device gets flashed but doesn't actually function as it does with .hex. What could be the issue?

NRF5 SDK

Parents Reply
  • Yes just did it again and line 34 definitely has the 0x1500000015000000. Using srecord to convert my hex to bin then back and using the new hex seems to fail. Readuicr returns ffff even though compare the 2 hexfiles the new one is just adding lines with 0 for data to fill in the addresses with no data. If you already have a script I could run it on my hex and compare the bins, or maybe I need an extra parameter when running srecord to have it create to correct bin file? What do you mean by the offset of the UICR? My hexfile has both the softdevice and our application so it should be writing from 0.

Children
Related