beautypg.com

Atmega128rfa1 – Rainbow Electronics ATmega128RFA1 User Manual

Page 487

background image

487


8266A-MCU Wireless-12/09

ATmega128RFA1

Instruction

TDI Sequence

TDO Sequence

Notes

8a. Enter Fuse/Lock Bit Read

0100011_00000100

xxxxxxx_xxxxxxxx

8b. Read Extended Fuse Byte

0111010_00000000
0111011_00000000

xxxxxxx_xxxxxxxx
xxxxxxx_oooooooo

(6)(5)

8c. Read Fuse High Byte

0111110_00000000
0111111_00000000

xxxxxxx_xxxxxxxx
xxxxxxx_oooooooo

(7)(5)

8d. Read Fuse Low Byte

0110010_00000000
0110011_00000000

xxxxxxx_xxxxxxxx
xxxxxxx_oooooooo

(8)(5)

8e. Read Lock Bits

0110110_00000000
0110111_00000000

xxxxxxx_xxxxxxxx
xxxxxxx_xxoooooo

(9)(5)

8f. Read Fuses and Lock Bits

0111010_00000000
0111110_00000000
0110010_00000000
0110110_00000000
0110111_00000000

xxxxxxx_xxxxxxxx
xxxxxxx_oooooooo
xxxxxxx_oooooooo
xxxxxxx_oooooooo
xxxxxxx_oooooooo

(5)
Fuse Ext. byte
Fuse High byte
Fuse Low byte
Lock bits

9a. Enter Signature Byte Read

0100011_00001000

xxxxxxx_xxxxxxxx

9b. Load Address Byte

0000011_bbbbbbbb

xxxxxxx_xxxxxxxx

9c. Read Signature Byte

0110010_00000000
0110011_00000000

xxxxxxx_xxxxxxxx
xxxxxxx_oooooooo

10a. Enter Calibration Byte Read

0100011_00001000

xxxxxxx_xxxxxxxx

10b. Load Address Byte

0000011_bbbbbbbb

xxxxxxx_xxxxxxxx

10c. Read Calibration Byte

0110110_00000000
0110111_00000000

xxxxxxx_xxxxxxxx
xxxxxxx_oooooooo

11a. Load No Operation Command

0100011_00000000
0110011_00000000

xxxxxxx_xxxxxxxx
xxxxxxx_xxxxxxxx

Notes:

1. This command sequence is not required if the seven MSB’s are correctly set by the previous command sequence

(which is normally the case).

2. Repeat until o = “1”.

3. Set bits to “0” to program the corresponding Fuse, “1” to un-program the Fuse.

4. Set bits to “0” to program the corresponding Lock bit, “1” to leave the Lock bit unchanged.

5. “0” = programmed, “1” = un-programmed.

6. The bit mapping for Fuses Extended byte is listed in

Table 31-3 on

page 465.

7. The bit mapping for Fuses High byte is listed in

Table 31-4 on

page 465.

8. The bit mapping for Fuses Low byte is listed in

Table 31-5 on

page 466

9. The bit mapping for Lock bits byte is listed in

Table 31-1 on

page 464.

10. Address bits exceeding PCMSB and EEAMSB (

Table 31-7 on

page 467 and

Table 31-8 on

page 467) are don’t care.

11. All TDI and TDO sequences are represented by binary digits.