Hi,
I am using Keil uVision V5.27.1.0 to compile and debug a code produced for an STM32L072 micro
Is it possible to set a breakpoint when an IO port changes and if so, instructions about how to do it would be appreciated.
Thank You
Regards
Pretty sure the Core doesn't actively probe memory to see it change, you have to read a memory location for the breakpoint unit to inspect it.
The CM0(+) parts also tend to be seriously lacking debug resources to save transistors, so you need to approach the diagnostic exercise in a different direction.
For a GPIO pin, use it to trigger an EXTI, or input to a TIM if that's mappable to the pin in question.