Rainbow-electronics AT90S2313 Instrukcja Użytkownika Strona 66

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 92
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 65
66
AT90S2313
0839IAVR06/02
Reading the Fuse and Lock
Bits
The algorithm for reading the Fuse and Lock bits is as follows (refer to Programming
the Flashon page 63 for details on command loading):
1. A: Load Command 0000 0100.
2. Set OE
to 0, and BS to 1. The status of the Fuse and Lock bits can now be
read at DATA (0means programmed).
Bit 7 = Lock Bit1
Bit 6 = Lock Bit2
Bit 5 = SPIEN Fuse bit
Bit 0 = FSTRT Fuse bit
3. Set OE
to 1.
Observe that BS needs to be set to 1.
Reading the Signature Bytes The algorithm for reading the signature bytes is as follows (refer to Programming the
Flash on page 63 for details on command and address loading):
1. A: Load Command 0000 1000.
2. C: Load Address Low Byte ($00 - $02).
Set OE
to 0,andBSto0. The selected signature byte can now be read at DATA.
3. Set OE
to 1.
Przeglądanie stron 65
1 2 ... 61 62 63 64 65 66 67 68 69 70 71 ... 91 92

Komentarze do niniejszej Instrukcji

Brak uwag