STM32F072 GPIO Register inaccesible
Hello STM Community,
I'm trying to evaluate the STM as a viable alternative to NXP MCUs. However, I have encountered a very early issue with accessing GPIO registers for a simple custom blinky program. I'm working in Keil uV5. When running the STM32F072 blinky example, I can see all of the registers changing as expected in the peripherals register viewer (ODR |= (GPIOC_P << x).... etc...). However, when running my custom program, none of the registers are updating (see pic). I have checked the disassembly and all of the register addresses are equivalent between both projects (PORTC GPIO BASE = 0x4800 0800). I have enabled the peripheral clock in the custom project. Am I missing another initialization stage that might prevent me accessing the STM32 registers?

Frustrating to be stuck at such an early stage. I'm hoping that things will move a lot faster once the project is up and running. Any advice greatly appreciated.
#gpio #keil-mdk5 #stm32f072