12.07.2015 Views

ATmega32A Datasheet - Sunrom Technologies

ATmega32A Datasheet - Sunrom Technologies

ATmega32A Datasheet - Sunrom Technologies

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.

<strong>ATmega32A</strong>Table 26-7.Signal Name inProgramming ModePin Name MappingRDY/BSY PD1 OPinName I/O Function0: Device is busy programming, 1: Device is ready fornew commandOE PD2 I Output Enable (Active low)WR PD3 I Write Pulse (Active low)BS1 PD4 IXA0 PD5 I XTAL Action Bit 0XA1 PD6 I XTAL Action Bit 1Byte Select 1 (“0” selects low byte, “1” selects highbyte)PAGEL PD7 I Program Memory and EEPROM data Page LoadBS2 PA0 IByte Select 2 (“0” selects low byte, “1” selects 2’nd highbyte)DATA PB7-0 I/O Bidirectional Data bus (Output when OE is low)Table 26-8.Pin Values used to Enter Programming ModePin Symbol ValuePAGEL Prog_enable[3] 0XA1 Prog_enable[2] 0XA0 Prog_enable[1] 0BS1 Prog_enable[0] 0Table 26-9. XA1 and XA0 CodingXA1 XA0 Action when XTAL1 is Pulsed0 0 Load Flash or EEPROM Address (High or low address byte determined by BS1)0 1 Load Data (High or Low data byte for Flash determined by BS1)1 0 Load Command1 1 No Action, IdleTable 26-10. Command Byte Bit CodingCommand Byte Command Executed1000 0000 Chip Erase0100 0000 Write Fuse Bits0010 0000 Write Lock Bits0001 0000 Write Flash0001 0001 Write EEPROM8155C–AVR–02/11271

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

Saved successfully!

Ooh no, something went wrong!