![]() Same result would occur if I converted the ihex file to a binary and compare the two binaries.įlashing either the binary or the hex file to the device does not affect the expected behaviour/operation of the device. ![]() In this case, it differed by 4-bytes (hex file has 0xFFFF FFFF while binary has 0x0000 0000). I would cthen ompare the downloaded contents with the generated binary file and the two contents would differ. For example, I would flash the device with a JLink using the ihex file and then download back the contents by reading flash memory. I just noticed when comparing the two files in binary format, the contents would actually differ by 4-bytes. Ihex: arm-none-eabi-objcopy -S -O ihex file.elf file.hexīinary: arm-none-eabi-objcopy -S -O binary file.elf file.bin I have an elf file and from this file I created two separate output fomats: ihex and binary using objcopy: Sorry, I realize the title is somewhat confusing. General question: any question that is not technicalĪfter your question is answered, please change the flair to "Resolved".(*) At mods' discretion, certain self-promotion submissions from people who contribute to this sub in other ways may be allowed and tagged with the "Self-promo" flairĬomplete rules: /r/embedded/about/rules/ Link flairsĪfter posting a submission, please select a flair: No memes (pictures with superimposed text), shit posts.No spam no commercial posts, links to commercial pages (including crowd funding sites), no employment ads (job offers and requests go to the weekly thread), no self-promotion (*). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |