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
  • Changing the dat-file doesn’t help. Thanks Oceanide, this link would make it easier with later releases. The S110 release that I'm using is 7.0.0, and I get IC revision 2 of 51822 The DFU bootloader is built from nRF51_SDK_7.1.0_372d17a with dfu_single_bank I tested the bootloader with the ble_app_hrs_dfu_s110_v7_1_0 who comes default with nRF Master Control Panel, and this is downloaded, and I can inspect it in flash on my unit. But when I try my own built app, the flash is empty. And I get Remote DFU error: REMOTE DFU NOT SUPPORTED. I have added the hex, dat and the Master Control Panel log. The hex file is Intel extended, IAR. I hope this is not an IAR problem. Any suggestion?

    LinkLoad.hex application.dat log.pdf

    Solved this with what I get from colton and Matt Barr,Thanks.

Reply
  • Changing the dat-file doesn’t help. Thanks Oceanide, this link would make it easier with later releases. The S110 release that I'm using is 7.0.0, and I get IC revision 2 of 51822 The DFU bootloader is built from nRF51_SDK_7.1.0_372d17a with dfu_single_bank I tested the bootloader with the ble_app_hrs_dfu_s110_v7_1_0 who comes default with nRF Master Control Panel, and this is downloaded, and I can inspect it in flash on my unit. But when I try my own built app, the flash is empty. And I get Remote DFU error: REMOTE DFU NOT SUPPORTED. I have added the hex, dat and the Master Control Panel log. The hex file is Intel extended, IAR. I hope this is not an IAR problem. Any suggestion?

    LinkLoad.hex application.dat log.pdf

    Solved this with what I get from colton and Matt Barr,Thanks.

Children
Related