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, I'm not completely clear on which tool chain you've used to build which components, but DFU did not work for me when trying to use a bootloader built with the Keil tool chain and a DFU-capable application built with the IAR tool chain. DFU works for me when both are built with Keil, or both are built with IAR. I'm using the 7.2.0 SDK, dual bank bootloader, and 7.1.0 S110 (2.0.1 S310).

Reply
  • Hi Amund, I'm not completely clear on which tool chain you've used to build which components, but DFU did not work for me when trying to use a bootloader built with the Keil tool chain and a DFU-capable application built with the IAR tool chain. DFU works for me when both are built with Keil, or both are built with IAR. I'm using the 7.2.0 SDK, dual bank bootloader, and 7.1.0 S110 (2.0.1 S310).

Children
No Data
Related