Reply by Joel Winarske December 12, 20052005-12-12
> > Hi
> > I am new to the Phillips Arm
> > I was gonna use the JLink from Keil for debug.
>
> J-Link is from Segger, ULINK is from Keil.
>
> > Will this work?
>
> Only the J-Link is supported on CrossWorks.

The J-Link is also compatible with any development environment that supports
RDI, two examples are IAR and Keil. IAR supports J-Link with or without an
RDI software license. Keil requires one. To use a J-Link with Keil you
will need a J-Link RDI license from Segger. They offer thirty day
evaluations at no cost.

Joel


An Engineer's Guide to the LPC2100 Series

Reply by Paul Curtis December 11, 20052005-12-11
Tong,

> Hi
> I am new to the Phillips Arm
> I was gonna use the JLink from Keil for debug.

J-Link is from Segger, ULINK is from Keil.

> Will this work?

Only the J-Link is supported on CrossWorks.

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for MSP430, ARM, AVR and now MAXQ processors



Reply by Tong Le December 10, 20052005-12-10
Hi
I am new to the Phillips Arm
I was gonna use the JLink from Keil for debug.
Will this work?
Please Advice Dominic Rath <Dominic.Rath@Domi...> wrote:
Hello,

On Saturday 10 December 2005 11:44, householder_lpc wrote:
> Thank you for a very clear and comprehensive answer.
>
> It it so that, if you use Crossworks, you don't use OCDRemote anymore,
> so Crossworks bitbangs jtag commands over LPT1 itself? Because
> OCDRemote doesn't support hardware breakpoints...
>

Yes, Crossworks bitbangs the parport itself, you don't need OCDRemote anymore.
But OCDRemote supports hardware breakpoints, just search recent posts to this
group on the topic.

> Can Crossworks set as many breakpoints in Flash as you want? Are these
> software breakpoints, or hardware breakpoints?
>

You can't have more than two hardware breakpoints on an ARM7. That's a limit
of the core, not the debugger. You can only set hardware breakpoints inside
the flash. If you want software breakpoints, too, there's only one hardware
breakpoint left, the other one is used to implement software breakpoints (I
don't know how this is supported by the various debuggers, but that's what
the ARM7 debug support is like).

> Thank you !!
>

Regards,

Dominic ---------------------------------
YAHOO! GROUPS LINKS ---------------------------------
---------------------------------
Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping



Reply by Michael Johnson December 10, 20052005-12-10
Hi,

>Thank you for a very clear and comprehensive answer.
>
>It it so that, if you use Crossworks, you don't use OCDRemote anymore,
>so Crossworks bitbangs jtag commands over LPT1 itself? Because
>OCDRemote doesn't support hardware breakpoints...
We've written our own parallel port device driver. Not because there's
anything wrong with the Magraigor stuff we just prefer to have our own code.

>Can Crossworks set as many breakpoints in Flash as you want? Are these
>software breakpoints, or hardware breakpoints?
Just two hardware breakpoints when debugging from flash, one of which is
used (but not reserved) for single stepping.

We are considering a permanent breakpoint feature i.e. flash breakpoint
instructions on download. This feature won't wear out the flash (this is
the main issue we see with reflashing pages to put in breakpoint
instructions) but unfortunately the ARM7TDMI-S doesn't have a breakpoint
instruction. Consequently one of the hardware breakpoints would have to
be used to implement the flash breakpoint.

Regards
Michael

>Thank you !! >--- In lpc2000@lpc2..., "Leon Heller" <leon.heller@b...> wrote: >>----- Original Message -----
>>From: "householder_lpc" <nieuw_bericht@h...>
>>To: <lpc2000@lpc2...>
>>Sent: Friday, December 09, 2005 2:00 PM
>>Subject: [lpc2000] JTAG debugging tools
>>
>>
>>
>>
>>>Hi all,
>>>
>>>I'm currently trying to find good and not too expensive tools for
>>>programming and debugging the LPC2148. I intend to use gcc as
>>>compiler. Can anyone describe what advantages Rowley Crossworks has
>>>over Eclipse+gcc+gdb?
>>>
>>>
>>Main advantage is that the debugger is much more comprehensive and
>>
>>
>easier to >>use. Rowley use the gcc tools with their own IDE and debugger.
>>
>>
>>
>>>In addition, what is the main difference between the different lowcost
>>>(sub-150$) JTAG adapters? I understand that, with a Wiggler compatible
>>>product, the program is ran and debugged from RAM. This limits code
>>>size by the amount of RAM available. Are there low cost JTAG adapters
>>>that allow code to be executed and debugged in Flash?
>>>
>>>
>>That is really a function of the debugger. The Rowley debugger works
>>
>>
>with >>programs in flash, even with a Wiggler or Wiggler clone.
>>
>>
>>
>>>What do I gain if I use a Rowley Crossconnect or an Amontec debugger
>>>in stead of a Wiggler clone (for example the Olimex tool)?
>>>
>>>
>>Speed! They are much faster than a Wiggler (if the Amontec unit is
>>
>>
>used in >>Raven mode).
>>
>>Leon
>>
>>---
>>[This E-mail has been scanned for viruses but it is your responsibility
>>to maintain up to date anti virus software on the device that you are
>>currently using to read this email. ]
>>
>>
> >Yahoo! Groups Links




Reply by Dominic Rath December 10, 20052005-12-10
Hello,

On Saturday 10 December 2005 11:44, householder_lpc wrote:
> Thank you for a very clear and comprehensive answer.
>
> It it so that, if you use Crossworks, you don't use OCDRemote anymore,
> so Crossworks bitbangs jtag commands over LPT1 itself? Because
> OCDRemote doesn't support hardware breakpoints...
>

Yes, Crossworks bitbangs the parport itself, you don't need OCDRemote anymore.
But OCDRemote supports hardware breakpoints, just search recent posts to this
group on the topic.

> Can Crossworks set as many breakpoints in Flash as you want? Are these
> software breakpoints, or hardware breakpoints?
>

You can't have more than two hardware breakpoints on an ARM7. That's a limit
of the core, not the debugger. You can only set hardware breakpoints inside
the flash. If you want software breakpoints, too, there's only one hardware
breakpoint left, the other one is used to implement software breakpoints (I
don't know how this is supported by the various debuggers, but that's what
the ARM7 debug support is like).

> Thank you !!
>

Regards,

Dominic



Reply by householder_lpc December 10, 20052005-12-10
Thank you for a very clear and comprehensive answer.

It it so that, if you use Crossworks, you don't use OCDRemote anymore,
so Crossworks bitbangs jtag commands over LPT1 itself? Because
OCDRemote doesn't support hardware breakpoints...

Can Crossworks set as many breakpoints in Flash as you want? Are these
software breakpoints, or hardware breakpoints?

Thank you !! --- In lpc2000@lpc2..., "Leon Heller" <leon.heller@b...> wrote:
>
> ----- Original Message -----
> From: "householder_lpc" <nieuw_bericht@h...>
> To: <lpc2000@lpc2...>
> Sent: Friday, December 09, 2005 2:00 PM
> Subject: [lpc2000] JTAG debugging tools > > Hi all,
> >
> > I'm currently trying to find good and not too expensive tools for
> > programming and debugging the LPC2148. I intend to use gcc as
> > compiler. Can anyone describe what advantages Rowley Crossworks has
> > over Eclipse+gcc+gdb?
>
> Main advantage is that the debugger is much more comprehensive and
easier to
> use. Rowley use the gcc tools with their own IDE and debugger.
>
> >
> > In addition, what is the main difference between the different lowcost
> > (sub-150$) JTAG adapters? I understand that, with a Wiggler compatible
> > product, the program is ran and debugged from RAM. This limits code
> > size by the amount of RAM available. Are there low cost JTAG adapters
> > that allow code to be executed and debugged in Flash?
>
> That is really a function of the debugger. The Rowley debugger works
with
> programs in flash, even with a Wiggler or Wiggler clone.
>
> >
> > What do I gain if I use a Rowley Crossconnect or an Amontec debugger
> > in stead of a Wiggler clone (for example the Olimex tool)?
>
> Speed! They are much faster than a Wiggler (if the Amontec unit is
used in
> Raven mode).
>
> Leon
>
> ---
> [This E-mail has been scanned for viruses but it is your responsibility
> to maintain up to date anti virus software on the device that you are
> currently using to read this email. ]
>




Reply by Leon Heller December 9, 20052005-12-09
----- Original Message -----
From: "householder_lpc" <nieuw_bericht@nieu...>
To: <lpc2000@lpc2...>
Sent: Friday, December 09, 2005 2:00 PM
Subject: [lpc2000] JTAG debugging tools > Hi all,
>
> I'm currently trying to find good and not too expensive tools for
> programming and debugging the LPC2148. I intend to use gcc as
> compiler. Can anyone describe what advantages Rowley Crossworks has
> over Eclipse+gcc+gdb?

Main advantage is that the debugger is much more comprehensive and easier to
use. Rowley use the gcc tools with their own IDE and debugger.

>
> In addition, what is the main difference between the different lowcost
> (sub-150$) JTAG adapters? I understand that, with a Wiggler compatible
> product, the program is ran and debugged from RAM. This limits code
> size by the amount of RAM available. Are there low cost JTAG adapters
> that allow code to be executed and debugged in Flash?

That is really a function of the debugger. The Rowley debugger works with
programs in flash, even with a Wiggler or Wiggler clone.

>
> What do I gain if I use a Rowley Crossconnect or an Amontec debugger
> in stead of a Wiggler clone (for example the Olimex tool)?

Speed! They are much faster than a Wiggler (if the Amontec unit is used in
Raven mode).

Leon

---
[This E-mail has been scanned for viruses but it is your responsibility
to maintain up to date anti virus software on the device that you are
currently using to read this email. ]


Reply by householder_lpc December 9, 20052005-12-09
Hi all,

I'm currently trying to find good and not too expensive tools for
programming and debugging the LPC2148. I intend to use gcc as
compiler. Can anyone describe what advantages Rowley Crossworks has
over Eclipse+gcc+gdb?

In addition, what is the main difference between the different lowcost
(sub-150$) JTAG adapters? I understand that, with a Wiggler compatible
product, the program is ran and debugged from RAM. This limits code
size by the amount of RAM available. Are there low cost JTAG adapters
that allow code to be executed and debugged in Flash?

What do I gain if I use a Rowley Crossconnect or an Amontec debugger
in stead of a Wiggler clone (for example the Olimex tool)?

Thank you for all tips !