Content originally posted in LPCWare by zhiyong on Fri Sep 05 10:11:19 MST 2014
Thanks for your quick reply, but I don't think those links apply to my situation. I read the first link(debug design) many times before I developed the board and many times afterwards when I was unable debug the board with LCPXpresso.
Given that Keil uVision can program/debug the board with no problem, I don't think the reasons mentioned in the second and third link (Cable, debug circuit incorrectly designed, no power to the board, MCU in CRP mode, JTAG pins reconfigured by application, JTAG not accessible) are the cause of my problem. As a side note, I actually read those links many times before I decided to give Keil uVision a try.
When I switched to Keil uVision, the only thing that was changed was IDE, so the problem has to be somewhere within LCPXpresso. I changed Vector catch in launch setting to true, but that didn't help. Could it be anything else?