I will state, when I first hooked this up I made a pretty stupid mistake and hooked D6 and D7 to VCC directly (they're beside 22 and 23) and OE and WE were probably tied to the D6 and D7 places on the arduino. I've got D0-D3 tied to 16-19, D4 on 30 and D5 on 31 and D6-D7 on 22 and 23 (pins 20 and 21 were acting up, I figured maybe because they were for i2c serial, although that makes no sense, I know that they weren't correctly reading or writing though). I've got A0-A13 hooked up to pins 2-15 and A14 tied to VCC (I'm only using 16K of this eeprom on the machine, so a14 doesn't matter). The reason I chose the mega was I did not have shift registers laying around and programming it parallel would greatly reduce the thought needed for hooking it up, also, I happened to have a mega on my desk. I got an AT 28c256 EEPROM for my first build and I'm working on programming it using an arduino mega. Ok so I've been banging my head against this issue now for hours and I've decided to post something here while I continue to bang my head against it, so hopefully someone can ease my pain.
0 Comments
Leave a Reply. |