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

Need help implementing IDE controller

Honored Contributor II



I am using a Stratix professional edition board with a niosII processor. I am trying to build an IDE interface to the J16 pins, using the ata(OCIDEC 3) core from opencores. I have used the interface to user logic in SOPC with the ata core, and I have selected the OCIDEC support when i configured the kernel. 


I get an error, when i build the kernel: 

error: `na_ide_ide' undeclared (first use in this function)[/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/drivers/ide/ide.c]  


To get rid of this error, i included the compact flash in the SOPC builder, and it compiles, but now the compact flash is all that is being read, the hard drive that i connect to J16 pins is not. 


Does anyone have any ideas? 



0 Kudos
0 Replies