Content originally posted in LPCWare by vibe37 on Fri Apr 05 06:44:08 MST 2013 Hello,
I cannot download my example binaries compiled with LPCXpresso to my LPC1769 device. I'm using Debian 6.0.4. I think that the problem is related to dfu-util. When I do the download manually like this:
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 = dfuDNLOAD-IDLE, status = 0
WARNING: Runtime device already in DFU state ?!?
Found Runtime: [0x0471:0xdf55] devnum=6, cfg=0, intf=0, alt=0, name="UNDEFINED"
Claiming USB DFU Interface...
Setting Alternate Setting ...
Determining device status: state = dfuDNLOAD-IDLE, status = 0
aborting previous incomplete transfer
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Error obtaining DFU functional descriptor: error sending control message: Broken pipe
Transfer Size = 0x1000
bytes_per_hash=4049
Starting download: [dfu_download error -32
Error during download
Content originally posted in LPCWare by vibe37 on Sat Apr 06 04:03:17 MST 2013 I tried it from inside a VM running Ubuntu 12, and it works "out of the box" :) The problem seems to be specific to my Debian version.
Ni: LPCXpresso Debug Driver v5.0 (Feb 14 2013 02:07:29 build 1131)
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
I'm not sure which file cannot be found: libLPC_Link.so or libusb-1.0.so.0? Both files are present in the lpcxpresso/bin directory from where I ran the flash programming utility. Any ideas?
Content originally posted in LPCWare by CodeRedSupport on Fri Apr 05 07:12:12 MST 2013 It does not work because you are trying to download your image to the LPC3154 on LPC-Link.
If you want to download your image the the LPC1769 *via* the LPC-Link, you need to use the command line flash programming tool: