Go Down

Topic: Burn a 29LV160 flash chip (Read 1 time) previous topic - next topic

TioSolid

Hi, greetings everyone. Im trying to burn a MXIC 29LV160 flash chip with a binary file but after reading the datasheet for this chip im still stuck without any ideas of how to begin. Im good at programming but a total newbie with arduino so any help would be appreciated.

Here is the pinout for this specific chip:


Can post the datasheet too if that helps (but its very easy to find on the net).

Tools I have on hand:
- Arduino (UNO and MEGA);
- Bus Blaster / Bus Pirate from dangerous prototypes (if that helps)
- Usual electronic stuff :P

Thanks in advance!

johnwasser

Do you want to write by bytes or words?
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

TioSolid

According to the datasheet I can do both (afaik). I guess doing a loop writing it by bytes would be easier. Does this matter depending of my source file (a binary file)?

johnwasser

To write each byte, put the byte address on the 21 address pins (A-1 through A19), put the data on Q0 through Q7, set /WE low, and pulse /CE low.  Keep /BYTE low, /RESET and /OE high.

You need 31 output pins so you should use the Mega.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

TioSolid

Could you please elaborate a bit in the code?  :smiley-red:

When you say I should "put the data on Q0 through Q7" you mean i should write each bit in one different pin and then pulse CE to write these 8 bits? And how should I "put the address on the adress pins"? Sorry if this look like very basic questions but if you could give me an example (in C code or pseudo) that would be great. Thanks

Go Up