Keil Logo

µVISION DEBUGGER: Get "No Synchronization" Using SWO on SI3MU1xx Board


Information in this knowledgebase article applies to:

  • MDK-ARM V4.53

SYMPTOM

When 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.

CAUSE

The watchdog timer is turned on by default when the MCU is reset, and is not being disabled in the example program.

RESOLUTION

In 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.

STATUS

These example projects will be updated in an upcoming release.

Last Reviewed: Friday, June 29, 2012


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.