Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

Problems mounting CompactFlash

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

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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.