Content originally posted in LPCWare by CodeRedSupport on Tue Feb 08 21:15:20 MST 2011
In the course of all this, do you (still) have a viable libusb.so installation? Disconnect, then reconnect the USB cable to power-cycle the device. When it powers up, it will enumerate as a DFU device. Navigate to your LPCXpresso installation bin directory (typically '/usr/local/LPCXpresso/bin'), and issue:
user@Ubuntu-laptop:/usr/local/LPCXpresso/bin$ sudo dfu-util -d 0x471:0xDF55 -c 0 -t 2048 -R 0D ./LPCXpressoWIN.enc
[FONT=Calibri][/FONT]
[I]dfu-util - (C) 2007-2008 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY
Opening USB Device 0x0471:0xdf55...
Claiming USB DFU Runtime Interface...
Determining device status: state = dfuIDLE, status = 0
WARNING: Runtime device already in DFU state ?!?
Found Runtime: [0x0471:0xdf55] devnum=4, cfg=0, intf=0, alt=0, name="UNDEFINED"
Claiming USB DFU Interface...
Setting Alternate Setting ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Transfer Size = 0x0800
bytes_per_hash=604
Starting download: [##################################################] finished!
state(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present
Done!
can't detach: error sending control message: Broken pipe
Resetting USB to switch back to runtime mode[/I]
Ignore the Broken pipe warning, this output is an example of a successful. download and boot of the software probe on the LPC-Link. If the probe is active, the debug utility should find it. Issue the following command-line:
user@Ubuntu-laptop:/usr/local/LPCXpresso/bin$ crt_emu_cm3_nxp -wire=winusb -info-emu
[I]Ni: LPCXpresso Debug Driver v2.0 (Jan 11 2011 16:09:27)
1 Emulators available:
0. LPCLINK_1_1 LPC-Link Driver LINUX32 v1.1 (Code Red - LPCXpresso)[/I]
This shows the LPC-Link in the device list. The software probe is active, and the LPCXpresso debug utilities can talk to it. It doesn't mean the probe can gain debug control over your processor, if there are other issues. The cause and effect of contributing issues is covered earlier in this thread.
Quote: wdawson61
Well... I installed latest ubuntu patches... 10.4 LTS Lucid Lynx and completely removed lpcexpresso... and reinstalled 3.8.2.129.
Drum roll....
Now I get a constant "No emulator or board available" dialog. Shorting jp2.10 no longer makes any difference. Just for fun, I reconnected the jumpers to the lpc134x on the LPClink. I get the sam "No Emulator connected." dialog.
Any pointers?