Hi.
I am looking for help to be able to flash and debug firmware directly from the MCUXpressoIDE.
I am trying to flash and debug the led_blink example from the SDK. Previously on this board, I flashed a firmware with secure boot keys and that process works, I can flash the led_blink example firmware using the manufacturing_package.zip:
To be able to flash and debug using the MCUXpressoIDE, I disabled the secureboot on CMPA as also I keep the swd debug enable:
However, on MCUXpressoIDE, when I try to debug, seems that the firmware is flashed but the process fails right after - here the output:
I also verified I can debug if I select the "attach to a running target", but this way I am forced to build and flash a manufacturing_package.zip each time I change the firmware...
Solved! Go to Solution.
Hello @evgreen
"I disabled the secureboot on CMPA as also I keep the swd debug enable:"
->> Please read back the CMPA value, compare it with default CMPA.
BR
Alice
Hello @evgreen
"I disabled the secureboot on CMPA as also I keep the swd debug enable:"
->> Please read back the CMPA value, compare it with default CMPA.
BR
Alice
Hi Alice.
After writing, when I click on the Read button, it always shows as disabled as expected (as seen on the image). But then I tested to restart again this process and verified that in fact it is locked again....
Anyway, the debug now works!! I did a few power resets and the debug always work