Target error from Commit Flash write in LPC1114/301

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Target error from Commit Flash write in LPC1114/301

213 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by eduhidalgo on Fri Mar 11 04:54:38 MST 2011
Hello,

I was working with my LPCXpresso. I did some changes in the code and when I tried debug this message appeared in screen. I think that the problem was this lines of code, but I´m not sure:
[I]
[SIZE=2]LPC_SYSCON->PDRUNCFG      = (1<<0)|(1<<1)|(1<<2);
LPC_SYSCON->SYSAHBCLKCTRL = (1<<2)|(1<<5)|(1<<0)|(1<<6)|(1<<3)|(1<<1)|(1<<16)|(1<<12);[/SIZE][/I]


Now I can´t debug anything. I can´t debug my code and I can´t debug the examples of LPCXpresso.

What could I do?

Thanks
Best regards
Eduardo
0 Kudos
1 Reply

193 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Fri Mar 11 05:19:23 MST 2011
You've successfully powered down something important. Congratulation :)

If you enter ISP mode, you can program your board again:

1. PIO0_1 PIN LOW

2. Cycle Power (you're in ISP mode now)

3. Debug / Program again

4. Don't forget to release PIO0_1 (otherwise you don't leave ISP mode after next reset)

Note: If you are not able to program your chip in ISP mode, you've destroyed it or successfully protected (CRP3). Otherwise switching to ISP mode should work.
0 Kudos