29.6.1 Signal Names

In this section, some pins of this device are referenced by signal names describing their functionality during parallel programming, please refer to the following figure and table Pin Name Mapping in this section. Pins not described in the following table are referenced by pin names.

The XA1/XA0 pins determine the action executed when the XTAL1 pin is given a positive pulse. The bit coding is shown in the table XA1 and XA0 Coding in this section.

When pulsing WR or OE, the command loaded determines the action executed. The different Commands are shown in the table Command Byte Bit Coding in this section.

Figure 29-1. Parallel Programming
Table 29-8. Pin Name Mapping
Signal Name in Programming ModePin NameI/OFunction
RDY/BSYPD1O0: Device is busy programming, 1: Device is ready for new command
OEPD2IOutput Enable (Active low)
WRPD3IWrite Pulse (Active low)
BS1PD4IByte Select 1 (“0” selects Low byte, “1” selects High byte)
XA0PD5IXTAL Action Bit 0
XA1PD6IXTAL Action Bit 1
PAGELPD7IProgram memory and EEPROM Data Page Load
BS2PC2IByte Select 2 (“0” selects Low byte, “1” selects 2’nd High byte)
DATA{PC[1:0]: PB[5:0]}I/OBi-directional Data bus (Output when OE is low)
Table 29-9. Pin Values Used to Enter Programming Mode
PinSymbolValue
PAGELProg_enable[3]0
XA1Prog_enable[2]0
XA0Prog_enable[1]0
BS1Prog_enable[0]0
Table 29-10. XA1 and XA0 Coding
XA1XA0Action when XTAL1 is Pulsed
00Load Flash or EEPROM Address (High or low address byte determined by BS1)
01Load Data (High or Low data byte for Flash determined by BS1)
10Load Command
11No Action, Idle
Table 29-11. Command Byte Bit Coding
Command ByteCommand Executed
1000 0000Chip Erase
0100 0000Write Fuse bits
0010 0000Write Lock bits
0001 0000Write Flash
0001 0001Write EEPROM
0000 1000Read Signature Bytes and Calibration byte
0000 0100Read Fuse and Lock bits
0000 0010Read Flash
0000 0011Read EEPROM