STM32F103_RGB_Controller_Bootloader.elf.launch 5.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <launchConfiguration type="com.atollic.hardwaredebug.launch.launchConfigurationType">
  3. <stringAttribute key="com.atollic.hardwaredebug.jlink_common.cpu_core" value="Cortex-M" />
  4. <stringAttribute key="com.atollic.hardwaredebug.jlink_common.device" value="STM32F103RC" />
  5. <stringAttribute key="com.atollic.hardwaredebug.jlink_common.endian" value="little" />
  6. <stringAttribute key="com.atollic.hardwaredebug.jlink_common.init_speed" value="4000" />
  7. <booleanAttribute key="com.atollic.hardwaredebug.jlink_common.scan_chain_auto" value="true" />
  8. <intAttribute key="com.atollic.hardwaredebug.jlink_common.scan_chain_irpre" value="0" />
  9. <intAttribute key="com.atollic.hardwaredebug.jlink_common.scan_chain_pos" value="0" />
  10. <stringAttribute key="com.atollic.hardwaredebug.launch.analyzeCommands" value="# Set flash parallelism mode to 32, 16, or 8 bit when using STM32 F2/F4 microcontrollers&#xD;&#xA;# 2=32 bit, 1=16 bit and 0=8 bit parallelism mode&#xD;&#xA;monitor flash set_parallelism_mode 2&#xD;&#xA;&#xD;&#xA;# Load the program executable&#xD;&#xA;load&#x9;&#x9;&#xD;&#xA;&#xD;&#xA;# Enable Debug connection in low power modes (DBGMCU-&gt;CR)&#xD;&#xA;set *0xE0042004 = (*0xE0042004) | 0x7&#xD;&#xA;# Start the executable&#xD;&#xA;continue" />
  11. <booleanAttribute key="com.atollic.hardwaredebug.launch.enable_swv" value="false" />
  12. <intAttribute key="com.atollic.hardwaredebug.launch.formatVersion" value="2" />
  13. <stringAttribute key="com.atollic.hardwaredebug.launch.ipAddress" value="localhost" />
  14. <stringAttribute key="com.atollic.hardwaredebug.launch.jtagDevice" value="ST-LINK" />
  15. <intAttribute key="com.atollic.hardwaredebug.launch.portNumber" value="61234" />
  16. <stringAttribute key="com.atollic.hardwaredebug.launch.remoteCommand" value="target extended-remote" />
  17. <stringAttribute key="com.atollic.hardwaredebug.launch.runCommands" value="# Set flash parallelism mode to 32, 16, or 8 bit when using STM32 F2/F4 microcontrollers&#xD;&#xA;# 2=32 bit, 1=16 bit and 0=8 bit parallelism mode&#xD;&#xA;monitor flash set_parallelism_mode 2&#xD;&#xA;&#xD;&#xA;# Load the program executable&#xD;&#xA;load&#x9;&#x9;&#xD;&#xA;&#xD;&#xA;# Enable Debug connection in low power modes (DBGMCU-&gt;CR)&#xD;&#xA;set *0xE0042004 = (*0xE0042004) | 0x7&#xD;&#xA;# Set a breakpoint at main().&#xD;&#xA;tbreak main&#xD;&#xA;&#xD;&#xA;# Run to the breakpoint.&#xD;&#xA;continue" />
  18. <stringAttribute key="com.atollic.hardwaredebug.launch.serverParam" value="-p 61234 -l 1 -d" />
  19. <booleanAttribute key="com.atollic.hardwaredebug.launch.startServer" value="true" />
  20. <booleanAttribute key="com.atollic.hardwaredebug.launch.swd_mode" value="true" />
  21. <stringAttribute key="com.atollic.hardwaredebug.launch.swv_port" value="61235" />
  22. <stringAttribute key="com.atollic.hardwaredebug.launch.swv_trace_div" value="120" />
  23. <stringAttribute key="com.atollic.hardwaredebug.launch.swv_trace_hclk" value="120000000" />
  24. <booleanAttribute key="com.atollic.hardwaredebug.launch.swv_wait_for_sync" value="true" />
  25. <booleanAttribute key="com.atollic.hardwaredebug.launch.useRemoteTarget" value="true" />
  26. <stringAttribute key="com.atollic.hardwaredebug.launch.verifyCommands" value="# Set flash parallelism mode to 32, 16, or 8 bit when using STM32 F2/F4 microcontrollers&#xD;&#xA;# 2=32 bit, 1=16 bit and 0=8 bit parallelism mode&#xD;&#xA;monitor flash set_parallelism_mode 2&#xD;&#xA;&#xD;&#xA;# Load the program executable&#xD;&#xA;load&#x9;&#x9;&#xD;&#xA;&#xD;&#xA;# Enable Debug connection in low power modes (DBGMCU-&gt;CR)&#xD;&#xA;set *0xE0042004 = (*0xE0042004) | 0x7&#xD;&#xA;# The executable starts automatically" />
  27. <booleanAttribute key="com.atollic.hardwaredebug.stlink.enable_logging" value="false" />
  28. <stringAttribute key="com.atollic.hardwaredebug.stlink.log_file" value="D:/workspace/STM32F103_RGB_Controller_Bootloader/\Debug\st-link_gdbserver_log.txt" />
  29. <booleanAttribute key="com.atollic.hardwaredebug.stlink.verify_flash" value="false" />
  30. <stringAttribute key="org.eclipse.cdt.debug.mi.core.DEBUG_NAME" value="${TOOLCHAIN_PATH}/arm-atollic-eabi-gdb" />
  31. <stringAttribute key="org.eclipse.cdt.debug.mi.core.commandFactory" value="Standard (Windows)" />
  32. <stringAttribute key="org.eclipse.cdt.debug.mi.core.protocol" value="mi" />
  33. <booleanAttribute key="org.eclipse.cdt.debug.mi.core.verboseMode" value="false" />
  34. <stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="${TOOLCHAIN_PATH}/arm-atollic-eabi-gdb" />
  35. <intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2" />
  36. <stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="Debug/STM32F103_RGB_Controller_Bootloader.elf" />
  37. <stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="STM32F103_RGB_Controller_Bootloader" />
  38. <stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value="" />
  39. <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
  40. <listEntry value="/STM32F103_RGB_Controller_Bootloader" />
  41. </listAttribute>
  42. <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
  43. <listEntry value="4" />
  44. </listAttribute>
  45. <stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#xD;&#xA;&lt;memoryBlockExpressionList context=&quot;reserved-for-future-use&quot;/&gt;&#xD;&#xA;" />
  46. </launchConfiguration>