STM32F103ZET_JDASMBIC.elf.launch 7.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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="STM32F103ZE"/>
  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. <stringAttribute key="com.atollic.hardwaredebug.launch.analyzeCommands" value="# Set flash parallelism mode to 32, 16, or 8 bit when using STM32 F2/F4 microcontrollers&#13;&#10;# 2=32 bit, 1=16 bit and 0=8 bit parallelism mode&#13;&#10;monitor flash set_parallelism_mode 2&#13;&#10;&#13;&#10;# Load the program executable&#13;&#10;load&#9;&#9;&#13;&#10;&#13;&#10;# Enable Debug connection in low power modes (DBGMCU-&gt;CR)&#13;&#10;set *0xE0042004 = (*0xE0042004) | 0x7&#13;&#10;# Start the executable&#13;&#10;continue"/>
  16. <booleanAttribute key="com.atollic.hardwaredebug.launch.enable_live_expr" value="true"/>
  17. <intAttribute key="com.atollic.hardwaredebug.launch.formatVersion" value="2"/>
  18. <stringAttribute key="com.atollic.hardwaredebug.launch.hwinitCommands" value="# Initialize your hardware here&#10;"/>
  19. <stringAttribute key="com.atollic.hardwaredebug.launch.ipAddress" value="localhost"/>
  20. <stringAttribute key="com.atollic.hardwaredebug.launch.jtagDevice" value="SEGGER J-LINK"/>
  21. <intAttribute key="com.atollic.hardwaredebug.launch.portNumber" value="2331"/>
  22. <stringAttribute key="com.atollic.hardwaredebug.launch.remoteCommand" value="target extended-remote"/>
  23. <stringAttribute key="com.atollic.hardwaredebug.launch.runCommands" value="# Default GDB command file (FLASH) for SEGGER J-LINK and STMicroelectronics STM32F103ZE microcontroller.&#13;&#10;&#13;&#10;# Set character encoding&#13;&#10;set host-charset CP1252&#13;&#10;set target-charset CP1252&#13;&#10;&#13;&#10;# Set JTAG speed to 30 kHz&#13;&#10;monitor speed 30&#13;&#10;&#13;&#10;# Set GDBServer to little endian&#13;&#10;monitor endian little&#13;&#10;&#13;&#10;# Reset the chip to get to a known state.&#13;&#10;monitor reset&#13;&#10;&#13;&#10;# Set auto JTAG speed&#13;&#10;monitor speed auto&#13;&#10;&#13;&#10;# Setup GDB FOR FASTER DOWNLOADS&#13;&#10;set remote memory-write-packet-size 1024&#13;&#10;set remote memory-write-packet-size fixed&#13;&#10;&#13;&#10;# Enable flash download&#13;&#10;monitor flash download = 1&#13;&#10;&#13;&#10;# Load the program executable&#13;&#10;load&#9;&#9;&#13;&#10;&#13;&#10;# Reset the chip to get to a known state. Remove &quot;monitor reset&quot; command &#13;&#10;# if the code is not located at default address and does not run by reset. &#13;&#10;#monitor reset&#13;&#10;# Set a breakpoint at main().&#13;&#10;tbreak main&#13;&#10;&#13;&#10;# Run to the breakpoint.&#13;&#10;continue"/>
  24. <stringAttribute key="com.atollic.hardwaredebug.launch.serverParam" value="-port 2331 -s -CPU Cortex-M -device STM32F103ZE -endian little -speed 4000 -if swd -vd"/>
  25. <booleanAttribute key="com.atollic.hardwaredebug.launch.startServer" value="true"/>
  26. <booleanAttribute key="com.atollic.hardwaredebug.launch.swd_mode" value="true"/>
  27. <stringAttribute key="com.atollic.hardwaredebug.launch.swv_port" value="2332"/>
  28. <stringAttribute key="com.atollic.hardwaredebug.launch.swv_trace_div" value="0"/>
  29. <stringAttribute key="com.atollic.hardwaredebug.launch.swv_trace_hclk" value="8000000"/>
  30. <intAttribute key="com.atollic.hardwaredebug.launch.trace_system" value="0"/>
  31. <booleanAttribute key="com.atollic.hardwaredebug.launch.useRemoteTarget" value="true"/>
  32. <stringAttribute key="com.atollic.hardwaredebug.launch.verifyCommands" value="# Set flash parallelism mode to 32, 16, or 8 bit when using STM32 F2/F4 microcontrollers&#13;&#10;# 2=32 bit, 1=16 bit and 0=8 bit parallelism mode&#13;&#10;monitor flash set_parallelism_mode 2&#13;&#10;&#13;&#10;# Load the program executable&#13;&#10;load&#9;&#9;&#13;&#10;&#13;&#10;# Enable Debug connection in low power modes (DBGMCU-&gt;CR)&#13;&#10;set *0xE0042004 = (*0xE0042004) | 0x7&#13;&#10;# The executable starts automatically"/>
  33. <booleanAttribute key="com.atollic.hardwaredebug.launch.verify_flash_download" value="true"/>
  34. <booleanAttribute key="com.atollic.hardwaredebug.stlink.enable_external_loader" value="false"/>
  35. <booleanAttribute key="com.atollic.hardwaredebug.stlink.enable_logging" value="false"/>
  36. <stringAttribute key="com.atollic.hardwaredebug.stlink.external_loader" value=""/>
  37. <stringAttribute key="com.atollic.hardwaredebug.stlink.log_file" value="D:/workspace/STM32F103ZET_JDASMBIC/\Debug\st-link_gdbserver_log.txt"/>
  38. <booleanAttribute key="com.atollic.hardwaredebug.stlink.stlink_check_serial_number" value="false"/>
  39. <stringAttribute key="com.atollic.hardwaredebug.stlink.stlink_txt_serial_number" value=""/>
  40. <booleanAttribute key="com.atollic.hardwaredebug.stlink.verify_flash" value="false"/>
  41. <stringAttribute key="org.eclipse.cdt.debug.mi.core.DEBUG_NAME" value="${TOOLCHAIN_PATH}/arm-atollic-eabi-gdb"/>
  42. <stringAttribute key="org.eclipse.cdt.debug.mi.core.commandFactory" value="Standard (Windows)"/>
  43. <stringAttribute key="org.eclipse.cdt.debug.mi.core.protocol" value="mi"/>
  44. <booleanAttribute key="org.eclipse.cdt.debug.mi.core.verboseMode" value="false"/>
  45. <stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="${TOOLCHAIN_PATH}/arm-atollic-eabi-gdb"/>
  46. <intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2"/>
  47. <stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_REGISTER_GROUPS" value=""/>
  48. <stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="Debug/STM32F103ZET_JDASMBIC.elf"/>
  49. <stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="STM32F103ZET_JDASMBIC"/>
  50. <booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="false"/>
  51. <stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value=""/>
  52. <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
  53. <listEntry value="/STM32F103ZET_JDASMBIC"/>
  54. </listAttribute>
  55. <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
  56. <listEntry value="4"/>
  57. </listAttribute>
  58. <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;"/>
  59. <stringAttribute key="process_factory_id" value="org.eclipse.cdt.dsf.gdb.GdbProcessFactory"/>
  60. <stringAttribute key="saved_expressions&lt;seperator&gt;Unknown" value="uart_buf"/>
  61. </launchConfiguration>