Forum Discussion
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by graham615@Jan 22 2006, 01:53 PM does anyone have a sample app that instansiates the compact flash device and mounts it as a flash file system.
according to the docs, i should be able to define the define using:
altera_avalon_cf_instance( cf_0, cf_0);
where cf_o is the name of my sopc compact flash device.
however, this is defined in altera_avalon_cf_devices.c and the macro is not visable in my file.
to mount the file system i am calling the following( which fails, -1)
err = mount( "/dev/cf_0a/0", "/", "fatfs" );
any advice would be appriciated.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=12317)
--- quote end ---
--- Quote End ---