Trying to access STM32L072CZ AHB2 addresses from SWD
Hi,
New to STM32 I'm discovering the STM32L072CZ, I'm trying to access the AHB2 bus by SWD interface in order to r/w on addresses (say 0x4800 0000 on peripheral GPIOA). When performing a coresight read on 0x48000000 I got 0xBC11477.
After checking Ultra-low-power STM32L0x2 advanced Arm®-based 32-bit MCUs - Reference manual page 56/1009 it says "After each device reset, all peripheral clocks are disabled (except for the SRAM and MIF).
Before using a peripheral you have to enable its clock in the RCC_AHBENR,
RCC_APB2ENR, RCC_APB1ENR or RCC_IOPENR register."
I have no clue how to access RCC_AHBENR since RCC is defined on AHB1.
Trying to read on the boundary address 0x40021000-0x400213FF gives in cycle 0xbc11477 0xf0000040 (unspecified error) 0x0... I don't know what does that mean.
Am I on the right way ? thanks.
