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.

TMS570LC4357: Watchdog Reset Occuring and program not running after Verification from Uniflash

Part Number: TMS570LC4357
Other Parts Discussed in Thread: UNIFLASH, TMS570LS3137

Tool/software:

Hello, after making program verification from Uniflash, until i power down and up my device, it doesnt work. Also i am having watchdog reset. Why is this happening? I didnt have this problem while using TMS570LS3137 but it seems to be happening in TMS570LC4357.


Thanks in Advance


Murat

  • Also i would like to point out that in CCS debug configurations, my verify option is enabled and i am not having watchdog reset or code not running until i power off problem. So this is unique to Uniflash.

  • Hi Murat,

    after making program verification from Uniflash, until i power down and up my device, it doesnt work

    what if you disable verification in Uniflash, does it helpful to work without any issues even without power down and up?

    Is it possible to setup on live debugging session, where you can share your screen and explain the issue lively.

    --

    Thanks & regards,
    Jagadish.

  • Hello Jagadish

    What do you mean by disabling verification? There is two buttons in program window. One is load image and other is verification. The problem occurs when i make verification. It works fine after loading image. 

    It is not possible for me to take a screen record. But i can try to explain it more detailed

    In Uniflash after i connect my debugger and select my MCU, i am starting a session. In a session there is two buttons, one is Load Image and the other is verification(there is also other buttons too but they are irrelevant for my case). When i load the image, my code works fine, there is also no watchdog reset. But when i try to make verification, my code stops working until i power down and up my device, and i can see that Watchdog Reset is occured. 

    Thank you

  • Hi Murat,

    My sincere apologies for the delayed response, i was OFF for few days.

    In Uniflash after i connect my debugger and select my MCU, i am starting a session. In a session there is two buttons, one is Load Image and the other is verification(there is also other buttons too but they are irrelevant for my case). When i load the image, my code works fine, there is also no watchdog res

    Thanks for detailed explaination.

    Here are my observations:

    If you make sure to check this below check box in UniFlash settings:

    Then verification will automatically happen after loading the Image.

    For example, here is the log after i click on Load Image:

    As you can see it is verifying after erasing and it is also verifying after writing the image, and finally it is doing system reset to run the code from the 0x00000000 address.

    So, we don't need to do verify image separately.

    If we do only verify image there won't be any system reset will happen, maybe watchdog creates issue in this case because the core might take more time than the watchdog timeout to send the data to uniflash for verification, this might create problem right.

    --
    Thanks & regards,
    Jagadish.

  • Hello Jagadish

    Unfortunately this is not a solution for us because we have a manual which the personnel obeys and it is obligatory to make a extra verification. 


    Thank you

    Murat
  • Hi Murat,

    I found this, i am testing with below version of uniflash

    And on my testings i found that my LED blinky code is not working after immediately loading image and after click on Verify Image it is again running without any further resets or power-OFF and ON.

    Can you please check with above version once?

    --
    Thanks & regards,
    Jagadish.

  • Hello Jagagish. How are You certain that watchdog reset did not occur? Because i am having watchdog reset after verification process. 

  • Hello Jagadish. I think i figured out the problem. İn the older versions of uniflash "Run Target After Program Load/Flash Operation" is checked as default. And if i try to make seperate verify while the code is running, i get watchdog reset. However in the newer versions it is not checked so code doesnt run after loading and i can verify without problem. It would be nice if you can fix this issue.

  • Hi Murat,

    However in the newer versions it is not checked so code doesnt run after loading and i can verify without problem. It would be nice if you can fix this issue.

    Is using newer version of Uniflash solved the issue? If yes, then we are good right?

    --
    Thanks & regards,
    Jagadish.