avr-gcc-list
[Top][All Lists]
Advanced

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

[avr-gcc-list] ATMega128 RAMPZ behaviour changed ?


From: Simon Eatough
Subject: [avr-gcc-list] ATMega128 RAMPZ behaviour changed ?
Date: Tue, 16 Dec 2003 13:06:30 +0000
User-agent: KMail/1.5

Hi
According to the ATMega128 documentation, bit 0 of RAMPZ selects the high or 
low page  access of Z pointer, with the other bits of RAMPZ unused. However 
it appears that setting RAMPZ to 3 causes elpm return garbage. This behaviour 
seems to break  pgm_read_byte_far(). Anybody else noticed this ?. 
Cheers
Simon Eatough



reply via email to

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