Debugger Selection in LPCXpresso

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

Debugger Selection in LPCXpresso

461 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by fordicus on Sun Mar 01 20:07:22 MST 2015
I have my own development-education board design, which is holding LPC1768.
And I have used ( RVDS + RVI ) or ( Keil MDK + ULINK ) for tests so far.

But I don't have the "LPC-Link" nor "Code Red" for this FreeRTOS project.
What I am holding inside the lab are,
Dstream
RVI
ULink
ADB
J-Link
assumed.

How can I apply a debugger from the list to LPCXpresso?

Or if it is really not possible to make use of them here, ( could I get a reason ),
could you give the recommendation for the purchase?
We have too many equipment, and wanted to reduce the cost.

Thank you for your attention!
0 Kudos
Reply
6 Replies

442 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Mar 03 01:50:00 MST 2015

Quote: fordicus
I see the connection is established with my J-Link to the target. Thank you for your kind advice.

But the flash programming is not working while the source level - step by step debugging looks working fine.
Either it is in the debugging session or it is a direct attempt, when I click the "program flash" from the quick icons,
I got an error as the below,

Connect to emulator:
  No compatible emulators available.
  They may be disconnected, not powered, already in use or not compatible with this target.




When you start a debug session, the program is automatically downloaded to Flash. You do not need to program to flash independently - the debugger does it for you.

However, the "Program Flash" button is not supported with J-Link. Segger provide their own Flash programmer called J-Flash.

The LPCXpresso "Program Flash" button supports the following debug probes:
- LPC-Link2
- LPC-Link1
- CMSIS-DAP (e.g. ULINK, mbed, LPC-Link2 with CMSIS-DAP firmware, etc)
- Red Probe
0 Kudos
Reply

442 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Mar 03 00:29:28 MST 2015

Quote: fordicus
ULink-ME is another candidate in future as I have one.
Could you offer any tutorial to establish the connection to the target?

Truly though the source level debugging is working at the moment,
but the flash programming is not working..

LPCXpresso, LPC1768 Board, Ulink-ME, FreeRTOS.



It's the same answer as earlier. Program the ULINK-ME with CMSIS-DAP. The LPCXpresso IDE will find the CMSIS-DAP connection for you.

Regards,
LPCXpresso Support
0 Kudos
Reply

442 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by fordicus on Mon Mar 02 21:42:12 MST 2015
ULink-ME is another candidate in future as I have one.
Could you offer any tutorial to establish the connection to the target?

Truly though the source level debugging is working at the moment,
but the flash programming is not working..

LPCXpresso, LPC1768 Board, Ulink-ME, FreeRTOS.
0 Kudos
Reply

442 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by fordicus on Mon Mar 02 21:12:50 MST 2015
I see the connection is established with my J-Link to the target. Thank you for your kind advice.

But the flash programming is not working while the source level - step by step debugging looks working fine.
Either it is in the debugging session or it is a direct attempt, when I click the "program flash" from the quick icons,
I got an error as the below,

Connect to emulator:
  No compatible emulators available.
  They may be disconnected, not powered, already in use or not compatible with this target.


The test environment is,

Win7 x64
LPCXpresso v7.6.2 [Build 326]
J-Link [Written Version on the box is 8.0, LOT year 2011, week 45th]
My own LPC1768 board design

I tried changing the physical usb ports, restarting windows,
but you know that it is useless as the debugging itself is already working fine.

Is there another step to be done before the flash program?
Thank you.
0 Kudos
Reply

442 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Mon Mar 02 00:05:25 MST 2015
You can also use CMSIS-DAP, which (should) run on your ULINK.
0 Kudos
Reply

442 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Sun Mar 01 20:22:09 MST 2015
See:

https://www.segger.com/nxp-lpcxpresso.html
0 Kudos
Reply