Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86697 - AVaRICE is a program which interfaces the GNU Debugger GDB with the AVR JTAG ICE available from Atmel.
Summary: AVaRICE is a program which interfaces the GNU Debugger GDB with the AVR JTAG ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Embedded Team (OBSOLETE)
URL: http://avarice.sourceforge.net/
Whiteboard:
Keywords:
Depends on: 98660
Blocks: 78908
  Show dependency tree
 
Reported: 2005-03-25 13:04 UTC by Sandro Bonazzola (RETIRED)
Modified: 2005-09-07 18:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed ebuild for avarice 2.3 (avarice-2.3.ebuild,868 bytes, text/plain)
2005-03-25 13:05 UTC, Sandro Bonazzola (RETIRED)
Details
Metadata for avarice (metadata.xml,352 bytes, text/plain)
2005-03-25 13:05 UTC, Sandro Bonazzola (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sandro Bonazzola (RETIRED) gentoo-dev 2005-03-25 13:04:31 UTC
New ebuild for dev-embedded.

In recent times, GCC added support for the AVR series of microcontrollers. This has been quite the boon for those of us who write embedded applications for processors with "leaner" architectures. Recently, Atmel announced the availability of a JTAG box for the AVR. Until now, there was no way to interface to this device with GDB.

AVaRICE runs on a POSIX machine and connects to gdb via a TCP socket and communicates via gdb's "serial debug protocol". This protocol allows gdb to send commands like "set/remove breakpoint" and "read/write memory".

AVaRICE translates these commands into the Atmel protocol used to control the AVR JTAG ICE. Connection to the AVR JTAG ICE is via a serial port on the POSIX machine.

Because the GDB <---> AVaRICE connection is via a TCP socket, the two programs do not need to run on the same machine. In an office environment, this allows a developer to debug a target in the lab from the comfort of their cube (or even better, their home!)
Comment 1 Sandro Bonazzola (RETIRED) gentoo-dev 2005-03-25 13:05:14 UTC
Created attachment 54470 [details]
Proposed ebuild for avarice 2.3
Comment 2 Sandro Bonazzola (RETIRED) gentoo-dev 2005-03-25 13:05:56 UTC
Created attachment 54471 [details]
Metadata for avarice
Comment 3 Scott Price 2005-04-06 08:21:37 UTC
I submitted an ebuild for gdb (Bug #88169) that would allow it to be built for different targets.  When that is put into portage I will submit a patch to crossdev so that gdb can also be built with the rest of the avr toolchain.
Comment 4 Sandro Bonazzola (RETIRED) gentoo-dev 2005-04-06 11:48:04 UTC
Well done.
Comment 5 Henrik Brix Andersen 2005-07-28 12:12:02 UTC
sys-devel/crossdev-0.9.8 supports building avr-gdb, as required by AVaRICE.
Comment 6 Sandro Bonazzola (RETIRED) gentoo-dev 2005-07-28 12:37:23 UTC
Well done.
Comment 7 SpanKY gentoo-dev 2005-07-28 13:24:06 UTC
Scott: can you review this ebuild ?
Comment 8 Sandro Bonazzola (RETIRED) gentoo-dev 2005-07-28 13:47:18 UTC
the ebuild should be modified to RDEPEND on the new cross-avr/gdb.
It seems that no special tool are required in DEPEND, standard system tools
should be enough. Maybe DEPEND can be set on sys-devel/gcc.
Comment 9 Scott Price 2005-07-28 14:37:53 UTC
I am out of town until Sunday.  I will check it when I get back.

Sorry for the delay.

Scott  =)
Comment 10 Scott Price 2005-09-05 18:57:17 UTC
Woops.  It seems I dropped the ball here.  I will look at this tomorrow.

Sorry.

Scott  =)
Comment 11 Scott Price 2005-09-07 09:02:47 UTC
The ebuild builds fine on my x86 and amd64 machines.  The only thing I had to
change was add ~amd64 to the keywords.  I don't have a good way to test whether
avarice itself works, but it does run.  It just complains that it can't find the
jtag emulator.

Scott  =)
Comment 12 SpanKY gentoo-dev 2005-09-07 18:56:41 UTC
thanks, now in portage