Re: ATSTK525 Starter Kit




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.


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.


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.

.



Relevant Pages

  • Re: ATSTK525 Starter Kit
    ... a USB boot loader would be ok. ... I believe that you have to debug over Jtag. ... Yes, except for the debugging. ... 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: 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)
  • [PATCH 09/12] i386/x86_64: EHCI usb debug port early printk support.
    ... With legacy free systems serial ports have stopped being an option ... to get early boot traces and other debug information out of a machine. ... EHCI USB controllers provide a relatively simple debug interface ... When the special feature of the EHCI is not enabled the port ...
    (Linux-Kernel)
  • Re: USB Client Driver loading in WCE 5.0
    ... I am also working on similar kind of USB to Ethernet adaptor. ... I am working on OMAP3530 platform with Windows CE 6.0 in debug version. ... Also show us debug messages, without it we can't say much. ... I am working on integrating a 3rd party USB Client driver integration ...
    (microsoft.public.windowsce.platbuilder)