[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: Geir Tore Olsen
Subject: RE: [avr-gcc-list] AVaRICE and gdb windows port
Date: Mon, 17 Mar 2003 22:12:35 +0100

Hi There, David

I've just checked ot the sources for the nesC compiler and I'm a bit
confused here. Acording to the instructions one should run the ./confgure
TINYOS script in the nesc directory. I can't find it in any of the
directories that where created during transfer from cvs at sourceforge.

What do I do??

Best Regards
Geir Tore Olsen

-----Original Message-----
From: address@hidden
[mailto:address@hidden Behalf Of David Gay
Sent: Monday, February 24, 2003 6:03 PM
To: address@hidden
Subject: Re: [avr-gcc-list] AVaRICE and gdb windows port

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
> tree)
> Get nescc out of the sourceforge cvs
> (http://sourceforge.net/projects/nescc/)
> Follow the instructions. (first exec this kind little Bootstrap script)
> ./configure TINYOS=anypath_youneed_-_it_is_not_critical
> cd to the gdb subdir
> make
> 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

avr-gcc-list mailing list

reply via email to

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