![]() ![]() CS, WE, OE are high - the default (these 3 signals must be normally high, except the read/write sequence) ![]() If the flash is programmed you may try to read first 8 addresses for example (when the flash is not programmed, erased, you will read FF).Ġ. When it works then try to read the flash. If you need any further informations I’m here. And Why not, if it’ll work we can make this as library for future use. Please help me, I would like if someone can see the Timing diagram of this Flash memory and correct me in the code if somethings are wrong. (The reading program always return 0xFF and Writing seems not working). Now, I’m very confused, I don’t know if this code is working correctly or not. Data read or write D0 - D7 - Pin9 - Pin2 ![]() ![]() Shift Register 2 Q0 - Q7 → Flash memory A8 - A15Īnd here is the code to read the memory (Don’t know if it’s correct or not): #define SERIALDATA 10 Shift Register 1 Q0 - Q7 → Flash memory A0 - A7 I have read the datasheet but my weakness is the Timing Diagram (I’m not an electronic engineer) I can’t understand it correctly, which means that I can’t write a functionnal code.Īrduino pin 10 → Shift Register Serial DataĪrduino pin 2 to 9 → Flash memory D0 - D7 I read some replies from people in some forums, they claimed that arduino UNO which I use, is not fast enough to drive correctly AM29F040B (because arduino can’t drive 20ns or something like that), in other hand some others confirm that’s possible to do. To come to this lack of pins, Shift registers should be used, therefore, I bought 2 shift registers (74HC595) and wire them in cascading which will give us 16 outputsĪfter that, the big problem has appeared: How can I Read/Write/Erase this memory using Arduino since it’s so versatil, cheap and easy to use. This Flash memory has 32 pins, and arduino UNO has just 11 pins without using the 0 & 1 (for some Serial problem reasons), and A0 to A6 for the analog pins. So, I decided to make a one for me too.īefore I purchased this Flash memory “AM29F040B”, I did some research on internet to be sure if it’s possible to replace the gameboy cartridge ROM with this Flash Mem. Now, Searching for new project and especially in GameBoy console, I have found that some people have made programmable gameboy cartridge, changing its Rom and replace it with AM29F040 Flash Memory. I have used arduino a couple of months, I have made a different projects using it, such as (Car robot, little Game Console with 3310 LCD …). This is my first post in arduino forum, and I’m very glad to use this great device. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |