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.

TMS570LS1224: Watchdog reset issue

Part Number: TMS570LS1224
Other Parts Discussed in Thread: HALCOGEN,

Tool/software:

Hi,

I'm doing watchdog task in TMS570LS1224 (LaunchPad). dwdReset() API was hit periodically when i put break point but Wdg_Init() not execute after reset. I'm enabling RTI0 Interrupt in halcogen for my TT list functions

because i'm using scheduler for my project other than this configuration should i do anything i halcogen for WATCHDOG.

My expectation is after watchdog reset breakpoint the below highlighted API will hit but after reset not hitting.

Preload value is 2929

Could you please help me to find out the mistake?

Thanks 

Sai,

  • Hi Sai,

    Can you refer below FAQ once:

    (+) [FAQ] TMS570LC4357: How to use Digital Watchdog - Arm-based microcontrollers forum - Arm-based microcontrollers - TI E2E support forums

    This might solve your issue, if not then i will debug further this issue at my end.

    --
    Thanks & regards,
    Jagadish.

  • Hi Jagadish,



    Thank you for response.I'll try based on the above DWD refernce and let you know the result.





    Thanks &Regards,
    Sai.

  • Hi Jagadish,

    I have gone through the above FAQ reference and tried implementing the suggested steps, but unfortunately, I'm still facing the issue with the watchdog(reset not happening).

    Could you please help debug this further? Let me know if you need any specific details from my side.

    Looking forward  to your guidance.

    Thanks & Regards,

    Sai

  • Hi Sai,

    I don't have TMS570LS1224 board, so i created one Watchdog resest example on RM46 board. These two boards are very much compatible so i am suggesting you refer the below example and do the configurations and code as per the below example and verify it.

    Watchdog_Reset_Test_RM46.zip

    In this example i am toggling the User LED's (GIOB1 and GIOB2) on this Launchpad board for 50 times.

    And at every interrupt i am also resetting the watchdog timer. And after it completes 50 toggling's i am just disabling the RTI timer interrupt that means the feeding or resetting of watchdog timer will not happen. Once the feeding of watchdog timer stops the board should get reset.

    To verify this i did the following thing in the bootloader:

    1. After entering into the bootloader set a break point at first instruction of main routine like as shown below:

    2. Now Resume the code:

    3. Once you resume the code you should see the LED's blinking on the board.

    4. And after 50 LED toggling's the controller will get reset and again the code should end up at the breakpoint that we put before:

    In this way you can verify it.

    --
    Thanks & regards,
    Jagadish.