I'm using keil with STLINK, connected to a GD32F130C8.
I can see, in debug, by means of Watch, variables changing in real time.
Everything works fine.
Now I would like to enable trace, in order to see the evolution of a variable in time domain, thru logic analyzer.
I enabled trace flag on trace tab (setting menu), I set, on trace tab, the processor speed (72MHZ).
The problem is that logic analyzer doesn't show requested float variable, and on the bottom of the screen I read the sentence "Trace: No Synchronization".
The output of SystemCoreClock() function gives 72Mhz.
any hint?
This is my stlink, it is not the original one, but it says that all functions are supported...
www.ebay.it/.../323890498542
The trace on this chip is supported:
http://www2.keil.com/gigadevice
So have you run through that example to verify that you have everything set up & working correctly?
You haven't said what model & version of ST-Link you are using. Is is a genuine ST one?
ema vac said:GD32F130C8
That's not an STM32 - is it?
Are you sure that chip has Trace ... ?
Dear Ropsch,
here is clearly described the compatibility with stlink:
www.keil.com/.../apnt_286.asp
Probably trace is not covered by your ST-Link.
The recommended Debug Adapter is the "ULINKpro Debug and Trace Unit":
http://www.keil.com/products/ulinkpro/default.asp
Do also refer to:
http://www.keil.com/support/docs/3771.htm
View all questions in Keil forum