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++
12603 Discussions

Problems mounting CompactFlash

Altera_Forum
Honored Contributor II
963 Views

I'm Using the Quartus 5.1, Nios 5.1, and eCos for 5.1. 

 

I'm using the project with the CompactFlash support from the Forum. 

 

I have build the Libraries, and compiled the the fileio1.c just fine. I modified the device name to /dev/cfa/0 as indicated in the Readme file. But when I try to run the program from the SDK shell or from the IDE, I always get the same error: 

 

<FAIL> mount() returned -1 unknown error  

<FAIL> chdir() returned -1 No such entity 

 

I have also tried /dev/cfa/1, /dev/cfb/0, and /dev/cfb/1 with the same result
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
286 Views

Make sure you are not using the LCD and CF on the same I/O pins.

0 Kudos
Altera_Forum
Honored Contributor II
286 Views

 

--- Quote Start ---  

originally posted by mumford@Oct 23 2006, 12:04 AM 

make sure you are not using the lcd and cf on the same i/o pins. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18843) 

--- quote end ---  

 

--- Quote End ---  

 

 

Also make sure you are using a Quartus project that enables the compact 

flash. I had similar problems until I realized that my project did not set up 

the compact flash component.
0 Kudos
Reply