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.

TMS320F28335 Watchdog Errata Workaround

Team,

Is there a code example for implementing the errata workaround described in the errata titled "Memory: Possible Incorrect Operation of XINTF Module After Power Up"?

Errata: http://www.ti.com/lit/er/sprz272g/sprz272g.pdf

Thank you,

Peggy

  • Peggy,

    I don't know of a code example, but it should be pretty straightforward to write.  If you link any initialized global data to external memory, you will need to implement the workaround in assembly code prior to running _c_int00.  If there are no intialized sections in ext. memory, then you can implement the workaround in C from main(), although it is much faster to do so in assembly prior to _c_int00 anyway.

    All you need to do is check the WDCR.WDFLAG.  If it equals 0, force a watchdog reset by, for example, writing a bad value to the WDCR.WDCHK bits.  Almost all the C2000 code examples use a file called CodeStartBranch.asm, where right after reset the WD is disabled using assembly code.  You can just put the workaround in that routine (called code_start() ).

    Regards,

    David