Cannot program flash on LPCXpresso 1769

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

Cannot program flash on LPCXpresso 1769

779件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rattus on Wed May 18 16:43:43 MST 2011
Once the VM problems were cleared, I've been playing with various coding experiments. Maybe a dozen. At one point, the LED on the LPC1769 side seemed to stick on half intensity (as if it's toggling at a high rate), and from that point on, I get errors like the following when I debug:

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

Weird. So I reset the USB (dfu, reset the port in the VM) and try the command line:

highline-linux:/usr/local/LPCXpresso/bin> crt_emu_cm3_nxp -flash-erase -pLPC1769
Ni: LPCXpresso Debug Driver v2.0 (Apr  1 2011 10:54:24)
GetModuleFileName path == /usr/local/LPCXpresso/bin/crt_emu_cm3_nxp
Nc: Looked for chip XML file in /usr/local/LPCXpresso/bin/LPC1769.xml

Nc: Looked for vendor directory XML file in /usr/local/LPCXpresso/bin/nxp_directory.xml

Nc: Found generic directory XML file in /usr/local/LPCXpresso/bin/crt_directory.xml

Ed:02: Failed on connect: Ee(05). No matching emulator found - make sure power is on and not in use already.
Et:31: No connection to emulator device

Nothing. It seems to be in a programmed state from which I can't flash my way out.

I have tried other USB ports, etc.

Ideas?

Thanks,

Mike
0 件の賞賛
返信
2 返答(返信)

737件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rattus on Wed May 18 18:28:45 MST 2011

Quote: Zero
Yes, switch to ISP and try it again.

See: http://knowledgebase.nxp.com/showthread.php?t=1909



Thanks Zero; I followed your link to the Code Red page that also suggested the vector catch method, and after spending a few minutes trying to find the Debug Configurations button in the IDE (hint: it's the squashed bug just to the left of the hammer - that sure was intuitive!), set the vector catch value to true, reinitialized the USB, went into debug mode, disabled the vector catch and voila - it came back.

Now to figure out how I locked the flash in the first place ;-)

Mike
0 件の賞賛
返信

737件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed May 18 16:50:21 MST 2011
Yes, switch to ISP and try it again.

See: http://knowledgebase.nxp.com/showthread.php?t=1909
0 件の賞賛
返信