[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Debugging on Windows; coff problems
From: |
Wallace White |
Subject: |
[avr-gcc-list] Debugging on Windows; coff problems |
Date: |
Thu, 24 Apr 2003 10:46:39 -0700 (PDT) |
The short question:
I'm having trouble getting usable coff files for the ATmega chips, so
it looks like I need to drop AVR Studio and use gdb + AVaRICE.
Any recommendations for a GUI front-end for gdb + avarice that I can
run on Windows 2000? I looked into Insight and DDD; they both sound
good but aren't available for Windows from what I can tell. I have
little UNIX experience... is it as simple as installing cygwin first?
The long story:
I have been doing my first AVR project with the following environment:
Processor: AT90S8535
Compiler: AVR-GCC 3.2 20020616 (the current avrfreaks release)
Emulator: ICE200
Debugger: AVR Studio (both 3.56 and 4.07), using elfcoff
This has been working well enough (thanks to all who contribute to
avr-gcc). Now I'm moving the project to the ATmega32, though. This also
forces a change in emulator, so here's the new environment:
Processor: ATmega32
Emulator: AVR JTAG ICE
Now I'm trying to find a workable combination of avr-gcc and AVR
Studio. But it seems to be tricky. Here's what I've tried:
(1) avr-gcc 3.2 20020616 (from avrfreaks) (my previous setup)
- The included version of avr-libc doesn't have support for the
ATmega32.
(2) avr-gcc 3.2 20020616 (from avrfreaks), but with #includes pointing
to avr-libc 20030303cvs (from WinAVR)
- I get the following error from avr-gcc:
../../../libc/gcrt1.S:95: undefined reference to `__stack'
(3) WinAVR 20030312
- I haven't gotten a usable coff file out of objtool or elfcoff. Both
tools report errors and AVR Studio can't make sense of the files.
I guess the thing to do is to use gdb + avarice instead of AVR Studio,
so that I won't need that elusive coff file...
Thanks,
Wallace
__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
- [avr-gcc-list] Debugging on Windows; coff problems,
Wallace White <=