--- Quote Start ---
originally posted by soin@Sep 20 2006, 02:29 PM
hi,
are you sure your component generate interupt?is your uart working well?you could try to set a variable, checking it in the main loop, and printf through uart-jtag or uart, using the hal library instead of writing register...
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18357)
--- quote end ---
--- Quote End ---
Hi Soin,
> are you sure your component generate interupt?# ## Yes , I am. I checked
intr pin. It does go high whenever the counter reaches 7.
> is your uart working well?You could try to set a variable, checking it in the main loop, and printf through uart-jtag or uart, using the HAL library instead of writing register...# ## Yes , my UART is working well. I tested it in a seperate project by using this function in HAL library :
IOWR_ALTERA_AVALON_UART_TXDATA( UART1_BASE , 'Y' );
After testing these stuff , I assign
intr pin to
irq in
component editor ,
signal tab ; then recompile the System , Quartus project and NIOS IDE program but things are not better.
Have I got some steps missed ?
Thank you ,
Quan