Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12409 Discussions

serial flash EPCS memory on uClinux (no driver found)

Altera_Forum
Honored Contributor II
860 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
123 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
Altera_Forum
Honored Contributor II
123 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! :)
Reply