Hi,
I am working on a new Microchip Studio project for ARM AtmelSAML22 device. We use srec_cat to fill (patch any holes in) the intel hex image and append information (mainly a couple of CRC values but also project info) to the end of the image. This process works OK in that I can do all this and generate an output hex file using a post build batch file in windows.
I want to make sure that the IDE still works (programming and debugging) with this modified image and it appears that I need to update the ELF output with this modified intel hex file (as Atmel Studio appears to use the ELF for this).
I am not sure how to do this.
From reading some other posts it seems that it should be achievable with the arm-none-eabi-objcopy.exe (objcopy) tool but I'm just not sure how. I assume I should use the --update-section with the hex file but I assume that the hex file includes .text and .data sections?
Any help would be most appreciated.