I am trying to interface Flash AT29C512 with AT89C51 How do read and write serially between the 8 bit 8051 and 24 bit Flash,
Kindly help if some one has worked on this.
the 8 bit 8051 and 24 bit Flash
512K (64K x 8) 5-volt Only Flash Memory AT29C512
HUH?
Erik
"I am trying to interface Flash AT29C512 with AT89C51. How do read and write serially..."
The AT29C512 has a Parallel interface - not a serial one!
Read the Data sheet: " for the 8051:
Chapter 1 - 80C51 Family Architecture: www.nxp.com/.../80C51_FAM_ARCH_1.pdf
Chapter 2 - 80C51 Family Programmer's Guide and Instruction Set: www.nxp.com/.../80C51_FAM_PROG_GUIDE_1.pdf
Chapter 3 - 80C51 Family Hardware Description: www.nxp.com/.../80C51_FAM_HARDWARE_1.pdf
this flash reads 32 bit address
The flash SST25VF512 device operates with a single 2.7-3.6V power supply
we could write the address in 8-bit word 4 times and read back the same way
is it ok? i'm a newbie
ya its a 32 bit device it has SI and SO for its serial I/O pins if this is right , flash SST25VF512 has only a serial interface
thanks & regards, hema.
"I am trying to interface Flash AT29C512..."
"The flash SST25VF512 device..."
So which one is it? Make your mind up!
"is it ok?"
What does the Datasheet say?
If you do what the Datasheet says, it will be OK; otherwise not.
"if this is right..."
Again, the Datasheet will tell you whether it is right or not.
Have you read the Datasheet?
both should be the same Atmel 512 device, SST25VF512 could mean it Serial flash with Super Flash technology, the data sheet also says so pinout has serial I/O
ya it is a serial flash
actually, we are interfacing SST25VF512 with 8051 atmel but the program is being loaded in AT29C512
sorry for that, so sst is serial flash with low power consumption
thanks,
actually, we are interfacing SST25VF512 with 8051 atmel but the program is being loaded in AT29C512 which is accessed via external access of 8051
"it is a serial flash"
Good.
Now, back to the Datasheet: what kind of serial interface does it have?
If it is a standard type (eg, I2C or SPI) you should be able to easily find sample code;
If it is non-standard, it will be fully defined by the manufacturer somewhere - maybe in the datasheet, maybe in a separate document.
Either way, check the manufacturer's site first for examples, guidance, etc...
its standard type with SPI interface, so where do we find the sample code, Google?
Of course, Google like to blow their own trumpet: "Google is now widely recognised as the world's largest search engine -- an easy-to-use free service that usually returns relevant results in a fraction of a second" www.google.co.uk/.../index.html
There are other internet search engines; eg, http://www.altavista.com/
To be able to effectively use such tools is absolutely essential - so start practising now!
www.google.co.uk/.../about.html www.altavista.com/.../tools
You will also find plenty of examples included in the 'Examples' folder in your Keil installation, and the downloads section of this site.
You should also check-out the SST site for Application Notes, examples, etc, etc,...
Sir, you are udderly confoosed
you keep babhbling about a 32 but address NONSENSE.
buth are 512kBIT devices which makes them 64kBYTE devices i.e.having a 16 bit address.
sir, am trying my first hand at these things, In the data sheet, the address is sent as 32 bit, so for device id it is written as 0x00000, so also in the timing diagram
probably you could patiently explain as you seem an expert to novices
Thanks,