2019-09-08 12:27 PM
Tests STM Studio Ide and microcontroller from the stm32G474 series. The debugger incorrectly reads the ADC12_COMMON register values. When I read the registers into the variable, everything is ok, it's correctly set. I attach a photo.
2019-09-12 03:22 AM
Yes, I found this problem too, with STM32G474 in keil, I figured that the register in peripheral debug window was cofigured with wrong base address 0x50000200, but the actual value is 0x50000300, I think it's a bug in keil package which ST offered to MDK. Hope solved this problem.
2019-09-12 03:52 AM
Finally, I found the source of the bug, it's in a STM32G474xx.svd fild, then I regenerate sfr file base on http://www.keil.com/support/man/docs/uv4/uv4_ut_svdconv.htm
Here is the snapshot of bug and fixed test.
I upload these files in zip package, you can download and cover your same file in keil, my path is: C:\Keil_v5\ARM\PACK\Keil\STM32G4xx_DFP\1.1.0\CMSIS. Hope it could help you.
2019-09-12 12:41 PM
I don't mind testing, but thank you for your interest and help.
2019-09-27 06:32 AM
Hello,
Please note that this error in STM32G4 svd files is reported internally.
Corrective action will be taken on this regard.
Thanks for bringing it to our attention.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.