avr-gcc-list
[Top][All Lists]
Advanced

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

RE: [avr-gcc-list] agv-gcc with AVR Studio 4


From: Larry Barello
Subject: RE: [avr-gcc-list] agv-gcc with AVR Studio 4
Date: Thu, 9 Dec 2004 06:52:33 -0800

The latest Astudio 4.10 has an icon in the resource directory with "avr-gcc"
label.  They have a lot of other icons as well which are not displayed in
the current app.  So who knows what is cooking over there...

-----Original Message-----
From: address@hidden
[mailto:address@hidden Behalf Of E. Weddington
Sent: Wednesday, December 08, 2004 11:09 PM
To: AVR-GCC; David Kelly
Subject: Re: [avr-gcc-list] agv-gcc with AVR Studio 4


On 8 Dec 2004 at 21:24, David Kelly wrote:

> I've RTFM'ed the past week and if its documented then I haven't found
> TFM. Have the new USB AVRICE mkII which to the best of my knowledge is
> only supported (for now) by the latest AVR Studio, which apparently
> doesn't have the same hooks for avrgcc as the 3.x series did. Did find
> it interesting there is an avrgcc icon in AVR Studio. Haven't figured
> out how to use it. Only seem to be able to create an "assembler"
> project.
>

Interesting. Which version/build of AVR Studio are you using that has this
icon?

> No problem with Makefile from a command shell. Have no problems
> building with -gdwarf-2 ELF format. And almost no problems converting
> to COFF. But I can't figure out how to get AVR Studio to load *my*
> compiled code produced outside of AVR Studio.
>
> "Almost no problems converting to COFF." Using avr-objcopy in WinAVR
> says no debugging data found, but using the avr-gcc port on FreeBSD
> doesn't have the same problem.
>

It's unclear what you are doing here. Are you generating DWARF2 debugging
info, then
converting to COFF? If so, then you should know that both of these are
mutually exclusive.

You can do one of the following:
1. Build ELF file with stabs debugging info, convert to COFF/Extended COFF,
debug in AVR
Studio (or alternatively VMLab [payware]).
2. Build ELF file with DWARF2 debugging info, debug in AVR Studio 4.10
(which contains a
new parser for ELF/DWARF2 in beta). No converting necessary.

Method #2 above is now preferred over #1.


> Not that it really matters but avr-gcc hosted on FreeBSD 5.3 450 MHz
> PII is about 3 times faster than WinAVR on XP Pro 2 GHz P4 and 10 times
> faster than XP when the XP's working directory is on the company's
> stupid Windows fileserver.

I'm not totally surprised, given the that the working directory resides on a
server. However, how does it perform on a local directory? Compared to
FreeBSD?

> Have selected ATmega128, and before messing with real hardware am
> trying to use the simulator.
>
> So where did I make the wrong turn and fail to get there from here? Did
> I install AVR Studio incorrectly? Should WinAVR have been installed
> before or after?

AFAIK I don't know if there's any particular order required. Perhaps install
WinAVR first and
then AVR Studio 4.

_______________________________________________
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]