[Top][All Lists]

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

Re: [avr-gcc-list] AVaRICE and gdb windows port

From: David Gay
Subject: Re: [avr-gcc-list] AVaRICE and gdb windows port
Date: Mon, 24 Feb 2003 09:03:17 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

Marc Wetzel wrote:
A detailed description will follow...
(right now I'm writing this while I'm at work, so expect minor glitches

What you have to do:

Install cygwin latest (tcltk should be installed(i don't remember), and
perhaps the complete develop-tree)
Get insight+gdb out of cvs from redhat (no patches needed for the cvs
version from yesterday).
./configure --target=avr
make;make install -i
(I had to ignore some errors, if I remember right, in the documentation

Get nescc out of the sourceforge cvs
Follow the instructions. (first exec this kind little Bootstrap script)
./configure TINYOS=anypath_youneed_-_it_is_not_critical

cd to the gdb subdir
Copy avarice.exe to the directory /usr/bin or any place you like

Running the two together:

First start avarice with
$ avarice -j /dev/ttyS[your com port here eg. ttyS0] 4242
Startup insight (-> avr-insight normally in /usr/local/bin)
Setup insight to use the right IP and port and that it should upload
your binary first Connect to target and...

...have fun.

If you do a 'make install' in the gdb/avarice directory, you'll get ice-gdb and ice-insight scripts that startup both avarice and gdb/insight for you... (you typically need to set the AVARICE_ARGS environment variable to "-j /dev/ttyS<your favourite number>" before running ice-gdb/insight)

David Gay

reply via email to

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