Forum Discussion
Altera_Forum
Honored Contributor
20 years agoThe most common cause of error when accessing compact flash from eCos is with using the correct device name. If you have called your device "my_cf" in sopc builder, then you would normally need to use the device name: "/dev/my_cfa/1" (Note the extra "a") in the call to mount(). However it is possible that you have a compact flash card which does not contain a master boot record, particularly if you have had to reformat it after running the cf_ide_test's. In this case you should access the device as "/dev/my_cfa/0".