STM32F103_RGB_Controller.elf.launch 5.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  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.jlink_check_serial_number" value="false"/>
  8. <stringAttribute key="com.atollic.hardwaredebug.jlink_common.jlink_script_path" value=""/>
  9. <booleanAttribute key="com.atollic.hardwaredebug.jlink_common.jlink_script_used" value="false"/>
  10. <stringAttribute key="com.atollic.hardwaredebug.jlink_common.jlink_txt_serial_number" value=""/>
  11. <booleanAttribute key="com.atollic.hardwaredebug.jlink_common.scan_chain_auto" value="true"/>
  12. <intAttribute key="com.atollic.hardwaredebug.jlink_common.scan_chain_irpre" value="0"/>
  13. <intAttribute key="com.atollic.hardwaredebug.jlink_common.scan_chain_pos" value="0"/>
  14. <stringAttribute key="com.atollic.hardwaredebug.jlink_common.selected_rtos" value="No RTOS"/>
  15. <intAttribute key="com.atollic.hardwaredebug.launch.formatVersion" value="2"/>
  16. <stringAttribute key="com.atollic.hardwaredebug.launch.hwinitCommands" value="# Initialize your hardware here&#10;"/>
  17. <stringAttribute key="com.atollic.hardwaredebug.launch.initCommands" value=""/>
  18. <stringAttribute key="com.atollic.hardwaredebug.launch.ipAddress" value="localhost"/>
  19. <stringAttribute key="com.atollic.hardwaredebug.launch.jtagDevice" value="ST-LINK"/>
  20. <intAttribute key="com.atollic.hardwaredebug.launch.portNumber" value="61234"/>
  21. <stringAttribute key="com.atollic.hardwaredebug.launch.remoteCommand" value="target extended-remote"/>
  22. <stringAttribute key="com.atollic.hardwaredebug.launch.runCommands" value="# Set flash parallelism mode to 32, 16, or 8 bit when using STM32 F2/F4 microcontrollers&#10;# Uncomment next line, 2=32 bit, 1=16 bit and 0=8 bit parallelism mode&#10;#monitor flash set_parallelism_mode 2&#10;&#10;# Set character encoding&#10;set host-charset CP1252&#10;set target-charset CP1252&#10;&#10;# Reset to known state&#10;monitor reset&#10;&#10;# Load the program executable&#10;load&#9;&#9;&#10;&#10;# Reset the chip to get to a known state. Remove &quot;monitor reset&quot; command &#10;# if the code is not located at default address and does not run by reset. &#10;monitor reset&#10;&#10;# Enable Debug connection in low power modes (DBGMCU-&gt;CR)&#10;set *0xE0042004 = (*0xE0042004) | 0x7&#10;&#10;# Set a breakpoint at main().&#10;tbreak main&#10;&#10;# Run to the breakpoint.&#10;continue"/>
  23. <stringAttribute key="com.atollic.hardwaredebug.launch.serverParam" value="-p 61234 -l 1 -d -s -cp &quot;C:\Program Files (x86)\Atollic\TrueSTUDIO for STM32 9.3.0\Servers\STM32CubeProgrammer\bin&quot;"/>
  24. <booleanAttribute key="com.atollic.hardwaredebug.launch.startServer" value="true"/>
  25. <booleanAttribute key="com.atollic.hardwaredebug.launch.swd_mode" value="true"/>
  26. <stringAttribute key="com.atollic.hardwaredebug.launch.swv_port" value="61235"/>
  27. <stringAttribute key="com.atollic.hardwaredebug.launch.swv_trace_div" value="8"/>
  28. <stringAttribute key="com.atollic.hardwaredebug.launch.swv_trace_hclk" value="8000000"/>
  29. <booleanAttribute key="com.atollic.hardwaredebug.launch.swv_wait_for_sync" value="true"/>
  30. <intAttribute key="com.atollic.hardwaredebug.launch.trace_system" value="0"/>
  31. <booleanAttribute key="com.atollic.hardwaredebug.launch.useRemoteTarget" value="true"/>
  32. <booleanAttribute key="com.atollic.hardwaredebug.launch.verify_flash_download" value="true"/>
  33. <booleanAttribute key="com.atollic.hardwaredebug.stlink.enable_external_loader" value="false"/>
  34. <booleanAttribute key="com.atollic.hardwaredebug.stlink.enable_logging" value="false"/>
  35. <stringAttribute key="com.atollic.hardwaredebug.stlink.external_loader" value=""/>
  36. <stringAttribute key="com.atollic.hardwaredebug.stlink.log_file" value="D:\workspace\STM32F103_RGB_Controller\Debug\st-link_gdbserver_log.txt"/>
  37. <booleanAttribute key="com.atollic.hardwaredebug.stlink.stlink_check_serial_number" value="false"/>
  38. <stringAttribute key="com.atollic.hardwaredebug.stlink.stlink_txt_serial_number" value=""/>
  39. <stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="${TOOLCHAIN_PATH}/arm-atollic-eabi-gdb"/>
  40. <intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2"/>
  41. <stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_REGISTER_GROUPS" value=""/>
  42. <stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="Debug/STM32F103_RGB_Controller.elf"/>
  43. <stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="STM32F103_RGB_Controller"/>
  44. <booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="false"/>
  45. <stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value=""/>
  46. <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
  47. <listEntry value="/STM32F103_RGB_Controller"/>
  48. </listAttribute>
  49. <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
  50. <listEntry value="4"/>
  51. </listAttribute>
  52. <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;&#13;&#10;&lt;memoryBlockExpressionList context=&quot;reserved-for-future-use&quot;/&gt;&#13;&#10;"/>
  53. <stringAttribute key="process_factory_id" value="org.eclipse.cdt.dsf.gdb.GdbProcessFactory"/>
  54. </launchConfiguration>