12.07.2015 Views

ATmega32A Datasheet - Sunrom Technologies

ATmega32A Datasheet - Sunrom Technologies

ATmega32A Datasheet - Sunrom Technologies

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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>ATmega32A</strong>26. Memory Programming26.1 Program And Data Memory Lock BitsThe <strong>ATmega32A</strong> provides six Lock bits which can be left unprogrammed (“1”) or can be programmed(“0”) to obtain the additional features listed in Table 26-2. The Lock bits can only beerased to “1” with the Chip Erase command.Table 26-1. Lock Bit Byte (1)Lock Bit Byte Bit No. Description Default Value7 – 1 (unprogrammed)6 – 1 (unprogrammed)BLB12 5 Boot Lock bit 1 (unprogrammed)BLB11 4 Boot Lock bit 1 (unprogrammed)BLB02 3 Boot Lock bit 1 (unprogrammed)BLB01 2 Boot Lock bit 1 (unprogrammed)LB2 1 Lock bit 1 (unprogrammed)LB1 0 Lock bit 1 (unprogrammed)Note: 1. “1” means unprogrammed, “0” means programmedTable 26-2.Lock Bit Protection ModesMemory Lock Bits (2)LB Mode LB2 LB1Protection Type1 1 1 No memory lock features enabled.2 1 03 0 0BLB0 Mode BLB02 BLB011 1 1Further programming of the Flash and EEPROM is disabled inParallel and SPI/JTAG Serial Programming mode. The Fuse bitsare locked in both Serial and Parallel Programming mode. (1)Further programming and verification of the Flash and EEPROMis disabled in Parallel and SPI/JTAG Serial Programming mode.The Fuse bits are locked in both Serial and ParallelProgramming mode. (1)No 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 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 in theBoot 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.8155C–AVR–02/11267

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

Saved successfully!

Ooh no, something went wrong!