hello there, im new to microcontrollers and i have just started programming with the STM32 series microchips, i have been reading up on setting outputs on the microchips but i have not been able to personally do it, with all the programs i have included the standard libraries as well as the stm32f103 libraries.
the problem is that when i set the configuration for a GPIO, and then check the memory space later using J-link commander, the values in the memory space is not modified.
i have also tried using J-link commander to modify the bits in too but it was of no luck (see attached)
any advice/help on how to set the output pins (e.g. for GPIOA) to be able to set it high/low or how to solve the memory not changing problem would be greatly appreciated, thanks
p.s. i have tried this and i get the same problem on both a stm32f103rb and a stm32f103cb microchips and i get the same results, so i think its probably something i didn't do
the problem is that when i set the configuration for a GPIO, and then check the memory space later using J-link commander, the values in the memory space is not modified.
i have also tried using J-link commander to modify the bits in too but it was of no luck (see attached)
any advice/help on how to set the output pins (e.g. for GPIOA) to be able to set it high/low or how to solve the memory not changing problem would be greatly appreciated, thanks

p.s. i have tried this and i get the same problem on both a stm32f103rb and a stm32f103cb microchips and i get the same results, so i think its probably something i didn't do
The post was edited 1 time, last by scarywater ().