Also diese Routine funzt bei mir im Simulator ohne Probleme und schreibt den Wert 0x55 auf EEPROM Adresse 0x0020.
Hab Studio Version 4.12 Service Pack 4Code:EEPROM_write: sbic EECR,EEWE rjmp EEPROM_write ldi temp,0x00 out EEARH,temp ldi temp,0x20 out EEARL,temp ldi temp,0x55 out EEDR,temp sbi EECR,EEMWE sbi EECR,EEWE
Built 498
Lesezeichen