xref: /aosp_15_r20/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Nucleo-L4A6RG.elf.launch (revision 5c591343844d1f9da7da26467c4bf7efc8a7a413)
1*5c591343SA. Cody Schuffelen<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2*5c591343SA. Cody Schuffelen<launchConfiguration type="com.atollic.hardwaredebug.launch.launchConfigurationType">
3*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.hardwaredebug.jlink_common.cpu_core" value="Cortex-M"/>
4*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.hardwaredebug.jlink_common.device" value="STM32L4A6RG"/>
5*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.hardwaredebug.jlink_common.endian" value="little"/>
6*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.hardwaredebug.jlink_common.init_speed" value="4000"/>
7*5c591343SA. Cody Schuffelen<booleanAttribute key="com.atollic.hardwaredebug.jlink_common.jlink_check_serial_number" value="false"/>
8*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.hardwaredebug.jlink_common.jlink_script_path" value=""/>
9*5c591343SA. Cody Schuffelen<booleanAttribute key="com.atollic.hardwaredebug.jlink_common.jlink_script_used" value="false"/>
10*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.hardwaredebug.jlink_common.jlink_txt_serial_number" value=""/>
11*5c591343SA. Cody Schuffelen<booleanAttribute key="com.atollic.hardwaredebug.jlink_common.scan_chain_auto" value="true"/>
12*5c591343SA. Cody Schuffelen<intAttribute key="com.atollic.hardwaredebug.jlink_common.scan_chain_irpre" value="0"/>
13*5c591343SA. Cody Schuffelen<intAttribute key="com.atollic.hardwaredebug.jlink_common.scan_chain_pos" value="0"/>
14*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.hardwaredebug.jlink_common.selected_rtos" value="No RTOS"/>
15*5c591343SA. Cody Schuffelen<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*5c591343SA. Cody Schuffelen<booleanAttribute key="com.atollic.hardwaredebug.launch.enable_live_expr" value="true"/>
17*5c591343SA. Cody Schuffelen<intAttribute key="com.atollic.hardwaredebug.launch.formatVersion" value="2"/>
18*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.hardwaredebug.launch.hwinitCommands" value="# Initialize your hardware here&#10;"/>
19*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.hardwaredebug.launch.ipAddress" value="localhost"/>
20*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.hardwaredebug.launch.jtagDevice" value="SEGGER J-LINK"/>
21*5c591343SA. Cody Schuffelen<intAttribute key="com.atollic.hardwaredebug.launch.portNumber" value="2331"/>
22*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.hardwaredebug.launch.remoteCommand" value="target extended-remote"/>
23*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.hardwaredebug.launch.runCommands" value="# Default GDB command file (FLASH) for SEGGER J-LINK and STMicroelectronics STM32L4A6RG microcontroller.&#10;&#10;# Set character encoding&#10;set host-charset CP1252&#10;set target-charset CP1252&#10;&#10;# Set JTAG speed to 30 kHz&#10;monitor speed 30&#10;&#10;# Set GDBServer to little endian&#10;monitor endian little&#10;&#10;# Reset the chip to get to a known state.&#10;monitor reset&#10;&#10;# Set auto JTAG speed&#10;monitor speed auto&#10;&#10;# Setup GDB FOR FASTER DOWNLOADS&#10;set remote memory-write-packet-size 1024&#10;set remote memory-write-packet-size fixed&#10;&#10;# Enable flash download&#10;monitor flash download = 1&#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;# Set a breakpoint at main().&#10;tbreak main&#10;&#10;# Run to the breakpoint.&#10;continue"/>
24*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.hardwaredebug.launch.serverParam" value="-port 2331 -s -CPU Cortex-M -device STM32L4A6RG -endian little -speed 4000 -if swd -vd -swoport 2332"/>
25*5c591343SA. Cody Schuffelen<booleanAttribute key="com.atollic.hardwaredebug.launch.startServer" value="true"/>
26*5c591343SA. Cody Schuffelen<booleanAttribute key="com.atollic.hardwaredebug.launch.swd_mode" value="true"/>
27*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.hardwaredebug.launch.swv_port" value="2332"/>
28*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.hardwaredebug.launch.swv_trace_div" value="0"/>
29*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.hardwaredebug.launch.swv_trace_hclk" value="80000000"/>
30*5c591343SA. Cody Schuffelen<intAttribute key="com.atollic.hardwaredebug.launch.trace_system" value="1"/>
31*5c591343SA. Cody Schuffelen<booleanAttribute key="com.atollic.hardwaredebug.launch.useRemoteTarget" value="true"/>
32*5c591343SA. Cody Schuffelen<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*5c591343SA. Cody Schuffelen<booleanAttribute key="com.atollic.hardwaredebug.launch.verify_flash_download" value="true"/>
34*5c591343SA. Cody Schuffelen<booleanAttribute key="com.atollic.hardwaredebug.stlink.enable_logging" value="false"/>
35*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.hardwaredebug.stlink.log_file" value="D:/VS/brianTPM/Samples/Nucleo-TPM/L4A6RG//\Debug\st-link_gdbserver_log.txt"/>
36*5c591343SA. Cody Schuffelen<booleanAttribute key="com.atollic.hardwaredebug.stlink.stlink_check_serial_number" value="false"/>
37*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.hardwaredebug.stlink.stlink_txt_serial_number" value=""/>
38*5c591343SA. Cody Schuffelen<booleanAttribute key="com.atollic.hardwaredebug.stlink.verify_flash" value="false"/>
39*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.truestudio.swv.core.datatrace_0" value="Enabled=false:Address=0x0:Access=Read/Write:Size=Word:Function=Data Value"/>
40*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.truestudio.swv.core.datatrace_1" value="Enabled=false:Address=0x0:Access=Read/Write:Size=Word:Function=Data Value"/>
41*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.truestudio.swv.core.datatrace_2" value="Enabled=false:Address=0x0:Access=Read/Write:Size=Word:Function=Data Value"/>
42*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.truestudio.swv.core.datatrace_3" value="Enabled=false:Address=0x0:Access=Read/Write:Size=Word:Function=Data Value"/>
43*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.truestudio.swv.core.itmports" value="1:1:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0"/>
44*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.truestudio.swv.core.itmports_priv" value="0:0:0:0"/>
45*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.truestudio.swv.core.pc_sample" value="0:16384"/>
46*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.truestudio.swv.core.timestamps" value="1:1"/>
47*5c591343SA. Cody Schuffelen<stringAttribute key="com.atollic.truestudio.swv.core.trace_events" value="Cpi=0:Exc=0:Sleep=0:Lsu=0:Fold=0:Exetrc=0"/>
48*5c591343SA. Cody Schuffelen<stringAttribute key="org.eclipse.cdt.debug.mi.core.DEBUG_NAME" value="${TOOLCHAIN_PATH}/arm-atollic-eabi-gdb"/>
49*5c591343SA. Cody Schuffelen<stringAttribute key="org.eclipse.cdt.debug.mi.core.commandFactory" value="Standard (Windows)"/>
50*5c591343SA. Cody Schuffelen<stringAttribute key="org.eclipse.cdt.debug.mi.core.protocol" value="mi"/>
51*5c591343SA. Cody Schuffelen<booleanAttribute key="org.eclipse.cdt.debug.mi.core.verboseMode" value="false"/>
52*5c591343SA. Cody Schuffelen<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="${TOOLCHAIN_PATH}/arm-atollic-eabi-gdb"/>
53*5c591343SA. Cody Schuffelen<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2"/>
54*5c591343SA. Cody Schuffelen<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_REGISTER_GROUPS" value=""/>
55*5c591343SA. Cody Schuffelen<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="Debug/Nucleo-L4A6RG.elf"/>
56*5c591343SA. Cody Schuffelen<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="Nucleo-L4A6RG"/>
57*5c591343SA. Cody Schuffelen<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="false"/>
58*5c591343SA. Cody Schuffelen<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value=""/>
59*5c591343SA. Cody Schuffelen<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
60*5c591343SA. Cody Schuffelen<listEntry value="/Nucleo-L4A6RG"/>
61*5c591343SA. Cody Schuffelen</listAttribute>
62*5c591343SA. Cody Schuffelen<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
63*5c591343SA. Cody Schuffelen<listEntry value="4"/>
64*5c591343SA. Cody Schuffelen</listAttribute>
65*5c591343SA. Cody Schuffelen<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;"/>
66*5c591343SA. Cody Schuffelen<stringAttribute key="process_factory_id" value="org.eclipse.cdt.dsf.gdb.GdbProcessFactory"/>
67*5c591343SA. Cody Schuffelen</launchConfiguration>
68