AI Interactive Datasheet ATmega8A
AVR · megaAVR

ATmega8A memory map

Where everything sits, at its exact address. The ATmega8A keeps program and data apart (Harvard): flash is read in words by the CPU, while registers, I/O and SRAM share one data address space.

Program memory

Flash, with the boot section at its top. Addresses in bytes.

Boot section0x1800 – 0x1FFF2 KB
Flash0x0000 – 0x1FFF8 KB

Data memory

Working registers, I/O registers and SRAM in one space.

SRAM0x0060 – 0x045F1 KB
I/O registers0x0020 – 0x005F64 B
Working registers R0–R310x0000 – 0x001F32 B

EEPROM

Non-volatile data, kept without power.

EEPROM0x0000 – 0x01FF512 B

Every segment

SegmentSpaceStartEndSizePage
Working registers R0–R31data0x00000x001F32 B
I/O registersdata0x00200x005F64 B
SRAMdata0x00600x045F1 KB
EEPROMeeprom0x00000x01FF512 B4 B
FUSESfuses0x00000x00012 B
LOCKBITSlockbits0x00000x00001 B
OSCCALosccal0x00000x00034 B
Flashprog0x00000x1FFF8 KB64 B
Boot sectionprog0x18000x1FFF2 KB64 B
Boot sectionprog0x1C000x1FFF1 KB64 B
Boot sectionprog0x1E000x1FFF512 B64 B
Boot sectionprog0x1F000x1FFF256 B64 B
SIGNATURESsignatures0x00000x00023 B