This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Best method to create a soft reset on F2812



Hi,

I am trying to generate a software reset on an F2812 DSP.  I know I can enable the internal watchdog and not kick it.  This method is too slow.  We are using an external watchdog, so I need to generate a reset and kick the external watchdog within 1mS.

Can I just branch to the reset address (3F FC00), or is there a better way?

Nelson

  • Nelson Norris said:

    Hi,

    I am trying to generate a software reset on an F2812 DSP.  I know I can enable the internal watchdog and not kick it.  This method is too slow.  We are using an external watchdog, so I need to generate a reset and kick the external watchdog within 1mS.

    Can I just branch to the reset address (3F FC00), or is there a better way?

    Nelson

    Using the watchdog is the right way to go.   The watchdog is documented in the system control and interrupts guide for a particular device. 

    http://processors.wiki.ti.com/index.php/System_Control_and_Interrupts_Reference_Guides_for_C28x

    For the 281x this is www.ti.com/lit/spru078

    There are three ways on 281x:

    • Don't feed the dog - as you observed this requires the dog to timeout and isn't immediate
    • Write an incorrect value to the key register: See Table 3−10. Example Watchdog Key Sequences
    • Write an incorrect value to the "WDCHK" bits in the WDCR register - see Table 3−14. Watchdog Control (WDCR) Register Field Descriptions

    Regards

    Lori

     

  • Do you have a software to install usb20reset?it can reset the board through software