This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Trace:No Synchronization in debugging uVision4

Hi,

I have a ULINK2 debugger and Core-M3 board. I have a simple program that will print a simple "Hello World". I want this printf output will be display in the Debug (Printf) viewer on my uVision IDE, this will happen during Debugging. I've already setup the Retarget.c for the ITM_SendChar and enable the Port 0 for the ITM Stimulus Port.But unfortunately when I do debugging theirs no display for Debug(printf) viewer and it has a display in the bottom portion of the IDE: Trace: No Synchronization.
If I do debugging using SIMULATION i can view the printf output display in Debug(printf) viewer but if I do debugging using the Debugger (ULINK2) theirs no display on the printf viewer.
I've read on the "ULINK2 User Guide, Trace Status: No Synchronization --> There are no synchronization packets received from the target. This indicates that the Trace hardware is either not connected or improperly configured.", but I'm still can't figure out how to resolve my issue. Could someone help me....thanks a lot.

Parents
  • Hi Josh,

    Were you able to solve the Trace: No Synchronization issue?

    I'm having the same issue you and "Nick L" had on http://www.keil.com/forum/17897/. Unfortunately I can't post any more on that thread because it's classified as read only...

    I'm using MCBSTM32, MDKARM 4.20 and ULINK2.

    I have tried several ITM Trace examples (Blink examples), created my own example, based on the my limited knowledge about the ITM, and all the attempts did not work on the eval board and also on my own hardware.

    I have inspected the SWO line with a Digital Scope and the bit timing is correct, it means the Core clock setting is correct. Also tried different SWJ Max Clock speeds settings ranging from 500KHz to 10MHz. At some time during the test I used an "premium" quality USB Cable. Signal integrity is not being an issue here.

    UV4 DB will always display Trace: Running and then 3 seconds latter, Trace: No Synchronization. No data from ITM is displayed.

    I would appreciate in case you solved and could share the solution.

    Regards,

    Alex

Reply
  • Hi Josh,

    Were you able to solve the Trace: No Synchronization issue?

    I'm having the same issue you and "Nick L" had on http://www.keil.com/forum/17897/. Unfortunately I can't post any more on that thread because it's classified as read only...

    I'm using MCBSTM32, MDKARM 4.20 and ULINK2.

    I have tried several ITM Trace examples (Blink examples), created my own example, based on the my limited knowledge about the ITM, and all the attempts did not work on the eval board and also on my own hardware.

    I have inspected the SWO line with a Digital Scope and the bit timing is correct, it means the Core clock setting is correct. Also tried different SWJ Max Clock speeds settings ranging from 500KHz to 10MHz. At some time during the test I used an "premium" quality USB Cable. Signal integrity is not being an issue here.

    UV4 DB will always display Trace: Running and then 3 seconds latter, Trace: No Synchronization. No data from ITM is displayed.

    I would appreciate in case you solved and could share the solution.

    Regards,

    Alex

Children
No data