LPC-LINK Timeout errors (again!)

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

LPC-LINK Timeout errors (again!)

1,974 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by motley on Wed Aug 22 08:35:20 MST 2012
Apologies for the long post but I get the log file below when the upload to the board (LPC-LINK to LPC1769) gives up with a timeout error:

I have tried a few times and it always fails at the same block (15), if I say no to continue waiting then I get a message
"No emulator or board available This could be because it is unpowered, unconnected or already in use"

The board is powered up and running the last downloaded program (demo).

I have read the other posts on this subject and I'm still stuck...

Thanks,

Chris


---------------- start --------------

*****************************************************
*** DFU LOG FILE ***
Creation Time : C:\Users\Motley\AppData\Local\Temp\dfuApp5546466290748156379.log
*****************************************************


Open Device
Get Device Descriptor successful
Get Configuration Descriptor successful
DFU Get Status successful
---> DFUStatus: No error condition present.
---> DFUState: Device is operating in the DFU mode and is waiting for requests.

Device Descriptor
bLength: 0x12
bDescriptorType: 0x01
bcdUSB: 0x0200
bDeviceClass: 0x00
bDeviceSubClass: 0x00
bDeviceProtocol: 0x00
bMaxPacketSize0: 0x40
idVendor: 0x0471
idProduct: 0xdf55
bcdDevice: 0x0001
iManufacturer: 0x00
iProduct: 0x00
iSerialNumber: 0x00
bNumConfigurations: 0x01



DFU Get State successful
---> DFUState: Device is operating in the DFU mode and is waiting for requests.
Download Block Nb 0 (2048 Bytes)
DFU Get State successful
---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.
DFU Get Status successful
---> DFUStatus: No error condition present.
---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.
Download Block Nb 1 (2048 Bytes)
DFU Get State successful
---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.
DFU Get Status successful
---> DFUStatus: No error condition present.
---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.
Download Block Nb 2 (2048 Bytes)
DFU Get State successful
---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.
DFU Get Status successful
---> DFUStatus: No error condition present.
---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.
Download Block Nb 3 (2048 Bytes)
DFU Get State successful
---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.
DFU Get Status successful
---> DFUStatus: No error condition present.
---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.
Download Block Nb 4 (2048 Bytes)
DFU Get State successful
---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.
DFU Get Status successful
---> DFUStatus: No error condition present.
---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.
Download Block Nb 5 (2048 Bytes)
DFU Get State successful
---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.
DFU Get Status successful
---> DFUStatus: No error condition present.
---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.
Download Block Nb 6 (2048 Bytes)
DFU Get State successful
---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.
DFU Get Status successful
---> DFUStatus: No error condition present.
---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.
Download Block Nb 7 (2048 Bytes)
DFU Get State successful
---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.
DFU Get Status successful
---> DFUStatus: No error condition present.
---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.
Download Block Nb 8 (2048 Bytes)
DFU Get State successful
---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.
DFU Get Status successful
---> DFUStatus: No error condition present.
---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.
Download Block Nb 9 (2048 Bytes)
DFU Get State successful
---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.
DFU Get Status successful
---> DFUStatus: No error condition present.
---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.
Download Block Nb 10 (2048 Bytes)
DFU Get State successful
---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.
DFU Get Status successful
---> DFUStatus: No error condition present.
---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.
Download Block Nb 11 (2048 Bytes)
DFU Get State successful
---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.
DFU Get Status successful
---> DFUStatus: No error condition present.
---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.
Download Block Nb 12 (2048 Bytes)
DFU Get State successful
---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.
DFU Get Status successful
---> DFUStatus: No error condition present.
---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.
Download Block Nb 13 (2048 Bytes)
DFU Get State successful
---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.
DFU Get Status successful
---> DFUStatus: No error condition present.
---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.
Download Block Nb 14 (1544 Bytes)
DFU Get State successful
---> DFUState: Device has received a block and is waiting for the host to solicit the status via DFU_GETSTATUS.
DFU Get Status successful
---> DFUStatus: No error condition present.
---> DFUState: Device is processing a download operation. Expecting DFU_DNLOAD requests.
Download Block Nb 15 (0 Bytes)
DFU Get State successful
---> DFUState: An error has occurred. Awaiting the DFU_CLRSTATUS request.
DFU Get Status successful
---> DFUStatus: Received DFU_DNLOAD with wLength = 0, but device does not think it has all of the data yet.
---> DFUState: An error has occurred. Awaiting the DFU_CLRSTATUS request.
DFU Clear Status successful

------------------ end ----------------------------------------------------
0 Kudos
Reply
10 Replies

1,940 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by motley on Thu Aug 30 02:49:03 MST 2012
Problems fixed :-)

The LPC-Link problem:
I have two good quality (apparently identical) mini-USB cables, only one will work to connect the LPC-Link to my laptop so by swapping things around I now have it working. For again unexplained reasons only one (of 3) of the USB ports on the pc will work with LPC-Link.

Program too big for licence:
Thanks to the reply from whitecoe I checked the help to do with cscript.exe, I have to admit to doing a quick and dirty fix by putting a copy of cscript.exe in the Xpresso/bin directory and we are off !

Thanks to all...

Chris
0 Kudos
Reply

1,940 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by whitecoe on Fri Aug 24 01:20:40 MST 2012

Quote: motley


Now I get the warning that the program is too big for the licence, I am compling the 'demo' program here are the figures:



So have you checked the FAQs? This one in particular for this issue...

http://support.code-red-tech.com/CodeRedWiki/LPCXLicenseDiag

There are several others that you might want to read under the "Debug target connections" section given your general connection issues too..

support.code-red-tech.com/CodeRedWiki/CodeRedFAQ

HTH!
0 Kudos
Reply

1,940 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dadalolo on Fri Aug 24 01:13:05 MST 2012
I experience this problem every 5-10 days and when it happens then the particular USB port on which it happens is no good for XRESSO development any more (gets kiond of locked out on timeout for good). Pitty that there is no way to fully UNINSTALL USB drivers from XPRESSO LINK.

I have 2 more ports on my PC that never saw XPRESSO on them but after that I guess there is no other way but to run System Restore from the Win Restoration Point going back "few USB port failures". I haven't tried this yet but seeing how USB ports get locked out by XPRESSO it would not be that far into the future.

The continuous problems with connecting XPRESSO platform properly with  LPC-LINK board is an unbeliavable nuisance in this system. YEar 2012 and comms problems like in early 80-ies.
0 Kudos
Reply

1,940 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by motley on Thu Aug 23 04:38:38 MST 2012
I get the same result as the last post with the LPC1769 board on it's own or attached to the baseboard

Chris

p.s. when on it's own attaching the usb cable (already attached to pc) brings on LED2 (red) this doesn't happen attached to the baseboard.
0 Kudos
Reply

1,940 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by motley on Thu Aug 23 04:25:25 MST 2012
Some progress...

After much unplugging, repowering and swapping usb ports (on laptop) when the 'Initialising LPC-Link' window opens I now get the sound that Windows gives when a usb device is plugged in and the LPC-Link window closes.

Now I get the warning that the program is too big for the licence, I am compling the 'demo' program here are the figures:

Demo
-------
text         data     bss     dec        hex     filename
19916     148      844    20908   51ac   demo.axf

I realise what the error message means - I just don't think the demo program is that large.

Thanks,

Chris
0 Kudos
Reply

1,940 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by motley on Thu Aug 23 03:36:10 MST 2012
Zero, I haven't tried that option yet - but I will give it a go...

TheFallGuy, I am powering the baseboard using a powered usb hub into the usb socket next to the green connection block J15, the usb connector on the LPC-Link goes to my laptop ...

Chris
0 Kudos
Reply

1,940 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Thu Aug 23 02:17:37 MST 2012
How are you powering the Baseboard? You are *powering* the baseboard aren't you? If not, please read the docs...
0 Kudos
Reply

1,940 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Thu Aug 23 01:27:23 MST 2012
Did you already try to use an easy system = LPCXpresso (without Baseboard) and direct USB connection to your Laptop ?
0 Kudos
Reply

1,940 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by motley on Thu Aug 23 01:12:24 MST 2012
Thanks for the reply, I am using a standard Xpresso baseboard from Embedded Artists, with LPC-Link and LPC Xpresso LPC1769 RevB.

I have changed the poer supply to a powered hub with 2.5amp supply and switched USB cables around.

The laptop (Lenovo T510 Win 7 Ult) reports as a device 'USB Device with DFU capabilities' but I get the same error.

As background, I bought the boards last year and eventually uploaded the demo program (which the board is currently running) so Ifeel happy that the board functions correctly. Other stuff  forced me to drop the project until now...

I would be grateful (as ever) for any help, I really need to get this working  :-)

Cheers,

Chris
0 Kudos
Reply

1,940 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Wed Aug 22 10:56:32 MST 2012
You don't say whether this is a standard LPC1769 LPCXpresso board, or if it is a custom board.

But, it sounds like either a power problem, or a problem with you USB cable. Try a different USB2 certified cable and also try other USB ports on your PC.
0 Kudos
Reply