Skip to main content
Associate
April 21, 2026
Solved

Probe reports 0 for all monitored variables

  • April 21, 2026
  • 2 replies
  • 70 views

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.

    Best answer by stephane.legargeant

    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.

     

    2 replies

    stephane.legargeant
    ST Employee
    April 21, 2026

    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.

     

    alexpeachAuthor
    Associate
    April 21, 2026

    Setting access point to 1 worked. Thanks!