|
|||||||||||
|
Technical Support Support Resources
Product Information |
Technical SupportµVISION DEBUGGER: Get "No Synchronization" Using SWO on SI3MU1xx BoardInformation in this knowledgebase article applies to:
SYMPTOMWhen debugging the Silicon Labs BLINKY and RTX_BLINKY example projects with the SWO Trace option enabled, the Trace status displays Running... for about 5 seconds then displays No Synchronization. CAUSEThe watchdog timer is turned on by default when the MCU is reset, and is not being disabled in the example program. RESOLUTIONIn the BLINKY.C module, modify the mySystemInit() function with the following code to disable the watchdog timer:
void mySystemInit() {
/*----------------------------------------------------------------------------
Disable watchdog timer sequence for debugging
*----------------------------------------------------------------------------*/
SI32_WDTIMER_0->WDTKEY.KEY = SI32_WDTIMER_A_WDTKEY_KEY_ATTN_U32; /* Unlock Key I/F */
SI32_WDTIMER_0->WDTKEY.KEY = SI32_WDTIMER_A_WDTKEY_KEY_DISABLE_U32; /* Disable Wdog */
// __NOP();
}
Note that the __NOP() can be deleted. Re-build the project, and the SWO trace should now run as expected. STATUSThese example projects will be updated in an upcoming release. Last Reviewed: Friday, June 29, 2012 | ||||||||||
|
|||||||||||