avr-chat
[Top][All Lists]
Advanced

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

Re: [avr-chat] Re: GUI wrapper for avrdude


From: David Brown
Subject: Re: [avr-chat] Re: GUI wrapper for avrdude
Date: Sun, 26 Aug 2007 11:03:50 +0200
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

Joerg Wunsch wrote:
"Daniel O'Connor" <address@hidden> wrote:

I added a 'flash' target to my makefile which depends on the
object file.

The standard Makefile template comes with a "program" target that does
the same.

Still, it leaves the thing about how to program the fuses.  Ah,
there's been that idea to support fuses throughout the entire
toolchain, so you could specify it in your C code...


On some microcontrollers I've used, the fuses are programmed as part of the memory. For example, on the COP8 devices, the code memory is from 0x0000 to 0x7fff, while the fuses are from 0x8000 to 0x8005 (IIRC). Perhaps it's possible to pick a similar "standard" for the AVRs, so that gcc support for fuses needs nothing more than a new placed section in the linker files, along with a few macros in a C header file to fill the section, and support from avrdude and other programmers. Obviously you'd also want to get Atmel's support in AVR Studio, but the benefits of having the fuse settings as part of the hex file would be large.

mvh.,

David




reply via email to

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