I was unable to get a project of mine to debug on an MKL02Z32CAF4 via a J-link Ultra+ debug adapter using MCUXpresso 11.7.0 b9198. It was throwing errors I didn't understand so I tried to push the code to another board I have that uses the same processor, and that was known to work (but was developed back in the Kinetis Studio days). I got the same errors so that leads me to believe that the problem I am having is a toolchain issue and not one with the chip or the board.
So, I reinstalled MCUXpresso and made a blank project targeting the same MCU and tried to upload it ang all I get is:
Error in final launch sequence:
Failed to execute MI command:
-file-exec-file "D:\\Windows Libraries\\Documents\\Projects\\DIN\\DIN_MCU2_2\\DIN_MCU2_2\\Debug\\libDIN_MCU2_2.a"
Error message from debugger back end:
"016ff8c4s": not in executable format: file format not recognized
Failed to execute MI command:
-file-exec-file "D:\\Windows Libraries\\Documents\\Projects\\DIN\\DIN_MCU2_2\\DIN_MCU2_2\\Debug\\libDIN_MCU2_2.a"
Error message from debugger back end:
"016ff8c4s": not in executable format: file format not recognized
"016ff8c4s": not in executable format: file format not recognized
This is the same error I was getting when I tried to debug my actual project with real code in it, so now I think I've ruled out a hardware issue or a code problem... it's just the toolchain's configuration. I'm not sure how to proceed at this point. This is an empty default-configuration project created within MCUXpresso.
Anyone have a hint as to where I should start looking?
