Content originally posted in LPCWare by soh on Tue Sep 17 03:18:27 MST 2013
Hello
Trying to Debug through command line but getting some problem:
Target board :LPC1769
System : Ubuntu 10.04 64bit
Debug through LPC-link
IDE installed lpcxpresso_5.2.6
LPC-link booting :
[u]# dfu-util -d 0x471:0xdf55 -c 0 -t 2048 -R -D LPCXpressoWIN.enc [/u]
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=20, 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=583
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
[u]# ./crt_emu_cm3_nxp -wire=winusb -vendor=NXP -pLPC1769 -flash-load-exec=appl.axf [/u]
Ni: LPCXpresso Debug Driver v5.2 (Jul 5 2013 11:36:15 - crt_emu_cm3_nxp build 15)
Ee(36). libLPC_Link.so file load error.
Et: Failed emulator initialization: E(xx). WinUSB driver load/install error: libLPC_Link.so. libusb-1.0.so.0: cannot open shared object file: No such file or directory
What is the problem ?
Is there any compatibility issue ?
Build and Debug through IDE is working without ant problem .