Sep 24, 2020
05:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 24, 2020
05:54 AM
Hello,
I'm working with the EVAL TC397 Hardware and I'm having a problem related to the reset for watchdog. when I connect the device with the debugger and flash my code, it works . means Wdg driver getting called. Rest will not work because Debugger will hold reset pin.
But when i remove debugger the power off or pressing the reset button, Then Reset LED glow(means reset happening). and nothing will work.
1.How to work with debugger mode?How to enable wdg in debugger mode?how to active watchdog in debugger? so that i can debug issue
2.What could be the reason for reset?
Thanks and Regards
sachin
I'm working with the EVAL TC397 Hardware and I'm having a problem related to the reset for watchdog. when I connect the device with the debugger and flash my code, it works . means Wdg driver getting called. Rest will not work because Debugger will hold reset pin.
But when i remove debugger the power off or pressing the reset button, Then Reset LED glow(means reset happening). and nothing will work.
1.How to work with debugger mode?How to enable wdg in debugger mode?how to active watchdog in debugger? so that i can debug issue
2.What could be the reason for reset?
Thanks and Regards
sachin
- Tags:
- IFX
3 Replies
Sep 24, 2020
06:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 24, 2020
06:43 AM
Make sure that the UCB_BMHD0 is programmed correctly with your used start address. Your code contains a valid BMHD?
Which debugger you use?
Which debugger you use?
Sep 24, 2020
02:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 24, 2020
02:15 PM
Hi MoD,
yes, My BMHDO is program correct. because without this even in debugger also it will not work.Start address is important to start software. So i am sure about it.
i am using WinIdea-Isystem.
yes, My BMHDO is program correct. because without this even in debugger also it will not work.Start address is important to start software. So i am sure about it.
i am using WinIdea-Isystem.
Sep 25, 2020
01:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 25, 2020
01:46 AM
I don't know how the isystem support the watchdogs during debugging, maybe there exist any configuration.
Per default are the watchdogs are suspended when OCDS enabled.
You can switch off this feature by writing 0x3000 to address 0xF000047C.
Then the watchdogs will be suspended only when the corresponding suspend signal is active (e.g. when the CPU is in halt state).
Per default are the watchdogs are suspended when OCDS enabled.
You can switch off this feature by writing 0x3000 to address 0xF000047C.
Then the watchdogs will be suspended only when the corresponding suspend signal is active (e.g. when the CPU is in halt state).