AN4989 Rev 3
101/118
AN4989
Managing DBGMCU registers
117
Figure 76. Keil
®
Initialization script setting
Sample code for Init file setting DBGMCU registers on M0 based MCU (Clock enabling)
FUNC void DBGMCUSetup (void) {
// DBGMCU configuration
_WDWORD(0x40021034, 0x00400000); // Enable clock DBG
_WDWORD(0x40015804, 0x00000007); // DBG_CR
_WDWORD(0x40015808, 0x00000001); // DBG_APB1_FZ
}
DBGMCUSetup();
For further information regarding Keil
®
MDK-Arm µVision initialization script, refer to
http://www.keil.com.
Содержание STM32 Series
Страница 46: ...Connecting to the board AN4989 46 118 AN4989 Rev 3 Figure 30 Keil hotplug step2 ...
Страница 91: ...AN4989 Rev 3 91 118 AN4989 Debug through hardware exploration 117 Figure 69 STM32F4 F7 dual MCO capabilities ...
Страница 103: ...AN4989 Rev 3 103 118 AN4989 Managing DBGMCU registers 117 Figure 78 Generator Options debug MCU in STM32CubeIDE ...