Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12599 Discussions

serial flash EPCS memory on uClinux (no driver found)

Altera_Forum
Honored Contributor II
1,068 Views

Hi, 

I'm just trying to configure uClinux to manage Altera EPCS controller. 

I follow indications as described in alterawiki mtd devices 

 

but the option  

[*]altera spi controller does not apear on my menu config. 

Also, the files /drivers/mtd/chips/epcs.h, epcs.c epcs_low epcs_map are not present in the source. 

 

I've got uclinux nios2-linux-20090730.tar kernel 2.6.30 from alterawiki 

 

Does anyone know if uClinux support EPCS memory ? 

 

Should I try linux instead uClinux ? 

 

thanks
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
331 Views

The EPCS flash is just a standard SPI flash device. I think the Linux kernel supports the EPCS flash using the MTD SPI driver for the ST M25Pxx. 

 

The source code file for this driver is under drivers/mtd/devices/m25p80.c
0 Kudos
Altera_Forum
Honored Contributor II
331 Views

Thanks a lot Bruce, 

I'll try this driver and I'll tell you if I've had success. 

By now my hardware is not ready and it may take a bit. 

bye! :)
0 Kudos
Reply