- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,All.
I can add the compact flash card into sopc, but I do not know how to read from/write to compact flash card by softwere program. Used:NiosII cyclone borad. Could anybody tell me? Thanks!Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The CF class said,
Software support includes: register definitions, I/O access macros, and initialization routines with the Nios II HAL. For complete access to the IDE interface additional software is required; the Nios II eCOS distribution and Micrium uC/FS file systems each include such support. You can also use uclinux.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,hippo.
I'm working with μC/OS-II,now. I will use eCos and Micrium uC/FS file systems. Thanks,hippo.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should also check for update in CF IP in,
Nios Discussion Board > Downloads > Tested IP Good luck.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should try the hardware using the example code that comes with it. Once that is working you can implement the FAT file system in the HAL using a free FAT file system layer for microcontrollers such as FATFS (ELM Chan) or DOSFS. Both are free and available by looking around google. FATFS is faster...
You should also search around the niosforum a bit too... this question has been asked many many times.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page