This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cortex M0+ access fault

I am working on a bootloader for a Freescale MKE06Z processor. My test code erased the interrupt vector table and other program data in the first 5 sectors to be replaced with new code, and then loaded new code.
The code appeared to work as expected, the new program was copied into the lowest sectors, but unfortunately after reset, the processor did not come back up in the new program.

There are apparently some code issues to work out, but the bigger problem is that Keil will no longer connect to the processor. Every time I try to erase or re-flash it, I get an Access Port Fault. I've tried switching it to preconnect with reset or connect under reset but to no avail (connecting under reset errors out with "Internal Command Error" instead of the access port fault.

The debugger options properly reads the processor in some states, but will not connect and allow erase/flash. Does anyone have a suggestion to try to unbrick this processor?

Thanks,
Brian

0