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

  • Hi Mart/Amanda,

    The her file created from IAR is fine. If you able to build it from IAR and it's working for you. Now whatever the hex file is created by the IAR you have to convert to bin. For converting you have to follow some set of rules. Please follow the given like for that

    www.keil.com/.../

    If you will follow the rules and create the binaries of input hex file that will be good. Won't create any problem for you. And one more the hex file created by the IAR is also differs from IAR version. Please make sure you are using the latest one.

    Thanks Abhishek Shah

Related