Problem with basic lpcxpresso 1769 and IDE

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

Problem with basic lpcxpresso 1769 and IDE

1,907件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bortolomaeus on Thu Aug 04 04:24:17 MST 2011
Hi,

I bought the lpcxpresso board with a lpc1769. I am having some problems working with the hardwareprogramming and debugging. I tried two
configurations:

1) ubuntu linux 10.04, recent IDE (LPCXpresso v4.0.5 [Build 113]
[27/06/2011] ). Every fifth or so time I tried to run one of the
examples delivered with the freertos ebook on the target, it is working fine.
But, the other four times it is stopping somewhere during programming,
most of the times at "57%" (JTAG-Discovery). The IDE stalls completely
for several minutes, until a timeout occurs or I disconnect the hardware.

2) Windows 7, also recent LPCXpresso. Under windows it is also working
sometimes, but most of the times it fails saying the flash controller is
not ready.

I paid for a well tested hardware since I want to get some experience
with this controller without having to cope with this kind of problems.
Like it is now it is not possible work with this hardware.

I am not sure if it is a problem with the IDE, since I use a "out of     the box version" with delivered examples and it is not working with     two different operating systems. So that is the easiest test I can     do. Also the hardware is not modified whatsoever.
    Best Regards

Have you any suggestions were the problem is?

Thank you!

Best Regards
[COLOR=#888888]
nicolas
[/COLOR]
0 件の賞賛
返信
11 返答(返信)

1,894件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bortolomaeus on Sat Aug 06 07:00:36 MST 2011
Hi,

using a shorter cable, it is working much better. Sometimes it still fails, but I can always recover using ISP mode.

Thanks for the supply!

best regards

Nicolas
0 件の賞賛
返信

1,894件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by shaileshbc on Fri Aug 05 21:39:53 MST 2011
you can download lpcxpresso ide version 3.6, and try with that version.
regards
shailesh
0 件の賞賛
返信

1,894件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Thu Aug 04 11:46:33 MST 2011

Quote: bortolomaeus

What about a external power supply? Or does maybe a USB hub with a external power supply/plug help?



You can supply your LPCXpresso via VIN pin with 5V and also try a self-powered hub :)
0 件の賞賛
返信

1,894件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bortolomaeus on Thu Aug 04 11:37:00 MST 2011
Hi,

@acno: Thanks for pointing me at this link, sounds familiar.

@CodeRedSupport:  I only use the lpcxpresso board as delivered, nothing attached to it. I  tried several different cable, but all of them are 1m in length. Is it  worth trying a shorter cable - would need to buy one tomorrow. I also  tried my to computer, one desktop computer with usb 3.0 as well as usb  2.0 plug, always the same result. My notebook (lenovo thinkpad): same  "result". I could try more computer, of course. I could also monitor the  power supply.

What about a external power supply? Or does maybe a USB hub with a external power supply/plug help?

@  Zero: The ISP-Mode help enabling the chip again, thanks! So now at  least I can again programm it from time to time, as described earlier in  this thread. But still it is working only for a few times before it  crashes again. Annoying.

Ok, I guess I am coming closer to a solution.

Thanks for your help for now.-


regards

Nicolas
0 件の賞賛
返信

1,894件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Aug 04 09:53:57 MST 2011

Quote: bortolomaeus
Ok, now I tried several USB cables (and ports on a desktop machine) - it does not work, still, but the error messages are different, as it seems. If I plug the board in afte some waiting time and try the programming, I get the error:

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

If I try it once more, the error changes to:

16: Target error from status-poll
Not connected to emulator.

Any suggestions?

Thank a lot!

nicolas


This sounds like power issues or (as thefallguy says) a problem with the USB cable. Are you just using the single LPCXpresso board, or do you have anything else plugged into it?
0 件の賞賛
返信

1,894件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Thu Aug 04 09:30:11 MST 2011
Enable Vector Catch and switch to ISP mode:

http://support.code-red-tech.com/CodeRedWiki/DebugAccessChip
0 件の賞賛
返信

1,894件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by acno on Thu Aug 04 09:22:53 MST 2011

Quote: bortolomaeus
Thanks for the replies. I will check a shorter (at the moment it is 1 meter) USB cable and another computer/USB hub.

"Windows 7, also recent LPCXpresso. Under windows it is also working
sometimes, but most of the times it fails saying the flash controller is
not ready.                      "

Well, it IS this general. Sometimes it is working, sometimes not, that is how it is. I use the most recent IDE (V 4.0) and out of the box examples. In my opinion I can expect this to work. Otherwise I would take the fun and use a GNU ARM chain.

With windows 7 I used a notebook, linux was running on a desktop computer.

Thanks and regards

nicolas



Well, it sounds similar to my problem, read my posts on this thread: http://knowledgebase.nxp.com/showthread.php?t=1981
0 件の賞賛
返信

1,894件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bortolomaeus on Thu Aug 04 09:18:15 MST 2011
Ok, now I tried several USB cables (and ports on a desktop machine) - it does not work, still, but the error messages are different, as it seems. If I plug the board in afte some waiting time and try the programming, I get the error:

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

If I try it once more, the error changes to:

16: Target error from status-poll
Not connected to emulator.

Any suggestions?

Thank a lot!

nicolas
0 件の賞賛
返信

1,894件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bortolomaeus on Thu Aug 04 05:56:30 MST 2011
Thanks for the replies. I will check a shorter (at the moment it is 1 meter) USB cable and another computer/USB hub.

"Windows 7, also recent LPCXpresso. Under windows it is also working
sometimes, but most of the times it fails saying the flash controller is
not ready.  "

Well, it IS this general. Sometimes it is working, sometimes not, that is how it is. I use the most recent IDE (V 4.0) and out of the box examples. In my opinion I can expect this to work. Otherwise I would take the fun and use a GNU ARM chain.

With windows 7 I used a notebook, linux was running on a desktop computer.

Thanks and regards

nicolas
0 件の賞賛
返信

1,894件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Thu Aug 04 05:21:02 MST 2011
There have been reports of failures like this being caused by USB cables. Make sure you are using shielded USB 2.0 compliant cables.

Are you using laptop or desktop? I know that many laptops don't supply enough USB power, so it might be worth trying other USB ports on you computer.
0 件の賞賛
返信

1,894件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Thu Aug 04 05:03:40 MST 2011

Quote:
Windows 7, also recent LPCXpresso. Under windows it is also working
sometimes, but most of the times it fails saying the flash controller is
not ready.



That'a a little bit general :confused:

Post your debug log: http://support.code-red-tech.com/CodeRedWiki/DebugLog

See also: http://support.code-red-tech.com/CodeRedWiki/DebugErrors
0 件の賞賛
返信