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.

watchdog timeout on the 6713

Other Parts Discussed in Thread: CCSTUDIO

I am working with the 6713 on a design.

I have what seems  like a simple problem. My program takes longer than it should to start up. In the process my watchdog timer expires and resets the processor. The root of the problem seems to too many global variables being initialized. Is there a place where I can insert a watchdog timer kick in startup code prior to main() being called?

  • Kyle,

    Can you elaborate on the watchdog reset?  I can't find any information about a watchdog function/hardware on C6713.  Also, such a function typically requires initialization to enable it so it shouldn't be active before main().

    -Tommy

  • Kyle,

    In addition to what Tommy suggested you can try one of two things that I can think of.

    - The RTS source code is available inside the Code Generation Tools package (C:\CCStudio_v3.3\c6000\cgtools\lib contains the rts.src by default) and can be potentially modified to 'pet' the watchdog during/before/after c_int00 or autoinit.

    - Alternately, if you are using DSP/BIOS you can specify a User-Defined Initialization function in the System->Global Settings Properties dialog box. This runs after autoinit(), but before main() at the beginning of BIOS_init().