http:\\eraycanli.com\2015\08\19\stm32-gnu-arm-gcc-toolchain-with-eclipse-stlink-and-openocd-debugger\ Eray Canli "STM32 GNU ARM GCC Toolchain with Eclipse, STLink and OpenOCD Debugger" by Eray Canli https://github.com/adamgreen/gcc4mbed/blob/master/notes/eclipse.creole "Install GCC4MBED Project" by Adam Green https://github.com/adamgreen/mri "MRI - Monitor for Remote Inspection" by Adam Green https://developer.mbed.org/forum/mbed/topic/2701/?page=6 "Offline GCC compiler works with mbed libraries!" by Adam Green C:\eclipse\openocd-0.9.0\openocd-0.9.0\scripts\board\st_nucleo_f4.cfg C:\eclipse\gcc4mbed-master\gcc4mbed-master\external\mbed C:\eclipse\gcc4mbed-master\gcc4mbed-master\external\mbed\libraries\mbed C:\eclipse\gcc4mbed-master\gcc4mbed-master\external\mbed\libraries\mbed\hal C:\eclipse\gcc4mbed-master\gcc4mbed-master\external\mbed\libraries\mbed\api C:\eclipse\gcc4mbed-master\gcc4mbed-master\external\mbed\libraries\mbed\common C:\eclipse\gcc4mbed-master\gcc4mbed-master\external\mbed\libraries\mbed\targets\hal C:\eclipse\gcc4mbed-master\gcc4mbed-master\external\mbed\libraries\mbed\targets\cmsis C:\eclipse\gcc4mbed-master\gcc4mbed-master\external\mbed\libraries\mbed\targets\cmsis\TARGET_STM\TARGET_STM32F4\TARGET_NUCLEO_F446RE\TOOLCHAIN_GCC_ARM C:\eclipse\gcc4mbed-master\gcc4mbed-master\external\mbed\libraries\mbed\targets\hal\TARGET_STM\TARGET_STM32F4\TARGET_NUCLEO_F446RE ====================================================================== 16:39:38 **** Build of configuration Default for project HelloWorldEclipse **** make all text data bss dec hex filename 24116 132 784 25032 61c8 DISCO_F407VG/HelloWorld.elf - text data bss dec hex filename 38728 148 1796 40672 9ee0 DISCO_F429ZI/HelloWorld.elf - text data bss dec hex filename 21372 132 460 21964 55cc KL25Z/HelloWorld.elf - text data bss dec hex filename 35356 128 1316 36800 8fc0 LPC1768/HelloWorld.elf - text data bss dec hex filename 19896 132 436 20464 4ff0 LPC11C24/HelloWorld.elf - text data bss dec hex filename 34272 128 1676 36076 8cec LPC4330_M4/HelloWorld.elf - text data bss dec hex filename 118876 136 628 119640 1d358 NRF51822/HelloWorld.elf - text data bss dec hex filename 23572 132 784 24488 5fa8 NUCLEO_F401RE/HelloWorld.elf - text data bss dec hex filename 23580 132 784 24496 5fb0 NUCLEO_F411RE/HelloWorld.elf - Compiling ../../external/mbed/libraries/mbed/common/assert.c Compiling ../../external/mbed/libraries/mbed/common/board.c Compiling ../../external/mbed/libraries/mbed/common/error.c Compiling ../../external/mbed/libraries/mbed/common/gpio.c Compiling ../../external/mbed/libraries/mbed/common/lp_ticker_api.c Compiling ../../external/mbed/libraries/mbed/common/mbed_interface.c Compiling ../../external/mbed/libraries/mbed/common/pinmap_common.c Compiling ../../external/mbed/libraries/mbed/common/rtc_time.c Compiling ../../external/mbed/libraries/mbed/common/semihost_api.c Compiling ../../external/mbed/libraries/mbed/common/ticker_api.c Compiling ../../external/mbed/libraries/mbed/common/us_ticker_api.c Compiling ../../external/mbed/libraries/mbed/common/wait_api.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_adc.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_adc_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_can.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cec.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cortex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_crc.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cryp.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cryp_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dac.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dac_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dcmi.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dcmi_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma2d.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dsi.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_eth.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash_ramfunc.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_fmpi2c.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_fmpi2c_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_gpio.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hcd.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2c.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2c_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2s.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2s_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_irda.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_iwdg.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_lptim.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_ltdc.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_ltdc_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_msp_template.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_nand.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_nor.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pccard.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd.c ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd.c: In function 'PCD_WriteEmptyTxFifo': ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd.c:1169:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > ep->maxpacket) ^ ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd.c:1184:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > ep->maxpacket) ^ Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pwr.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pwr_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_qspi.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rcc.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rcc_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rng.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rtc.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rtc_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sai.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sai_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sd.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sdram.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_smartcard.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_spdifrx.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_spi.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sram.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_tim.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_tim_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_uart.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_usart.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_wwdg.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_fmc.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_fsmc.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_sdmmc.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_usb.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/cmsis_nvic.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/hal_tick.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/system_stm32f4xx.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/analogin_api.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/analogout_api.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/gpio_api.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/gpio_irq_api.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/i2c_api.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/mbed_overrides.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/pinmap.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/port_api.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/pwmout_api.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/rtc_api.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/serial_api.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/sleep.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/spi_api.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/us_ticker.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/PeripheralPins.c Compiling ../../external/mbed/libraries/mbed/common/BusIn.cpp Compiling ../../external/mbed/libraries/mbed/common/BusInOut.cpp Compiling ../../external/mbed/libraries/mbed/common/BusOut.cpp Compiling ../../external/mbed/libraries/mbed/common/CallChain.cpp Compiling ../../external/mbed/libraries/mbed/common/CAN.cpp Compiling ../../external/mbed/libraries/mbed/common/Ethernet.cpp Compiling ../../external/mbed/libraries/mbed/common/FileBase.cpp Compiling ../../external/mbed/libraries/mbed/common/FileLike.cpp Compiling ../../external/mbed/libraries/mbed/common/FilePath.cpp Compiling ../../external/mbed/libraries/mbed/common/FileSystemLike.cpp Compiling ../../external/mbed/libraries/mbed/common/I2C.cpp Compiling ../../external/mbed/libraries/mbed/common/I2CSlave.cpp Compiling ../../external/mbed/libraries/mbed/common/InterruptIn.cpp Compiling ../../external/mbed/libraries/mbed/common/InterruptManager.cpp Compiling ../../external/mbed/libraries/mbed/common/LocalFileSystem.cpp Compiling ../../external/mbed/libraries/mbed/common/RawSerial.cpp Compiling ../../external/mbed/libraries/mbed/common/retarget.cpp Compiling ../../external/mbed/libraries/mbed/common/Serial.cpp Compiling ../../external/mbed/libraries/mbed/common/SerialBase.cpp Compiling ../../external/mbed/libraries/mbed/common/SPI.cpp Compiling ../../external/mbed/libraries/mbed/common/SPISlave.cpp Compiling ../../external/mbed/libraries/mbed/common/Stream.cpp Compiling ../../external/mbed/libraries/mbed/common/Ticker.cpp Compiling ../../external/mbed/libraries/mbed/common/Timeout.cpp Compiling ../../external/mbed/libraries/mbed/common/Timer.cpp Compiling ../../external/mbed/libraries/mbed/common/TimerEvent.cpp Assembling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_GCC_ARM/startup_stm32f446xx.s Linking release library ../../external/mbed/Release/NUCLEO_F446RE/mbed.a Linking NUCLEO_F446RE/HelloWorld.elf Extracting NUCLEO_F446RE/HelloWorld.bin Extracting NUCLEO_F446RE/HelloWorld.hex Extracting disassembly to NUCLEO_F446RE/HelloWorld.disasm text data bss dec hex filename 20676 132 784 21592 5458 NUCLEO_F446RE/HelloWorld.elf - text data bss dec hex filename 26148 132 732 27012 6984 NUCLEO_F072RB/HelloWorld.elf - text data bss dec hex filename 27424 132 692 28248 6e58 NUCLEO_F103RB/HelloWorld.elf - text data bss dec hex filename 26664 132 740 27536 6b90 NUCLEO_L053R8/HelloWorld.elf - 16:41:48 Build Finished (took 2m:10s.86ms) ==================================================================== -c SWD -P ${workspace_loc}\${project_path}\${config_name:${project_name}}\${project_name}.hex 0×08000000 -Rst -c SWD -P C:\eclipse\gcc4mbed-master\gcc4mbed-master\samples\HelloWorld\NUCLEO_F446RE\HelloWorld.hex 0×08000000 -Rst ==================================================================== STM32 ST-LINK CLI v2.4.0 STM32 ST-LINK Command Line Interface ST-LINK SN : 0669FF575256867067024210 ST-LINK Firmware version : V2J25M13 Connected via SWD. SWD Frequency = 4000K. Target voltage = 3.3 V. Connection mode : Normal. Device ID:0x421 Device flash Size : 512 Kbytes Device family :STM32F446xx Loading file... Flash Programming: File : C:\eclipse\gcc4mbed-master\gcc4mbed-master\samples\HelloWorld\NUCLEO_F446RE\HelloWorld.hex Address : 0x08000000 Memory programming... ±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±± 0% 0%ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ 100% Memory programmed in 0s and 734ms. Programming Complete. MCU Reset. ====================================================================== ${cross_prefix}gdb${cross_suffix} C:\eclipse\gcc4mbed-master\gcc4mbed-master\gcc-arm-none-eabi\bin\arm-none-eabi-gdb.exe ====================================================================== Open On-Chip Debugger 0.9.0 (2015-05-19-12:09) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD adapter speed: 2000 kHz adapter_nsrst_delay: 100 none separate srst_only separate srst_nogate srst_open_drain connect_deassert_srst Started by GNU ARM Eclipse Info : Unable to match requested speed 2000 kHz, using 1800 kHz Info : Unable to match requested speed 2000 kHz, using 1800 kHz Info : clock speed 1800 kHz Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED Info : STLINK v2 JTAG v25 API v2 SWIM v13 VID 0x0483 PID 0x374B Info : using stlink api v2 Info : Target voltage: 3.259513 Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints Info : accepting 'gdb' connection on tcp/3333 Info : device id = 0x10006421 Info : flash size = 512kbytes undefined debug reason 7 - target needs reset target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x08002a34 msp: 0x20020000 semihosting is enabled target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x08002a34 msp: 0x20020000, semihosting target state: halted target halted due to breakpoint, current mode: Thread xPSR: 0x61000000 pc: 0x20000042 msp: 0x20020000, semihosting target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x08002a34 msp: 0x20020000, semihosting target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x08002a34 msp: 0x20020000, semihosting ===== arm v7m registers (0) r0 (/32): 0x00000000 (1) r1 (/32): 0x00000000 (2) r2 (/32): 0x00000000 (3) r3 (/32): 0x00000000 (4) r4 (/32): 0x00000000 (5) r5 (/32): 0x00000000 (6) r6 (/32): 0x00000000 (7) r7 (/32): 0x00000000 (8) r8 (/32): 0x00000000 (9) r9 (/32): 0x00000000 (10) r10 (/32): 0x00000000 (11) r11 (/32): 0x00000000 (12) r12 (/32): 0x00000000 (13) sp (/32): 0x20020000 (14) lr (/32): 0xFFFFFFFF (15) pc (/32): 0x08002A34 (16) xPSR (/32): 0x01000000 (17) msp (/32): 0x20020000 (18) psp (/32): 0x00000000 (19) primask (/1): 0x00 (20) basepri (/8): 0x00 (21) faultmask (/1): 0x00 (22) control (/2): 0x00 (23) d0 (/64): 0x0000000000000000 (24) d1 (/64): 0x0000000000000000 (25) d2 (/64): 0x0000000000000000 (26) d3 (/64): 0x0000000000000000 (27) d4 (/64): 0x0000000000000000 (28) d5 (/64): 0x0000000000000000 (29) d6 (/64): 0x0000000000000000 (30) d7 (/64): 0x0000000000000000 (31) d8 (/64): 0x0000000000000000 (32) d9 (/64): 0x0000000000000000 (33) d10 (/64): 0x0000000000000000 (34) d11 (/64): 0x0000000000000000 (35) d12 (/64): 0x0000000000000000 (36) d13 (/64): 0x0000000000000000 (37) d14 (/64): 0x0000000000000000 (38) d15 (/64): 0x0000000000000000 (39) fpscr (/32): 0x00000000 ===== Cortex-M DWT registers (40) dwt_ctrl (/32) (41) dwt_cyccnt (/32) (42) dwt_0_comp (/32) (43) dwt_0_mask (/4) (44) dwt_0_function (/32) (45) dwt_1_comp (/32) (46) dwt_1_mask (/4) (47) dwt_1_function (/32) (48) dwt_2_comp (/32) (49) dwt_2_mask (/4) (50) dwt_2_function (/32) (51) dwt_3_comp (/32) (52) dwt_3_mask (/4) (53) dwt_3_function (/32)