We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have an application that, when loaded on to the device (via ULink or JLink) as a .axf file, works as expected. When the .hex output is used instead, the application fails to function.
Has anyone seen this before? Is there anything in the project setup that I'm missing?
Usually, when code stops working at higher optimisation levels, that indicates a flaw in the source code - relying upon something that should not be relied upon.
But it doesn't explain why Hex & AXF should differ!
Does it make any difference if you do a full chip erase before programming?
You could try programming your chip using the AXF, then verifying against the Hex - and see if that shows up anything interesting ...
Or, maybe, program from AXF and read-back; then program from HEX and read-back - and compare the two read-backs ...