- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Everyone,
I am working on Traveo II series CYT2B93CA microcontroller and my SBC is UJA1169A which has external watchdog for my Microcontroller. I tried using the ARM T32 command SYStem.CONFIG.EXTWDTDIS OFF in order to disable the watchdog but I get an error saying the command is unknown whether I enter it in the .cmm file or the command window of the T32 debugger and moreover once I upload my .cmm file, my core goes into continuous PowerDown and SystemDown mode displaying a cyclic reset and now I am not able to flash any other .elf due to the reset issue. Could anyone please suggest me how to disable the watchdog from the cmm script file or T32 the command window
Solved! Go to Solution.
- Labels:
-
PSoC1 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Pujita,
For the first part of your issue,
that is the "unknown command" error : It looks like issue from debugger side, I think it would be beneficial if you can get help from Lauterbach/TC32 to resolve this issue.
Second part of issue,
"not able to flash due to reset issue" : I did some analysis of UJA1169A operating modes based on its datasheet, it seems like putting it to Forced Normal Mode would disable the watchdog.
Therefore, you could write a small program to first to trigger the watchdog(to prevent timeout) and the set FNMC bit to disable it via SPI . If I am correct, the default timeout of Watchdog seems like 128ms. You will have to immediately start flashing as soon as you switch ON the power.
Regards,
KB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Pujita,
For the first part of your issue,
that is the "unknown command" error : It looks like issue from debugger side, I think it would be beneficial if you can get help from Lauterbach/TC32 to resolve this issue.
Second part of issue,
"not able to flash due to reset issue" : I did some analysis of UJA1169A operating modes based on its datasheet, it seems like putting it to Forced Normal Mode would disable the watchdog.
Therefore, you could write a small program to first to trigger the watchdog(to prevent timeout) and the set FNMC bit to disable it via SPI . If I am correct, the default timeout of Watchdog seems like 128ms. You will have to immediately start flashing as soon as you switch ON the power.
Regards,
KB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the response.
You are right! though the reset register is removed, the SBC is put into standby mode whenever there is a watchdog timeout. I wrote small program to put it into normal mode so that the operations can take place smoothly without watchdog interruption.
Regards,
Pujita