cancel
Showing results for 
Search instead for 
Did you mean: 

How does the STM32CubeMonitor real-time data streaming work under the hood?

GBert.2
Senior

Hi,

I want to understand fundamentally how the STM32CubeMonitor is able to monitor my memory and the tradeoffs of using such software.

Is there some documentation on the topic? I can't find anything.

How does the atomicity work? Is the core stopped while the st-link is reading memory? Are you using special ARM cortex-m instructions?

Thanks,

Gabriel

EDIT: if needed, I'm using the STM32CubeMonitor v1.4.0

1 ACCEPTED SOLUTION

Accepted Solutions
Javier1
Principal

The core doesnt look to me to be stopped while the stlink is reading memory, i am able to run motor control algoritms and very fast softpwm syntetizers while using cubemonitor without any spurious spike.

It is my understanding the SWD peripheral accesses the AHB bus independently so if your application makes intensive use of the AHB bus you might notice something.

https://www.cnblogs.com/shangdawei/p/4753040.html

we dont need to firmware by ourselves, lets talk

View solution in original post

2 REPLIES 2
Javier1
Principal

The core doesnt look to me to be stopped while the stlink is reading memory, i am able to run motor control algoritms and very fast softpwm syntetizers while using cubemonitor without any spurious spike.

It is my understanding the SWD peripheral accesses the AHB bus independently so if your application makes intensive use of the AHB bus you might notice something.

https://www.cnblogs.com/shangdawei/p/4753040.html

we dont need to firmware by ourselves, lets talk
GBert.2
Senior

Interesting @Javier Muñoz​, I'm gonna take a look at the AHB bus.