Content originally posted in LPCWare by arataj on Thu May 08 12:17:35 MST 2014
Of course, the state of the diode might be irrelevant. I just report, what I saw. The red diode switching off in the meantime, and switching on again after re-plugging might be just a coincidence. The Link2 board is connected via JTAG to LPC11U35 board, by the way. I attach the project debugged.
The debug session, if starts at all, works correctly. Then I terminate it, and start a new session. It either works again, or shows "connection refused". If the latter happens, no more sessions start, even if the IDE is restarted, unless LPCLink 2 is replugged.
The tries so far were on a desktop machine. But, to exclude hardware problems, I have also tried to debug on a laptop as well, especially that the laptop has Windows 7 installed. Firstly, I installed the IDE on Mint 16, and the problems were the same as on the desktop. Then, I installed the IDE on Windows 7. This time, the debugging worked perfectly - I rebuilt the project, ran debugging a number of times, rebuilt again, debugged etc., all without problems.
So, on the two machines, problems are on all Linux distros I tested, either 64bit or 32bit. But on Windows 7 on the same hardware, no problems happen.
Perhaps it will be some hint: dfu-util -l initially lists the board:
Found Runtime: [1fc9:000c] devnum=0, cfg=1, intf=0, alt=0, name="DFU"
After a failed debugging session (I am not sure what happens after a successfull session now), dfu-util does not list the board any more. Re-plugging makes the utility list the board again.