I am using an LPC11U68 on our own PCB. The IDE is MCUXpresso.
The program runs correctly from the debug *.axf file via a Link2 interface with SWD.
I want to generate a HEX or binary file to use Flash Magic via the Link2 / SWD
I have tried to modify the make file but because it is auto generated, nothing happens.
Where in the project settings do I have the project generate a Hex or binary output?
jDrum
Solved! Go to Solution.
Hello,
i hope i can help:
in the Project properties you nee to add a line. See my screenshot-
i think you need only a Hexfile in the "Release" Version
The first line generates a assembler listing
the second line generates the Hexfile
arm-none-eabi-objdump -S ${BuildArtifactFileName} >${BuildArtifactFileBaseName}.lss
arm-none-eabi-objcopy -O ihex ${BuildArtifactFileName} ${BuildArtifactFileBaseName}.hex
you will found the generated Hexfile in the the second Screenshot
Bernd
In addition. a easy way is to right click on the afx file, "Binary Utilities", "create Hex".
Hello,
i hope i can help:
in the Project properties you nee to add a line. See my screenshot-
i think you need only a Hexfile in the "Release" Version
The first line generates a assembler listing
the second line generates the Hexfile
arm-none-eabi-objdump -S ${BuildArtifactFileName} >${BuildArtifactFileBaseName}.lss
arm-none-eabi-objcopy -O ihex ${BuildArtifactFileName} ${BuildArtifactFileBaseName}.hex
you will found the generated Hexfile in the the second Screenshot
Bernd
Thank you! @berndsirozynsk