Content originally posted in LPCWare by paul.rcom-software.com on Sun May 18 22:25:20 MST 2014
Hi Folks:
In order to get the Redlink Server and LPCXpresso to run correctly,
you need to do the following two things after plugging in the 4088 dev.
board and LPC-Link2 debugger into USB ports. After that you can start
LPCXpresso and run programs in the normal way. (i.e. Namely "FreeRtos Blinky.)
This seems to suggest something is configured wrong. Any ideas ?
Best Regards,
Paul R.
NOTE: Assume lsmod returns something like this to identify the LPC-Link2.
Bus 003 Device 005: ID 1fc9:000c NXP Semiconductors
1) As superuser you need to remove the following two modules
as follows:
rmmod ftdi_sio
rmmod usbserial
2) Next run dfu-util manually as superuser to initialize the LPC-Link2 debugger.
dfu-util -d 0x1fc9:0x000c -c 0 -t 2048 -R -D LPC432x_Redlink_V4_26.bin.hdr
The output should be as follows.
dfu-util - (C) 2007-2008 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY
Opening USB Device 0x1fc9:0x000c...
Claiming USB DFU Runtime Interface...
Determining device status: state = dfuIDLE, status = 0
WARNING: Runtime device already in DFU state ?!?
Found Runtime: [0x1fc9:0x000c] devnum=8, cfg=0, intf=0, alt=0, name="DFU"
Claiming USB DFU Interface...
Setting Alternate Setting ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Transfer Size = 0x0800
bytes_per_hash=471
Starting download: [##################################################] finished!
unable to read DFU status
(i.e. The last line is a mystery.)