Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Re: A day in the life

2004-01-29 by Dave VanHorn

>
>Come on over to the dark side, Dave - FreeBSD.
>
>Find a spare system and load up the latest FreeBSD 4.9-RELEASE
>Download that from here:
>
>         http://www.freebsd.org/
>
>To install avr-gcc:
>         cd /usr/ports/devel/avr-gcc && make install
>
>To install avrdude:
>         cd /usr/ports/devel/avrdude && make install
>
>To install avarice:
>         cd /usr/ports/devel/avarice && make install
>
>To install avr-gdb;
>         cd /usr/ports/devel/avr-gdb && make install
>
>To install a pretty good simulator:
>         cd /usr/ports/devel/simulavr && make install
>
>No fuss.
>Grab a JTAGICE and a manual on the GNU Debugger (assuming you are new at 
>that) and you're good to go.
>
>Also, I get the feeling you're an assembler person

Bingo. I feel the need, the need for SPEED! :)


>Unfortunately, since the Atmel ICE products like the ICE-200 are
>closed spec, there are no open source tools that can use them, to the
>best of my knowledge.  That may be a show stopper for you.  But the
>JTAGICE works well in combination with avarice and gdb, at least I
>haven't had any problems with it at all.  I just used it the other day
>to track down a particularly elusive memory overwrite bug.

Speaking of that, I do wish that atmel hadn't decided to make the registers 
available as ram.
I'm on the trail now, of what may be a bad ST Z,temp into register space.
Does that platform allow breaking on write to ram or register?
IMHO, this is a MAJOR failing of all the existing AVR tools.

>  I usually
>only pull out the JTAGICE when debugging with printf() or tracking
>program progress and state via carefully placed port pin changes and
>monitoring with a scope fails to produce the desired results.  And
>everytime I use the JTAGICE, I ask myself, "why don't I use this more
>- it works great?".


That doesn't even resemble the question I ask myself every time the #@!$ 
thing crashes, tosses my breakpoints, etc,etc,etc,etc,etc...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.