cancel
Showing results for 
Search instead for 
Did you mean: 

Probe reports 0 for all monitored variables

alexpeach
Associate

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.

1 ACCEPTED SOLUTION

Accepted Solutions
stephane.legargeant
ST Employee

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.

 

View solution in original post

2 REPLIES 2
stephane.legargeant
ST Employee

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.

 

alexpeach
Associate

Setting access point to 1 worked. Thanks!