11.07.2015 Views

ATMega chip full datasheet - UCSD Department of Physics

ATMega chip full datasheet - UCSD Department of Physics

ATMega chip full datasheet - UCSD Department of Physics

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ATmega48A/PA/88A/PA/168A/PA/328/PTable 28-3.Lock Bit Protection Modes (1)(2) . Only ATmega88A/88PA/168A/168PA/328/328P.BLB0 Mode BLB02 BLB011 1 1No restrictions for SPM or LPM accessing the Applicationsection.2 1 0 SPM is not allowed to write to the Application section.3 0 04 0 1BLB1 Mode BLB12 BLB111 1 1SPM is not allowed to write to the Application section, and LPMexecuting from the Boot Loader section is not allowed to readfrom the Application section. If Interrupt Vectors are placed inthe Boot Loader section, interrupts are disabled while executingfrom the Application section.LPM executing from the Boot Loader section is not allowed toread from the Application section. If Interrupt Vectors are placedin the Boot Loader section, interrupts are disabled whileexecuting from the Application section.No restrictions for SPM or LPM accessing the Boot Loadersection.2 1 0 SPM is not allowed to write to the Boot Loader section.3 0 04 0 1SPM is not allowed to write to the Boot Loader section, and LPMexecuting from the Application section is not allowed to readfrom the Boot Loader section. If Interrupt Vectors are placed inthe Application section, interrupts are disabled while executingfrom the Boot Loader section.LPM executing from the Application section is not allowed toread from the Boot Loader section. If Interrupt Vectors areplaced in the Application section, interrupts are disabled whileexecuting from the Boot Loader section.Notes: 1. Program the Fuse bits and Boot Lock bits before programming the LB1 and LB2.2. “1” means unprogrammed, “0” means programmed28.2 Fuse BitsThe ATmega48A/PA/88A/PA/168A/PA/328/P has three Fuse bytes. Table 28-5 - Table 28-9describe briefly the functionality <strong>of</strong> all the fuses and how they are mapped into the Fuse bytes.Note that the fuses are read as logical zero, “0”, if they are programmed.Table 28-4. Extended Fuse Byte for ATmega 48A/48PAExtended Fuse Byte Bit No Description Default Value– 7 – 1– 6 – 1– 5 – 1– 4 – 1– 3 – 1– 2 – 1– 1 – 1SELFPRGEN 0 Self Programming Enable 1 (unprogrammed)8271D–AVR–05/11298

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!