AnsweredAssumed Answered

How to erase flash on LPC1549?

Question asked by agonzalez on Jan 5, 2017
Latest reply on Jan 10, 2017 by soledad

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? 

Outcomes