EmbeddedRelated.com
Forums

ARM CortexM0 Debug Tool

Started by jonatan23_01 February 8, 2011
Hi everyone,

Currently I am working in my project with the LPC2378, with the Olimex "ARM-USB-TINY", with OpenOCD and Eclipse. But I need a cheap processor for a simple application that requires the use of the CAN network.

The selected processor is an ARM CortexM0 of philips (LPC11C14). Checking the processor documentation I realized that it does not have JTAG, but an SWD (Serial Wire Debug).

My questions are:

What tool can I use to debug?
Can I use the same I use now (ARM-USB-TINY) that will work?
The Olimex has any to provide?
Will I need to make any changes to software / driver to work with the new processor?

Thanks.

An Engineer's Guide to the LPC2100 Series

On 08/02/2011 14:08, jonatan23_01 wrote:
> Hi everyone,
>
> Currently I am working in my project with the LPC2378, with the Olimex "ARM-USB-TINY", with OpenOCD and Eclipse. But I need a cheap processor for a simple application that requires the use of the CAN network.
>
> The selected processor is an ARM CortexM0 of philips (LPC11C14). Checking the processor documentation I realized that it does not have JTAG, but an SWD (Serial Wire Debug).
>
> My questions are:
>
> What tool can I use to debug?
> Can I use the same I use now (ARM-USB-TINY) that will work?
> The Olimex has any to provide?
> Will I need to make any changes to software / driver to work with the new processor?

In theory, that could be used, but I think that it will need some new
software.

You could just buy an LPCXpresso ($30) and use the debug section of the
board, it has an SWD connector. You'd have to use the CodeRed tools with
it. I'm not sure if they support the LPC11C14, though.

Leon
--
Leon Heller
G1HSM
*There's also the CooCox, they provide a lpcxpresso like board, plus
opensource software and RTOS, fully ported to their products.*
*
*
*http://www.micro4you.com/store/LPC1114-CoLinkEx-Board/prod_128.html*
*http://www.coocox.org/*
*
*
*I haven't tryed yet, I am still waiting for my board to arrive.
*
2011/2/8 Leon Heller

> On 08/02/2011 14:08, jonatan23_01 wrote:
> > Hi everyone,
> >
> > Currently I am working in my project with the LPC2378, with the Olimex
> "ARM-USB-TINY", with OpenOCD and Eclipse. But I need a cheap processor for a
> simple application that requires the use of the CAN network.
> >
> > The selected processor is an ARM CortexM0 of philips (LPC11C14). Checking
> the processor documentation I realized that it does not have JTAG, but an
> SWD (Serial Wire Debug).
> >
> > My questions are:
> >
> > What tool can I use to debug?
> > Can I use the same I use now (ARM-USB-TINY) that will work?
> > The Olimex has any to provide?
> > Will I need to make any changes to software / driver to work with the new
> processor?
>
> In theory, that could be used, but I think that it will need some new
> software.
>
> You could just buy an LPCXpresso ($30) and use the debug section of the
> board, it has an SWD connector. You'd have to use the CodeRed tools with
> it. I'm not sure if they support the LPC11C14, though.
>
> Leon
> --
> Leon Heller
> G1HSM
>
>
>
--- In l..., Leon Heller wrote:
>>I'm not sure if they support the LPC11C14, though.
>
> Leon

They do. I'm working with LPCXpresso & LPC11C14...

--- In l..., "gsntone" wrote:
>
> --- In l..., Leon Heller wrote:
> >>I'm not sure if they support the LPC11C14, though.
> >
> > Leon
>
> They do. I'm working with LPCXpresso & LPC11C14...
>

You are correct, of course. I'd forgotten that I actually had an LPC2114 LPCXpresso! 8-)

Leon

--- In l..., "Leon" wrote:
>... I actually had an LPC2114 LPCXpresso! 8-)
>
> Leon

You're confusing me, AFAIR LPC2114 is ARM7 and not supported by LPCXpresso 3.6.2. So what's that 'LPC2114 LPCXpresso'?

--- In l..., "gsntone" wrote:
>
> --- In l..., "Leon" wrote:
> >... I actually had an LPC2114 LPCXpresso! 8-)
> >
> > Leon
>
> You're confusing me, AFAIR LPC2114 is ARM7 and not supported by LPCXpresso 3.6.2. So what's that 'LPC2114 LPCXpresso'?
>

It appears there are a number of devices:
http://ics.nxp.com/support/documents/microcontrollers/pdf/lpcxpresso.getting.started.pdf

Whether a particular variant is in production might be a different matter. It seems the LPC1768 is the most popular, or perhaps only, current offering.

But the LPC-Link supports a wide range of boards.

Richard

On 08/02/2011 18:03, gsntone wrote:
> --- In l..., "Leon" wrote:
>> ... I actually had an LPC2114 LPCXpresso! 8-)
>>
>> Leon
>
> You're confusing me, AFAIR LPC2114 is ARM7 and not supported by LPCXpresso 3.6.2. So what's that 'LPC2114 LPCXpresso'?

I meant LPC1114

Leon
--
Leon Heller
G1HSM
OK,

As a tool for debugging, I can use the development board from NXP LPC-Link,
and as alternative software, I can use the IDE LPCXpresso.

My question:

Is there any possibility to compile and debug using the LPC-Link with the
eclipse?

Jonatan
2011/2/8 Leon Heller

> On 08/02/2011 18:03, gsntone wrote:
> >
> >
> > --- In l..., "Leon" wrote:
> >> ... I actually had an LPC2114 LPCXpresso! 8-)
> >>
> >> Leon
> >
> > You're confusing me, AFAIR LPC2114 is ARM7 and not supported by
> LPCXpresso 3.6.2. So what's that 'LPC2114 LPCXpresso'?
>
> I meant LPC1114
>
> Leon
> --
> Leon Heller
> G1HSM
>
>
On 10/02/2011 18:03, Jonatan Vieira wrote:
> OK,
>
> As a tool for debugging, I can use the development board from NXP
> LPC-Link, and as alternative software, I can use the IDE LPCXpresso.
>
> My question:
>
> Is there any possibility to compile and debug using the LPC-Link with
> the eclipse?
Yes, you could use the link part of the LPCXpresso with your own target
hardware. You will have to use the CodeRed tools which are supplied for
use with the LPCXpresso, they are based on Eclipse and gcc.

Leon
--
Leon Heller
G1HSM