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

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

[avr-gcc-list] Yet another Avr-gcc_Simulavr_Avr-Gdb_DDD-howto, Was: Re:


From: Terry Porter
Subject: [avr-gcc-list] Yet another Avr-gcc_Simulavr_Avr-Gdb_DDD-howto, Was: Re: avr-libc install problem
Date: Fri, 15 Aug 2003 18:32:59 +1000

On Wed, 13 Aug 2003 18:41:24 +1000
Erik Christiansen <address@hidden> wrote:

> On Wed, Aug 13, 2003 at 06:17:51PM +1000, Terry Porter wrote:
> > Excellent. I actually spent a fair bit of time trying to fix it, but in the 
> > end, this is the fastest way.
> 
>    I thought that maybe I'd forgotten the prefix, but scrolling back I
>    see:
>          ./configure --prefix=/usr/local/avr/

Looks like we both didnt get that one right.

> 
>    That makes the original outcome something of a surprise.

Something is broken (slightly) somewhere, I'm sure it will get fixed at some 
point.

> Oh well,
>    with your fix it works.
> 
> > I've almost finished a howto of installing the latest gcc-avr toolset
> > on Linux, including simulavr and gdb with ddd (which is *very* nice).
> > When its finished I'll put it on my webpage.
> 
>    Aaaah, gdb is on my list. Given that the simulavr documentation
>    makes clear its incompleteness,

I've been using it on my test code and it seems to be quite complete, I can 
single step/continue and read
variable values, dump the registers etc.

> I can see myself moving on to a JTAG
>    debugger fairly soon.

My projects have been handled by a PIC16F84 in the past, so even a atmega8l 
would increase the flash I'm used to having by eight times, yet Avr JTAG only 
starts with targets having >= 16K flash, I won't be going there for a while I 
think.

> (My first lines of avr code implement a
>    simulated multiplexed address/data bus, so I can talk to just one
>    such chip with an ATmega16. You can take that only so far on
>    simulavr.)

Yes, I see what you mean.

> 
>    Hopefully you'll announce on the list when your howto is completed.

I've finished it now that Ted Roth has advised me where I went wrong :)

Pictures and files :
http://milkstone.d2.net.au/embedded.html

My little howto:-
http://milkstone.d2.net.au/electronics/micro/avr-gcc-installing-2003.html

> 
> Thanks again,

Pleasure!

 


-- 
Kind Regards
Terry
* See my Gnu/Linux EDA webpage at : http://milkstone.d2.net.au/             
* Free Software provided by GNU; 
http://www.gnu.org/philosophy/free-software-for-freedom.html 


reply via email to

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