Check out this thread in the AVR-GCC list. -----Urspr=FCngliche Nachricht----- Von: avr-gcc-list-bounces+bjoern.haase=3Dde.bosch.com@nongnu.org=20 [mailto:avr-gcc-list-bounces+bjoern.haase=3Dde.bosch.com@nongnu.org]=20 Im Auftrag von stevech Gesendet: Sonntag, 22. Mai 2005 23:21 An: 'Daniel O'Connor'; avr-gcc-list@nongnu.org Cc: joerg_wunsch@uriah.heep.sax.de Betreff: RE: [avr-gcc-list] AVR-GCC question (Harvard Arch and C) Split aka Harvard architectures are common in embedded. Although GCC/Winavr is contorted into supporting this via piles of macros= , some C compilers are arranged to intrinsically support the architecture, i.e., having two kinds of pointers (RAM and FLASH), and same for constant= s and so on. Examples include CodeVision AVR (excellent/low cost), IAR and the rest. Really simplifies working with AVRs. Steve -----Original Message----- From: Michael Rigby-Jones [mailto:Michael.Rigby-Jones@bookham.com] Sent: Monday, May 23, 2005 3:54 PM To: Microcontroller discussion list - Public. Subject: RE: [AVR:] AVR Butterfly programmer The price is right, and it appears to be relatively bug free and has a pretty good library. Just one thing that is driving me nuts, the poor support for reading constant data from program memory. Stuff that was a snap using the HiTech PICC compiler is now a real PITA, having to use a load of extra code that makes the source difficult to read and debug. Are there any commercial compilers that properly support pointers to flash memory? Regards Mike --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist