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

How to specify device type and revision for application.dat file?

I'm manually creating the .dat file for a DFU following the format specified in this document.

Where can I get the device type and revision values from to populate those first two words?

Does it make a difference whether I compress the folder containing application.dat and application.hex on a Mac vs Windows PC?

I've attached my application.dat and application.hex files for reference. The compiled hex is the example experimental_s110_with_dfu for the pca10028 dev board, but I still seem to be getting the error:

image description

application.hex

application.dat

application.zip

Parents
  • Yes. My zip file contains the attached application.hex and application.dat. I also just compressed it on a mac. Is my application.dat correct? I do NOT KNOW HOW to specify the first two words for my device (device type and revision). Will 0xffff and 0xffff fail? The contents of my .dat file are currently: ffff ffff ffff ffff 0100 feff 5a00 cf74

Reply
  • Yes. My zip file contains the attached application.hex and application.dat. I also just compressed it on a mac. Is my application.dat correct? I do NOT KNOW HOW to specify the first two words for my device (device type and revision). Will 0xffff and 0xffff fail? The contents of my .dat file are currently: ffff ffff ffff ffff 0100 feff 5a00 cf74

Children
No Data
Related