2026-04-20 6:50 PM - edited 2026-04-20 6:52 PM
On a custom STM32H523-based board connected via STLink 2.0 (swd, p2p in CubeMonitor), all selected variables are plotted as 0, including those whose initial value is not 0. I used the Basic_Flow template, where I set acq_out, acq_in, and loaded variable addresses from an ELF following this guide. The executable is proven to update values under GDB. I have tried rebuilding with -O0 and reconnecting and changing sampling frequency between sequential loop and 10 Hz. The code does not contain any standby instructions and the port looks fine since GDB works. I would appreciate any help or advice.
Solved! Go to Solution.
2026-04-21 12:15 AM
Hello
There are 2 points to check : the access point ( it may be 1 for H523) and the use of WFI / sleep in the software. Details are in this wiki : Troubleshooting#STM32CubeMonitor_plots_variables_but_their_values_seems_to_be_0
Please, let us know if it solves the problem.
2026-04-21 12:15 AM
Hello
There are 2 points to check : the access point ( it may be 1 for H523) and the use of WFI / sleep in the software. Details are in this wiki : Troubleshooting#STM32CubeMonitor_plots_variables_but_their_values_seems_to_be_0
Please, let us know if it solves the problem.
2026-04-21 4:01 PM
Setting access point to 1 worked. Thanks!