I am providing the link below for the low level drivers for NOR flash. Kindly go through them. You will find example C code for write and read operation. Let us know if you face any issues or have any further queries.
Thank you for the reply. I am not able to run the download link you have provided for some reason. And I am using NOR flash (S29GL128P90FFIR1) rather than NAND I have copy pasted the code below.
len = 4;
offset = 1;
nor->write( offset, buff, len );
read = lld_ReadOp(BA,offset);
When I run this code which is i am trying to write 1234 to flash and read for testing, I am getting 8193 when I read it.
And does the value I write to flash has to be unsigned short or I can write strings to the flash?
Any example code would be a great help, since I have alredy got the cypress LLD reference pdf.
Thank you in advance!
I am still struggling with the nor flash device. Can you please provide me the cypress ffs and block driver?
Kindly create a tech support case with us for Cypress FFS registration process.
Thanks and Regards,