Is there a possibility to make a computation over the variables in real time and then present results in some chart or gauge?
Yes, there is a "post processing" function to perfom computation on variables and data manipulation with Node-RED is also possible before it is printed or displayed on chart
Is there a way to visualize a non static private member variable of a class?
If you know its memory address in RAM, then it is possible. However it may be very difficult to get them, unless you manually know its address (or offset from class instance)
Is there an alternative if the requirement requires full wireless?
The SWD ST-link connection requires wired connection.
Is there an API available for CubeMonitor to have access to the variables for automatic testing
There is no CLI API or external API, but an automated test could be done inside CubeMonitor. It is also possible to use network connection to integrate the tool in a test process.
Is there any documentation or examples as how to create different firmware examples that will then work with the Cube monitor?
there is no official example, but with STM32CubeIDE, juste create a new project for your target, add a global variable and build in DEBUG mode.
Is there any movement to allowfor direct connection to the micro controller without the need for an STLink - it seems quite limited by this right now to development only.
To read/write data from/to STM32 memory, supported probe is only ST-Link. It can be any ST-Link version, preferred is V2 or V3. UART or USB CDC VCP can be used to communicate like with serial terminal
Is there any possibility to send all data to the cloud over CubeMonitor? For example to Azure?
Yes, TCP connection can be started and then data can be transmitted to cloud. Alternatively, it can be done through MQTT channel
Is there more examples on how to use STM32Cube Monitor?
The instructions are in CubeMonitor Wiki (menu/help/wiki or https://wiki.st.com/stm32mcu/wiki/STM32CubeMonitor:STM32CubeMonitor_overview). There is a short video getting started : https://www.youtube.com/watch?v=bTJhqHWniZE and the more complete video from the webinar.
It is possible to setup Monitor as BLE sniffer?
No, there is no BLE sniffing capability
May the latency introduced in an application be predicted by IDE?
Latency in the application is very low, as there is no code change, only some debug access to the bus.
Regarding the custom variable. is also possible define custom variable like struct pointer like the live expression on the normal debugger
The tool will not be able to evaluate the content of the struct if it is global.
So it is possible to use the dashboard without st-link / SWD over UART and access same variables than via SWD?
To read/write data from/to STM32 memory, supported probe is only ST-Link. It can be any ST-Link version, preferred is V2 or V3. UART or USB CDC VCP can be used to communicate like with serial terminal
Thank you for a very interesting presentation! I didn't know ST offered a tool such as this! Is it a new product?
Yes the tool has been release last year
There is any limit on how many items are in the dashboard?
The tool can handle hundreds of variable, but the dashboard must be organised to display it. It is difficult to wee a lot of variable in a chart, but if data are logged in a file or processed in a flow, then it is fine. Please keep in mind that bandwidth is shared, so with 100 variables, it is difficult to have high refresh rate.
To see the data remotely, Does STM32 needs local gateway such as computer or it can use WiFi as well?
STM32 must be conencted with ST-Link to local computer/gateway. then smartphone can monitor by using wifi to conenct to the gateway
What about using CubeMonitor in noisy environments? What happens to data-aquisition if connection to MCU lacks or is disturbed by EMI/noise?
Some data may be corrupted, or acquisition may stop with an error. In this case lowering the speed and redcing conenciton between probde and target should help.
What are the supported network protocols?
STM32cubeMonitor embeds node-RED default nodes : Mqtt, Http, Websocket, TCP, UDP.
What features need to be compiled into the application for CubeMonitor to work?
Nothing, it is just required to use global variables for monitored variables
What gateway are you referring to for deployment?
The gateway is another name for the computer running STM32cubeMonitor. It acts as a gateway because its manage the acquisition of data on the target, and provides a connection for local or remote dashboard monitoring. The gateway is usualy near of the target, connected with ST-link or serial.
What kind of sample rate can you achieve compared to STMStudio?
STMStudio and CubeMonitor have similar sample rate
What possibilities are there for customising the design and layout of the monitor dashboard? Do you envision it to be possible to develop full application within the monitor framework?
It is possible to customize the dashboard and organize the layout, also to create rich flows to provide a complete app. For STM32WL series, the RF test application is a CubeMonitor flow.
When I use Monitor, I often get several variables that jump to zero, then they jump back to their real value. When I put a breakpoint in the app, the values are not really going to zero. I think somehow Monitor is sometimes passing a zero when the value is not really zero. I have set my firmware to produce the value every 20ms and I have set monitor to read the value every 50ms. Nothing seems to help. Do you have any ideas how I get rid of these false values?
When the core is stopped, there is no clock, and the values returned are 0. This zero may occur because the system is sleeping or in WFI.
Where are the slides for the practical demo?
The demo has been recorded, it is available here : https://www.st.com/content/st_com/en/about/events/events.html/stm32-application-monitoring-with-stm32cubemonitor-webinar.html
Which debug probes are supported?
Any ST-Link debug probe in SWD or JTAG configuration
Which java versions does CM require to run ? Will openjdk be supported. Thanks Martin
CubeMonitor does not use java but use javascript, and it is already embedded in the tool.
Why would anyone want to build their own monitor when they can just debug and watch variables with the CubeIDE and much more, more easily?
Some developers prefer to have a dashboard view which could be more synthetic than the view in IDE. the tool opens a lot of possibilities to process data, send it to another server, or trig specific actions. It is also possible to include inputs from serial port.
Will a version be made that could access the variables via an interface besides JTAG/SWD such as Ethernet or serial?
The ST-Link is used to have direct access to the memory without changing the embedded application. Access through serial or ethernet does not provide direct access to memory, an application sending some data over ethernet or serial is required.