lpcxpresso ide: Target error from Commit Flash write

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

lpcxpresso ide: Target error from Commit Flash write

764 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by hellospencer on Fri Mar 01 16:01:27 MST 2013
Hello everybody,

I get following error when I try to download my (small) freertos project from the lpcxpresso ide (v5.012) to my custom made lpc1768 board (power supply 78ua33 with 2x 100nF cap, 12V input).


Quote:
15: Target error from Commit Flash write: Et: Flash driver not ready.



The error appears from time to time, for instance, after the debugger entered a hard fault routine , or if I try to start a new debug session while another one is still running. Once manifest, the error does not disappear. I try to unplug the LPC-Link and other things and eventually it will work again.

Most interestingly, if I use the older lpcxpresso ide v4.22 it works without a flaw. Therefore, I don't think that there are power problems as indicated by the codered faq.

My current workaround is that I use flash with the older v4 in case and afterwards I can return to the newer v5. However this is cumbersome. Does someone have an idea what I can do?

Thanks!
0 Kudos
Reply
3 Replies

743 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Mar 04 12:36:59 MST 2013

Quote: hellospencer
The pull-up on the Reset is okay. On the ISP (I suppose you mean TDO, TDS, etc)...



No, ISP pin (2.10) ;)
0 Kudos
Reply

743 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by hellospencer on Mon Mar 04 12:31:57 MST 2013
Thanks, the 'Vector Catch=True' seems to do the trick.

The pull-up on the Reset is okay. On the ISP (I suppose you mean TDO, TDS, etc) I've connected the LPCxpresso programmer.

However, it takes quite some time for the Debugger to recover the target.
0 Kudos
Reply

743 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Fri Mar 01 16:47:11 MST 2013

Quote: hellospencer
Does someone have an idea what I can do?


Try Vector catch and check your hardware (especially Reset and ISP pullups) ;)
0 Kudos
Reply