Hi all,
I am a problem very very stranger.
I am make a circuit using old processor, for educational proposite, and all works fine, since cpu up to programmer (using PIC16F628A and serial port).
In a SRAM, 62256, all works fine, the programmer is working very fine.
Then I buyed one AT28C256, EEPROM 32K x 8. I read the datasheet, programed code in 16F628A, and worked very fine, but something was "erasing" or "modifing" the Bytes in EEPROM. The I read in datasheet wich the SDP ("Software Protection") on this model is in default "disabled" in manufacture.
Then, I sending the 3 codes to enable the SDP, and VOILA, I cant write anymore in this EEPROM. I LOVED THIS.
I try to send the 6 Bytes to disable SDP again, and nothing. I try to send 3 bytes to disable the SDP, write the 64 Bytes, and in teory, then SDP enable again after, but nothing is disabling the SDP. I cant write again at any adress.
Any1 can helpme ? I expend all my weekend to solve this and nothing.
PS: Since in datasheet is write "like a SRAM", I suposed wich I dont need erase this EEPROM with 12v or with other software in EEPROM ("like program to erase entire chip").
Ty a lot.
Moacir Jr.
I am a problem very very stranger.
I am make a circuit using old processor, for educational proposite, and all works fine, since cpu up to programmer (using PIC16F628A and serial port).
In a SRAM, 62256, all works fine, the programmer is working very fine.
Then I buyed one AT28C256, EEPROM 32K x 8. I read the datasheet, programed code in 16F628A, and worked very fine, but something was "erasing" or "modifing" the Bytes in EEPROM. The I read in datasheet wich the SDP ("Software Protection") on this model is in default "disabled" in manufacture.
Then, I sending the 3 codes to enable the SDP, and VOILA, I cant write anymore in this EEPROM. I LOVED THIS.
I try to send the 6 Bytes to disable SDP again, and nothing. I try to send 3 bytes to disable the SDP, write the 64 Bytes, and in teory, then SDP enable again after, but nothing is disabling the SDP. I cant write again at any adress.
Any1 can helpme ? I expend all my weekend to solve this and nothing.
PS: Since in datasheet is write "like a SRAM", I suposed wich I dont need erase this EEPROM with 12v or with other software in EEPROM ("like program to erase entire chip").
Ty a lot.
Moacir Jr.
Last edited: