Hi,
So I recently programmed an LPC1549 and somewhere along the way it's causing hangups to I can't write over it.
I'm fairly certain this line of code is what caused the issue:
LPC_SWM->PINASSIGN9 &= 0x1301FF00;
Specifically "0x13." I've tried changing it back to anything else, but I get the following error message:
So I'm resorting to erase the flash memory on the 1549, but there's no clear instructions that I've found so far.
Can someone help me to simply erase the memory so I can just start with a blank slate again and reprogram the device?
Hi,
Could you please try the following steps?
Please let me know if this helps!
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks for replying, Con Verse.
I've read that, as well as ISP Reset over debug. According to that page:
The LPC-Link2 ISP Reset functionality does not work with LPCXpresso1549 Rev. B boards. It does work with Rev. C boards.
A debug ISP Reset will not be able to recover a system in Deep power down mode.
I just happen to be using the 1549 rev B board. There's 3 boards with me that have all been locked because of this.
Is there an alternative to recover from here? I've also tried vector catch but that didn't do it.
Use reset and isp buttons, if present. If not, you will need to get access to the pins on the chip...
Could you please elaborate? I understand pressing and releasing reset while ISP0 and 1 are held down, but then what? I've attempted using flashmagic and lpcxpresso to erase but neither responded. I got the same error. "ee(36)Could not connect to core."