IDE:MDK5.23.0.0
MCU:STM32F103RET6
Code generate:STM32CubeMX
Q1:How to set the DBGMCU_CR register on MDK?
I tried two solutions to set DBGMCU_CR on MDK, but failed.
Solution 1
Add the conf_STM32F103RE.ini file on Options->Debug->Initialization file.…