On 8/26/07, David Brown <[EMAIL PROTECTED]> wrote: > 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. >
Microchip use similar things for PICs. For PIC16s, 0x2000 and above are for special user IDs, config words and some other things. And they arbitrarily choose 0x4000 as the starting address of EEprom. Xiaofan _______________________________________________ AVR-chat mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-chat
