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

Problems with HEX and DAT file

I have built a application with IAR, and made a hex file with Intel extended. It’s works fine with nRFgo Studio. But I got problems with dfu updating from my android. I hope the problems are the DAT-file. When I put the app-hexfile trough hex2bin and then crc, I get 0xFD66. So my dat file then looks like this. Is this right?

ffff ffff ffff ffff 0200 4f00 5a00 66df

Parents
  • Hi Amund,

    [EDITED] I agree with MattBarr , you need only to switch the byte, so it should be 66FD. Which problem did you have when doing DFU? Could you upload here a hex file sample so that we can try and test here ? I am suspecting there could be an issue with the hex file generated by IAR. Please mention the S110 version that you used with the hex

Reply
  • Hi Amund,

    [EDITED] I agree with MattBarr , you need only to switch the byte, so it should be 66FD. Which problem did you have when doing DFU? Could you upload here a hex file sample so that we can try and test here ? I am suspecting there could be an issue with the hex file generated by IAR. Please mention the S110 version that you used with the hex

Children
No Data
Related