Modified AT89S lock bits write

This commit is contained in:
Claudio Lanconelli 2000-02-28 15:13:24 +00:00
parent 2b3fb867e8
commit f914f9529a
2 changed files with 3 additions and 3 deletions

View File

@ -137,7 +137,7 @@ int At89sBus::WriteLockBits(int byte)
int mask = 0xff & ~byte;
SendDataByte(WriteLock0);
SendDataByte(WriteLock1 | mask);
SendDataByte(mask); //Atmel datasheets don't specify what bits are LB1, LB2, LB3!!
SendDataByte(0);
WaitMsec(20); //4msec dai datasheet Atmel

View File

@ -81,8 +81,8 @@ static FuseBit labels[] = {
{PIC1684, 0x00, 0x1F, {0}, {0,0,0,"CP ","PWRTE ","WDTE ","FOSC1 ","FOSC0 "}},
{AT89S8252, 0x07, 0x00, {0,0,0,0,0,"LB1 ","LB2 ","LB3 "}, {0,0,0,0,0,0,0,0}},
{AT89S53, 0x07, 0x00, {0,0,0,0,0,"LB1 ","LB2 ","LB3 "}, {0,0,0,0,0,0,0,0}},
{AT89S8252, 0xe0, 0x00, {"LB1 ","LB2 ","LB3 ",0,0,0,0,0}, {0,0,0,0,0,0,0,0}},
{AT89S53, 0xe0, 0x00, {"LB1 ","LB2 ","LB3 ",0,0,0,0,0}, {0,0,0,0,0,0,0,0}},
{0, 0, 0, {0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0}} //End tag
};