LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unable to Work with SPI FLASH(M25P64) using Microblaze processor,Spartan 6 FPGA (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-work-with-spi-flash-m25p64-using-microblaze-processor-spartan-6-fpga-933398/)

manikumar086 03-08-2012 04:55 AM

Unable to Work with SPI FLASH(M25P64) using Microblaze processor,Spartan 6 FPGA
 
1 Attachment(s)
Hi,

I had compiled my xilinx Kernel 2.6.35 by enabling the MTD and SPI related configurations in 'Make menuconfig' (attached the .config file for details).

The kernel was able to detect my SPI FLASH and printing as below while booting:

xilinx-xps-spi 20000000.spi: at 0x20000000 mapped to 0xc8080000, irq=3
m25p80 spi32766.0: non-JEDEC variant of m25p80
m25p80 spi32766.0: m25p80 (1024 Kbytes)


Can anyone help me how to read or write to this SPI FLASH by using an application!


All times are GMT -5. The time now is 12:11 AM.