2020-04-07 07:46 PM
Hi I am using STM32G431 and last version of CubeIDE.
When I am debugging on ADC12 Common resistor, It's address is 0x50000200.
The address should be 0x50000300.
How can I change that address?
Or Can you change it?
2020-04-07 07:56 PM
It's defined in stm32g431xx.h. Make sure you're including the right file. Appears to be correct:
#define ADC12_COMMON_BASE (AHB2PERIPH_BASE + 0x08000300UL)
2020-04-08 02:07 AM
Thank you for your answer. But I am talking about SVD File.
Anyway I found that file below link.
https://github.com/posborne/cmsis-svd/
and I changed the base address of ADC12_COMMON_BASE.
Now I can debug without problem. I think ST should change SVD file.
2020-04-10 10:24 AM
Hi @khong.1 ,
Thanks for bringing the error to our attention. It is tracked internally.
-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.