Hi,
I want to read and write data to the SPI Flash AT45DB041.
I want this only with the SPI Control Register, SPI Interrupt Register, SPI Status Register and SPI Data Register.
I know that, to read from the main Memory Page, the Opcode 52 H is needed with 24 address bit an 32 don´t care bits.
I don´t know how i must configure the SPI Register to send the above command and receive the requested data.
Can someone help me ?
Br,
Rainer
Hilscher Gesellschaft fuer Systemautomation mbH
Hi Rainer,
I found something interesting for you. Please check http://sourceforge.net/projects/muhkuh/. This project includes also the sources from the Bootwizards flashing stuff. I think this will help you out.
Regards
AJ
Hi AJ,
Thank you for your help, but i dont find anything about SPI Register.
Can i see how the DRV_SFLReadFlash() function is programmed ? The function must use the SPI Register, or not ?
Br,
Rainer
Hilscher Gesellschaft fuer Systemautomation mbH
Hi Rainer,
yes. You will find the complete source of the Bootwizards SPI flash programming and reading stuff.
Hi AJ,
Sorry but i dont find anything about SPI Register.
I have downloaded the file muhkuh_1.0.229.tar and muhkuh_1.0.228.0_setup.
Is this the file do you mean ?
Can you give me a tip where i can find the stuff ?
Br,
Rainer
Hilscher Gesellschaft fuer Systemautomation mbH
Rainer Versteeg
Hi,
I use the following code to read out address 0 at memory page 0:
I dont get any data from the SPI Flash !.
What is wrong in this code snippset ?
Br,
Rainer