Hello everyone, I've been working on a project lately and needed to program some ROM for it. As I don't have a programmer, I made my own using an Arduino Nano and shift registers, it's almost identical to the one Ben Eater built ([youtube]/watch?v=K88pgWhEb1M). I'm using AT28C64B-20PC chips (http://www.atmel.com/images/doc0270.pdf).
After building and programming it and triple-checking that everything conforms to the datasheet, I tried it. It can set all data/address bits and control lines correctly and when reading, I get the expected 0xff (factory reset chip). However when I try to write, nothing happens. It just retains the 0xff. I tried to set up ~DATA polling and Toggle Bit polling, which both didn't return anything, indicating that my ~WE pulse doesn't even start a write cycle.
I have tried:
https://puu.sh/yQ4c8/a95a8eca84.png
and here's my code (important bits are the functions at the end):
https://pastebin.com/CbNhUaBE
Thanks in advance for your help.
Alex
After building and programming it and triple-checking that everything conforms to the datasheet, I tried it. It can set all data/address bits and control lines correctly and when reading, I get the expected 0xff (factory reset chip). However when I try to write, nothing happens. It just retains the 0xff. I tried to set up ~DATA polling and Toggle Bit polling, which both didn't return anything, indicating that my ~WE pulse doesn't even start a write cycle.
I have tried:
- disabling software data protection (see datasheet)
- programming the chip manually with switches (doesn't work either)
- doing a complete chip erase
- checking that all connections are correct and the correct bits are set
- writing to a HM62256 RAM chip instead (pinout is identical), which works
- using another chip (I have 5, works on neither of them)
- playing around with timing and delays
https://puu.sh/yQ4c8/a95a8eca84.png
and here's my code (important bits are the functions at the end):
https://pastebin.com/CbNhUaBE
Thanks in advance for your help.
Alex