cancel
Showing results for 
Search instead for 
Did you mean: 

Tracealyzer in STOP mode

JAN R
Associate III

Hi,

I have question about streaming data to Percepio TraceAlyzer when the MCU is in Tickless mode - in my case in STOP mode (main clock is stoped). I use FreeRTOS and STM32L152VB. My application periodically wakes up with period T=1.5 s. I use for timing of FreeRTOS the RTC (runnig from LSI clock). When I want to use Live Streaming, it works only maybe 1 second, and then it stops streaming.

 I enabled the DEBUG support for low power modes. In STOP mode by enabling DBG_STOP in DBGMCU_CR register or calling   LL_DBGMCU_EnableDBGStopMode function. But the result is same.

When I do not go to STOP mode it works well.

Any advice?

Thank you very much. Jan.

5 REPLIES 5

Discuss with Percepio support, not much traffic here discussing it.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
JAN R
Associate III

I discussed, but they only advised the enabling DBG_STOP  bit...

Check, if it's still set at the moment when it stops "streaming".

Btw., what is the mechanism of "streaming", in terms of STM32 or Cortex-M documentation?

JW

JAN R
Associate III

There is written:

Debug support for low-power modes

In Stop mode, the bit DBG_STOP must be previously set by the debugger. This will

enable the internal RC oscillator clock to feed FCLK and HCLK in STOP mode....

JAN R
Associate III

NOW it works - I randomly changed the TRC_CFG_CTRL_TASK_DELAY from 10 to 2