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;
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?