Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-08-2012, 05:55 AM   #1
LQ Newbie
Registered: Jul 2011
Posts: 15

Rep: Reputation: Disabled
Unable to Work with SPI FLASH(M25P64) using Microblaze processor,Spartan 6 FPGA


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!
Attached Files
File Type: txt config.txt (25.7 KB, 14 views)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
File written, under FreeDOS, on spi flash (formatted as FAT12) is not found in Linux Braiam Linux - Embedded & Single-board computer 2 01-18-2010 02:47 PM
can i use I/o Port pins of a processor as four SPI pins? i sunr2007 Linux - Embedded & Single-board computer 3 08-20-2009 02:23 AM
SPI Flash driver (mtd) for Spansion S25FL128P luklem Linux - Embedded & Single-board computer 0 07-30-2009 11:04 AM
FPGA's using flash memory Four Programming 0 11-09-2007 04:18 PM
xilinx system ace driver for compact flash on a fpga based pci card doesnt work urwithsudheer Programming 0 03-22-2006 03:28 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration