Altera_Forum
Honored Contributor
20 years agocompactflash test
I use the compactflash test code on the forum
the main function first calls " IDE_initialize()" but when the programme run to "/* Enable IDE interrupts */ alt_irq_register(ide_irq, 0, IDETrapHandler); IOWR_ALTERA_AVALON_CF_IDE_CTL(ctl_base, ALTERA_AVALON_CF_IDE_CTL_IRQ_EN_MSK);" latter code seems masked ,and the programme come to a close,seem to the end. but when i use "ctl_irq" instead of"ide_irq" the programme can run the latter code .