Re: ATSTK525 Starter Kit



On 11 Dec 2006 12:16:01 -0800, "linnix" <me@xxxxxxxxxxxxxxxxxx> wrote:


David Kelly wrote:
linnix wrote:
Steve Calfee wrote:

Well, a USB boot loader would be ok. How do you debug?

I believe that you have to debug over Jtag.

Is there a GDB stub that works over this USB interface?

No, you can't debug with the boot loader.

But you can gdb over the JTAGICE interface. I have been exceptionally
pleased with this $40 JTAGICE tool. A touch slower over serial interface
than the genuine Atmel JTAGICE-mkII which I also had, but the ICE-Cube
drew far less power from my circuit. My target and the ICE-Cube ran off
a 3.3v 50mA supply where the mkII would not:
http://www.ecrostech.com/AtmelAvr/AvrIceCube/index.htm

If this is a clone of the original JTAGICE (like many others), it will
only work with a few AVRs. AT90USB* are not supported.

OK, great, contraditory info. I thought if it was on the internet it
had to be true. :)

You earlier said there were two choices, a $200 choice and a $50 but
said the $50 choice was not the one for debugging. Is it just slow or
can it not be used.



Is there a GNU tool chain?

Yes, except for the debugging. AVR debugging info is not available to
the general public, except with an NDA.

Gdb works with the AVR JTAGICE. See:
http://winavr.sourceforge.net/helpme.html

As for NDAs, the primary WinAVR developer was hired by Atmel. Can't say
I know how much he's permitted to work on WinAVR during the day but AVR
Studio has gone from almost no avr-gcc support/integration to
acceptable. I'm old school and prefer to define my project in a Makefile
than in an IDE so I edited and compiled outside of AVR Studio, but
preferred to load code and debug using AVR Studio.

WinAVR only deals with compiling, not with debugging. AVRstudio is
handling the debugging and ICE.


If it is only compiling and I can do it from a dos window, what do I
need? Is this AVR studio expensive? I need a debugger, it doesn't have
to be fast but it should work.

What I was thinking about is starting an open source project doing a
cross platform usb host and device stack for embedded systems. So if
other people wanted to help, it would be very nice to have a cheap
development board with portable tools etc. I have another platform
that is not open source for the OS, so not so good for open
development.

I haven't looked in the last year or so but back then USB was fairly new
to AVR and getting one's hands on their USB stack/library was more than
a casual hobbyist commitment.

Getting the Jtag private commands info (necessary for
steps/breakpoints) would be more difficult.


Yes, companies are afraid of theft of their valuable IP. I wonder who
steals this and why it is a problem? I think they still control their
product (which is chips). Would it be so horrible if someone used
them?

I suspect the problem is the support costs if they published the
private info. If they don't they only have to support a couple of
external guys.

Thanks for the valuable information.

Regards, Steve
.



Relevant Pages

  • Re: ATSTK525 Starter Kit
    ... a USB boot loader would be ok. ... I believe that you have to debug over Jtag. ... But you can gdb over the JTAGICE interface. ... Gdb works with the AVR JTAGICE. ...
    (comp.arch.embedded)
  • Re: ATSTK525 Starter Kit
    ... a USB boot loader would be ok. ... I believe that you have to debug over Jtag. ... Gdb works with the AVR JTAGICE. ... cross platform usb host and device stack for embedded systems. ...
    (comp.arch.embedded)
  • Re: Exception Catch but dont throw - Solved
    ... I was under the impression that Catch ex As Exception catches everything, ... i unplug the usb connection. ... no debuggers are registered that can debug this exception. ... Jit Debugging Failed with teh following error: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: A hobbyists viewpoint, was: Re: Who is working with the SAM9263?
    ... US$500 for the first development board, but after that if they made ... baseboard to take out the rest of the signals from the module. ... which has the Ethernet and USB connectors. ... Ulf may like to know that the _only_ reason that I don't use AVR ...
    (comp.arch.embedded)
  • Re: Microcontrollers, USB and Linux
    ... Ok, you want AVR. ... Just the option of using a USB hub?). ... I don't believe it's possible to develop under Linux, ... brain-dead architecture with limited capabilities (RAM bankswitching, ...
    (comp.arch.embedded)