CMSIS-DAP Support in LPCXpresso

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CMSIS-DAP Support in LPCXpresso

883 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kamat on Sun Oct 06 06:11:52 MST 2013
We trying to program and debug a simple blinky program on the LPC800-MAX board using the CMSIS-DAP, but the LPCXpresso is unable to detect the presence of the board.

From the link http://www.lpcware.com/content/faq/lpcxpresso/cmsis-dap-support, we understand that the LPCXpresso version 6 supports CMSIS-DAP. Moreover that the LPC800-MAX board is enabled for CMSIS-DAP (Probably the debug probe is built into the LPC800-MAX board using an additional Redlink protocol layer).

Meanwhile, we are able to load all programs compiled at mbed.org, and the LPC800-MAX runs the programs satisfactorily.  

Earlier we loaded the latest firmware version for the LPC800-MAX from the link https://mbed.org/handbook/Firmware-LPC800-MAX with the version: 0200. We are wondering if the update of the firmware version from the mbed site would have been responsible for the LPCXpresso 's inability to detect/program/debug the LPC800-MAX.


Labels (1)
0 Kudos
4 Replies

608 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ramiropareja on Tue Oct 08 12:26:54 MST 2013
I found the problem.

Redlink server was not running because it couldn't find a shared library. Running the redlink server from the terminal prints a  "Cant load shared resources for redlinkserv" error. Knowing that the problem is a shared lib, it should be easy to fix.

The solution is already posted in the LPC-Xpresso FAQ (sorry! I checked it before asking in the forum, but I didnt realize that the answer was there because I didnt know the real reason of my problem):

http://www.lpcware.com/content/faq/lpcxpresso/connection-refused-linux

0 Kudos

608 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ramiropareja on Mon Oct 07 16:31:58 MST 2013
Hi,

I am having problems using the CMSIS-DAP support of the LPC800-max board under Linux (Ubuntu).
The kernel recognize the CMSIS-DAP HID, the Mass-Storage Drive and the Virtual Com. Unfortunately,  when I am trying to debug a simple program from the LPCXpresso 6, the IDE can't find any CMSIS-DAP/LPC800-MAX. However, my LPC-link is working correctly!

Any suggestion?



0 Kudos

608 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kamat on Mon Oct 07 07:08:48 MST 2013
Thanks LPCXpresso Support.
You were right. Without an appropriate serial port driver installed, Windows was unable to find the debug channel earlier.
After installing the mbed serial port driver from
http://mbed.org/handbook/Windows-serial-configuration#1-download-the-mbed-windows-serial-port
the following entries were observed in the Device Manager (Windows 7)
            Disk drives                       : MBED microcontrolleur USB Device
            Human Interface Devices : HID-compliant device and USB Input Device
            Portable Devices              : MBED
            Ports (COM & LPT)          : mbed Serial Port (COM5)
Thereafter, when we entered Debug mode in LPCXpresso v 6.0.2, the CMSIS-DAP debug connection was detected, and we could debug the target chip LPC812 on the LPC800-MAX board!!!

0 Kudos

608 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Sun Oct 06 08:39:42 MST 2013
I suspect the issue here is that the CMSIS-DAP USB connection on this board is actual a composite one (one for the CMSIS-DAP debug channel, one for a mbed virtual serial port).

If you are running LPCXpresso on Windows, then if you don't have an appropriate serial port driver installed, then this may prevent Windows finding the debug channel too. Please try installing the mbed serial port driver...

http://mbed.org/handbook/Windows-serial-configuration#1-download-the-mbed-windows-serial-port

and then attempt to debug again. Does LPCXpresso then identify the CMSIS-DAP debug connection?

Regards,
LPCXpresso Support
0 Kudos