2020-07-15 08:31 AM
Hello,
In STM32CubeMonitor in the variables node, we can add variable from the content of the RAM. Is it possible to do the same thing with the content of a register ? I want to monitor the sp register of an STM32F4.
Solved! Go to Solution.
2020-07-16 11:59 PM
Hi rromano001,
Thanks for your help, I wilI see if STM32CubeIDE it may be the right solution.
Best regards
2020-07-15 09:50 AM
Hello
It is possible to monitor the peripherals registers (GPIO, TIMER, ...) which are mapped in memory. But it is NOT possible for the core registers.
Best regards
2020-07-15 10:30 AM
thank you for your reply. Will this be possible in a future update?
Do you know of any tools that can monitor memory usage? stack size, etc ...
Best regards
2020-07-15 12:32 PM
Hi Stm32cubeide can.
Cube monitor can inspect variables. You can add code to periodic interrupt that copy SP content to a variable in ram. After that you can monitor register indirectly.
2020-07-15 01:46 PM
registers change too fast vs undersampling by swd... for what practical use?
2020-07-16 12:48 AM
Thank you for your reply.
I just want to do an analysis of memory usage during an execution. See the evolution of the size of the stack and the heap. Know the memory use in RAM and CCRAM section.
I understood that STM32CubeMonitor is not made for that. However, do you have a tool to do this kind of analysis?
Best regards
2020-07-16 01:58 AM
Hi WWant, sorry Inspected debug menu, STM32CubeIDE has no profiler.
AC6 IDE has profiler.
2020-07-16 11:59 PM
Hi rromano001,
Thanks for your help, I wilI see if STM32CubeIDE it may be the right solution.
Best regards
2020-07-19 05:47 AM
Hi WWant, please accept my apologizes about wrong answer:
AC6 IDEalso known as Sytem Workbench for STM32 has profiler, STMCube is not integrated.
STMCubeIDE at first glance resemble AC6 with Cube integrated. At close inspection some tools are not present.
Profiler you need for inspecting is not there.
Sorry again about first time I reply for.
Best regards