Can't update GPIOx_MODER register value in STM32H753.
I work with STM32H753 through 3-rd side hardware (Algocraft WN-1 programmer) and have an access to the registers. I try to read/write GPIOJ pins. For this purpose I enabled GPIOJ clock by writing the AHB4 peripheral clock enable register (RCC_AHB4ENR)
// Write to AHB4 peripheral clock enable register (RCC_AHB4ENR) to enable GPIOJ
#prog -o cmd -c write -t h580244e0 -l 4 --data h00000200 --mask h132807ff
#prog -o cmd -c compare -t h580244e0 -l 4 --data h00000200 --mask h132807ff --timeout 6000
and want to define PJ6 pin as common output:
// Write to GPIO port mode register (GPIOJ_MODER) PJ6 - OUT, PJ7 - IN
#prog -o cmd -c write -t h58022400 -l 4 --data h00001000 --mask hffffffff
but always read hffffffff value from this register.
What wrong?
