Re: [avr-gcc-list] ATMega32 fuse bit problem

2007-08-30 Thread James Pascoe
Cool ... thanks that worked great. Thanks guys, James Jkx wrote: On Thu, 23 Aug 2007 07:22:22 -0400 Graham Davies [EMAIL PROTECTED] wrote: James Pascoe I am using an ATMega32 and inadvertantly programmed the fuse bits wrong ... Does anybody know if there is any way (other than

[avr-gcc-list] ATMega32 fuse bit problem

2007-08-16 Thread James Pascoe
Hi All, Apologies for the following question which is very OT, but there is a good chance you guys can help. I am using an ATMega32 and inadvertantly programmed the fuse bits wrong :-( ... instead of setting the fuse bits to use a 16 Mhz external crystal as the clock source, I programmed the

[avr-gcc-list] FDEV_SETUP_STREAM problem on an ATMega8

2007-06-26 Thread James Pascoe
Dear All, I am new to this list, so I am sorry if this post is OT. I am trying to run the following program on my ATMega8: #include stdio.h #include avr/io.h #define FOSC 1600 #define BAUD 9600 #define MYUBRR FOSC/16/BAUD-1 static int uart_putchar(char c, FILE *stream); int

Re: [avr-gcc-list] FDEV_SETUP_STREAM problem on an ATMega8

2007-06-26 Thread James Pascoe
Hi All, Fixed it, thanks. I was doing something really dumb, and not converting my Elf file into a .hex file. Thanks very much, James James Pascoe wrote: Dear All, I am new to this list, so I am sorry if this post is OT. I am trying to run the following program on my ATMega8: #include