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 reset input XRS held low by watchdog

The processor TMS320F28335 was working fine and recently could not flash the device. When I probed the XRS input, the processor internal watchdog resets the device? Can you please tell me how to disable it?

I could not connect the JTAG (Test connection is not passing) and could not load flash? So I cannot access the watchdog registers now.

How to resolve this issue

  • Hi John,

    Can you try changing the boot settings such that the watchdog stops resetting the device?

     After altering this you can disable the watchdog in software and flash the device.

    Regards,

    Gautam

  • Hi John,

    As Gautam mentioned, try changing the "Boot Mode' setting to MODE "3" (branch to check boot mode). This should allow you to connect to JTAG and debug the issue further.

    Regards,

    Vivek Singh

  • John,

    Method suggested by both Vivek and Gautam should work. There is an alternate method, if you wouldn't want to mess with boot mode pins.

    If your emulator has "wait in reset" feature, In CCS5v you can activate this feature by following the below steps:-

    1) Goto target connection information and select advanced setup

    2) Select the emulator being used.

    3) In the properties section: Change EMU0 = low and EMU1 = high

    This method should allow you to connect to the device without emulator tripping on a secure device.

    Regards,

    Manoj

  • Thank you Manoj, Vivek and Gautam for prompt solutions.

    I tried Manoj method, I can connect the device but I could not flash the device since it throws message as the device is locked.

    Can you please tell me Is there anyway to unlock the device?

     

     

     

     

  • Did you check your .out file (or) .HEX file for password?

    There is no way to unlock the device if you don't have the password. In this case, you have to throw the device and work on new device.

    Regards,

    Manoj