2020-07-27 07:18 PM
I'm using Keil IDE to program stm32 microcontrollers, Keil IDE allows to change variable's value "while code running" without breakpoints.
I want to use Cubeide instead Keil.
I can use live expression tool for watching values "while code running" but I can't change values "while code running", I bought Stlink and Segger but I couldn't change the values "while code running".
How can I change/modify variable's values "while code running" using Cubeide ? without using cubemonitor
Solved! Go to Solution.
2020-07-28 05:21 AM
unfortunately, this is true.
If you have no other choice, take a look on documentation of GDB and openOCD. you can modify variables on known memory addresses via command line interface.
2020-07-27 11:05 PM
If live watch windows don t allow it it is probably because only a single 32 bit aligned write is possible and such restriction don t make it as an intuitive feature?
2020-07-28 05:21 AM
unfortunately, this is true.
If you have no other choice, take a look on documentation of GDB and openOCD. you can modify variables on known memory addresses via command line interface.
2020-07-28 09:58 AM
thank u very much for your answers,im glad to pleased.
same code, same cpu, same debugger, keil allow to change values but cube ide doesnt allow.
is only way gdb or openocd with known memory addresses via command line interface ?
is any other way?