Skip to main content
Associate
Nov 13, 2026 5:45 AM UTC
Question

How to write variable in cube-monitor?

Core issue: Clearly state that STM32CubeMonitor fails to write to the variable. Even though reading works normally and the address/type are correct, the write has no effect.


Items already ruled out: Tell the engineer that you have checked the address (consistent with the IDE debugger), type, Access Point, WFI/WFE, SWD frequency, and USB port, and have tried both the write panel and a custom flow.


Key evidence: Attach the debug log from the write panel (showing validity: true but the value unchanged), as well as the specific chip model (Cortex-M0).

 

 

 

5 replies

xnkAuthor
Associate
Nov 13, 2026 7:27 AM UTC

Fortunately, the issue has been resolved. Due to my carelessness, the variable I selected was being recalculated by the MCU after each write, overwriting the newly written value with the original value.

stephane.legargeant
ST Employee
Nov 13, 2026 12:08 PM UTC

Hello xnk

Thank you for the update.

The target of STM32CubeMonitor is to be transparent for the app. So the variables written are not locked, and if some internal update is performed, the value written by CubeMonitor is lost. 

 

 

xnkAuthor
Associate
Nov 17, 2026 7:52 AM UTC

我现在删除了数据写入的业务相关逻辑,但是三个 myProbe_Out 命名的acqstlink out节点报错了,数据是正常显示变动的,你知道原因吗,

2026/11/17 15:22:45节点: myProbe_Out1

msg : string[17]

"Parameter missing"

2026/11/17 15:22:46节点: myProbe_Out2

msg : string[17]

"Parameter missing"

2026/11/17 15:22:46节点: myProbe_Out3

msg : string[17]

"Parameter missing"