Experiencing troubles with flashing LPCXpresso

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Experiencing troubles with flashing LPCXpresso

2,029件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CatMurr on Thu Dec 15 22:51:11 MST 2011
I have LPCXpresso board with LPC11U14.
I accidentally executed
"LPC_SYSCON->SYSAHBCLKCTRL = (1<<13);" code instead of
"LPC_SYSCON->SYSAHBCLKCTRL |= (1<<13);" this.
After that all my attempts to erase or rewrite flash end with
"Failed to erase flash" (see attached images).

How can I solve this problem?
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,951件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CatMurr on Fri Dec 16 03:49:21 MST 2011
Thanks a lot, it helped!
0 件の賞賛
返信

1,951件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ktownsend on Fri Dec 16 01:26:34 MST 2011
You can use a UART to USB adapter (FTDI Cables, or many sites like Adafruit and Sparkfun have FT232 adapters for this), put the devices into ISP mode and then use the free tool FlashMagic to recover the device since enabling ISP mode will cause it to enter a special mode that will not execute the code on the flash.

You may even be able to connect with the debugger while in ISP mode and reprogram your flash, but I haven't tried this in LPCXpresso.

Just search for ISP in the UM and datasheet and you should find a description of how to enable it.
0 件の賞賛
返信