Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

OSTickISR

Hi all,

I was looking into uC/OS on NIOS II.

I cannot locate OSTickISR(), can anyone know where it is or how this TICK isr is set up and dispachted on NIOS II?

Thank you.

IS

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by insop@May 5 2006, 08:51 AM

    hi all,

    i was looking into uc/os on nios ii.

    i cannot locate ostickisr(), can anyone know where it is or how this tick isr is set up and dispachted on nios ii?

    thank you.

    is

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=15074)

    --- quote end ---

    --- Quote End ---

    Hi,

    you&#39;ve to create you own OSTickISR().

    you have to configure the timer to generate interrupts.

    the timer interrupt handler has to launch OSTimeTick(), function which is given in uC/OS.

    One another thing to be careful is when you make active timer interruption. It must be done after OSStart(), in the begining of the first task which is executing.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by sam.r+may 11 2006, 10:00 pm--><div class='quotetop'>quote (sam.r @ may 11 2006, 10:00 pm)</div>

    --- quote start ---

    <!--quotebegin-insop@May 5 2006, 08:51 AM

    hi all,

    i was looking into uc/os on nios ii.

    i cannot locate ostickisr(), can anyone know where it is or how this tick isr is set up and dispachted on nios ii?

    thank you.

    is

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=15074)

    --- quote end ---

    --- Quote End ---

    Hi,

    you&#39;ve to create you own OSTickISR().

    you have to configure the timer to generate interrupts.

    the timer interrupt handler has to launch OSTimeTick(), function which is given in uC/OS.

    One another thing to be careful is when you make active timer interruption. It must be done after OSStart(), in the begining of the first task which is executing.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=15297)</div>

    [/b]

    --- Quote End ---