- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am looking for C functions to interface the S25FL127 flash memory. Where can I find these function? I am using an SPI from an Atmel Xmega 256D3 and FreeRTOS with AVRGCC compiler.
Thank You.
Charles Guggenheim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Charles,
You can use our low level driver from the link given below :
http://www.cypress.com/documentation/software-and-drivers/low-level-driver-spi-flash
Thanks,
Krishna.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank You!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Krishna,
I downloaded the driver. I am using the flash to store data for a data logger. I need a simple example to read and write data to flash. I understand that if the data need to be overwritten, the data need to be erase first. Is there some simple top level example to read and write data (that handle the erase) available?
Thanks,
Charles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Krishna,
Thank you for the files. I will take a look. I am battling some other issues right now and hopefully get back to the flash next week.
Charles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Krishna,
I downloaded the "slld.c" and "slld.h" and noticed that the macro definition for flash read and flash write is not defined anywhere. (line 2013 and 2014 of slld.h)
#define FLASH_WR(c,a,d,n) FLASH_WRITE(c,a,d,n)
#define FLASH_RD(c,a,d,n) FLASH_READ(c,a,d,n)
Am I missing something here? (no reference to FLASH_WRITE(c,a,d,n) or FLASH_READ(c,a,d,n)
Thank You,
Charles Guggenheim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Charles,
You can find the functions "FLASH_WRITE" and "FLASH_READ" in "slld_hal_example.c" file.This is the file which you need to modify primarily according to commands you want to implement.
Thanks,
Krishna.