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

problem with trace configuration debug ulink2

hi all, I'm Giacomo and I'm an italian engineering student,
I'm workin on STM32f103B with Keil uvision 3.72 and ulink2 debugger.

I'm trying to read adc signal (POS1) on PA1 and plot it on logic analyzer, so I configured the trace following the "ULINK@2 User's Guide" at http://www.keil.com/support/man/docs/ulink2/
when I write in command window (under debug mode):
POS1
I succesfully read the variable value,
but when I try to plot this variable in logic analyzer, (LA POS1) I obtain always 0x00000000

while run the program, after some second I get the message on trace status bar: "trace no syncronization".

maybe I have a clock problem, what is the correct ccore clock?

thanks for help

Parents
  • i included STM32DBG.ini but the problem remained the same. I don't know what parameter I have to select in configuration of STM32DBG.ini at Trace_mode (asyncronous,etc...)
    setting the core clock at 72Mhz, running in debug mode, immediately display "trace no syncronization",
    while if I set 1Mhz, the text "trace no syncronization" is displayed after long time.

Reply
  • i included STM32DBG.ini but the problem remained the same. I don't know what parameter I have to select in configuration of STM32DBG.ini at Trace_mode (asyncronous,etc...)
    setting the core clock at 72Mhz, running in debug mode, immediately display "trace no syncronization",
    while if I set 1Mhz, the text "trace no syncronization" is displayed after long time.

Children
No data