USART problem on m88

"georg chambert" <[email protected]> Mon, 16 Jan 2017 19:28:21 +0100
Newsgroups gmane.comp.hardware.avr.gcc
Message-ID <000001d27026$7d452f80$c7bee55a@a>
Hi, I have been struggling with a strange problem with uart; I  have  a small program that worked well (and derivates of)
on my atmega8, however, wanted to gear-up to a atmega88 (for sleep mode among other).

Now after having catered to some (unecessary incompatibility) issues, changing names,  i..e adding 0  to a number of symbols (like UDR0 instead of UDR)
the program runs on the 88.  (exactly the  same code running on both, except for the symbolic names changed)

However the data coming out on the UART is random characters, though with the same count (I  think) as the number of  characters sent. 

Any clues would be good.

georg

_______________________________________________
AVR-GCC-list mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list
blu88.lst (application/octet-stream, 14 KB) - not displayed