[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] [ANN] WinAVR 20030312 Released

From: David Brown
Subject: Re: [avr-gcc-list] [ANN] WinAVR 20030312 Released
Date: Wed, 12 Mar 2003 23:49:09 +0100

This is great!  I'm now using avarice and avr-gdb instead of AVR Studio -
finally I can inspect structures, arrays, pointers, bitfields, enums, etc.
I have a couple of questions/comments:

I don't think it is a good idea for the installer to add winavr bin
directories to the path in this way.  It is a pain if you already have
similar unix-type utilities on your path - suddenly the winavr versions are
first in line.  To avoid conflicts with existing paths, I would prefer the
path modifications to be optional, and to be added to the end of the path
rather than the beginning.  Of course, the changes are of a help to many
people, and users like me who like to have complicated systems can modify
our paths manually afterwards.

The gdb build is command-line only.  Did you try to build insight?  As an
alternative, I like gvd ( http://libre.act-europe.fr/gvd/ ) as front-end for
gdb.  It is very easy to get it running (use
"c:\gvd-1.2.5\bin\gvd --debugger c:\winavr\bin\avr-gdb program.elf" ).

Am I right in thinking that I need to use avarice to burn a new program into
the flash before debugging, or is it possible to do it via gdb?

For those that are confused by the unix-style information in the
documentation for avarice, the command I use to program via jtag is:
    avarice -p -f program.bin -j /dev/ttyS3 localhost 4242
(/dev/ttyS3 is comms port 4 - /dev/ttyS0 is comms port 1).

For debugging, I use
    avarice -j /dev/ttyS3 localhost 4242

Then I start gdb (with or without gvd), and enter the commands
    set remoteaddresssize 32
    target remote localhost:4242

Remember to use "continue" to run the program, not "run".


David Brown

> Announcing WinAVR 20030312
> WinAVR (pronounced "whenever") is a suite of executable, open source
> software development tools for the Atmel AVR series of RISC
> microprocessors hosted on the Windows platform. It includes the
> GNU GCC compiler for C and C++.
> WinAVR can be found at http://sourceforge.net/projects/winavr/
> Below is just a sample of what's new.
> - The installer now automatically writes the WinAVR directories to
> your PATH environment variable and checks to see if they already
> exist.
> - avrdude 4.0.0 is now included. avrdude is an open source programmer
> software that is user extensible. It is the former avrprog by Brian
> Dean now renamed and cross-platform.
> - GNU Debugger (GDB) 5.3 for the AVR target (avr-gdb) is now
> included.
> - AVaRICE 2.0 is now included. AVaRICE is a program for interfacing
> the Atmel JTAG ICE to GDB so users can debug their AVR.
> - SRecord 1.14 is now included. SRecord is a collection of utilities
> to manipulate load files in different formats and various ways.
> - New version of Programmers Notepad 2. You can now call command-line
> tools. (And without any batch files to do it!)
> - avr-libc supports new devices: AT76C711, AT86RF401, AT43USB35x, and
> AT43USB32x.
> - Added a small package, tofrodos, to the utilities to convert Unix /
> DOS line endings.
> - More changes and corrections to the sample makefile.
> For more information see the README.txt file that comes in the binary
> installation.
> Eric Weddington
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://www.avr1.org/mailman/listinfo/avr-gcc-list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]