Mercurial > pub > halpp
comparison f103c8/f103c8.elf.launch @ 3:3d9705e842f8
working on rcc and bus
author | cin |
---|---|
date | Wed, 18 Jan 2017 01:07:59 +0300 |
parents | 0c59e7a7782a |
children |
comparison
equal
deleted
inserted
replaced
2:0c59e7a7782a | 3:3d9705e842f8 |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
2 <launchConfiguration type="com.atollic.hardwaredebug.launch.launchConfigurationType"> | 2 <launchConfiguration type="com.atollic.hardwaredebug.launch.launchConfigurationType"> |
3 <stringAttribute key="com.atollic.hardwaredebug.jlink_common.cpu_core" value="Cortex-M" /> | 3 <stringAttribute key="com.atollic.hardwaredebug.jlink_common.cpu_core" value="Cortex-M"/> |
4 <stringAttribute key="com.atollic.hardwaredebug.jlink_common.device" value="STM32F103C8" /> | 4 <stringAttribute key="com.atollic.hardwaredebug.jlink_common.device" value="STM32F103C8"/> |
5 <stringAttribute key="com.atollic.hardwaredebug.jlink_common.endian" value="little" /> | 5 <stringAttribute key="com.atollic.hardwaredebug.jlink_common.endian" value="little"/> |
6 <stringAttribute key="com.atollic.hardwaredebug.jlink_common.init_speed" value="4000" /> | 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" /> | 7 <booleanAttribute key="com.atollic.hardwaredebug.jlink_common.jlink_check_serial_number" value="false"/> |
8 <intAttribute key="com.atollic.hardwaredebug.jlink_common.scan_chain_irpre" value="0" /> | 8 <stringAttribute key="com.atollic.hardwaredebug.jlink_common.jlink_script_path" value=""/> |
9 <intAttribute key="com.atollic.hardwaredebug.jlink_common.scan_chain_pos" value="0" /> | 9 <booleanAttribute key="com.atollic.hardwaredebug.jlink_common.jlink_script_used" value="false"/> |
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
# 2=32 bit, 1=16 bit and 0=8 bit parallelism mode
monitor flash set_parallelism_mode 2

# Load the program executable
load		

# Enable Debug connection in low power modes (DBGMCU->CR)
set *0xE0042004 = (*0xE0042004) | 0x7
# Start the executable
continue" /> | 10 <stringAttribute key="com.atollic.hardwaredebug.jlink_common.jlink_txt_serial_number" value=""/> |
11 <booleanAttribute key="com.atollic.hardwaredebug.launch.enable_swv" value="false" /> | 11 <booleanAttribute key="com.atollic.hardwaredebug.jlink_common.scan_chain_auto" value="true"/> |
12 <intAttribute key="com.atollic.hardwaredebug.launch.formatVersion" value="2" /> | 12 <intAttribute key="com.atollic.hardwaredebug.jlink_common.scan_chain_irpre" value="0"/> |
13 <stringAttribute key="com.atollic.hardwaredebug.launch.ipAddress" value="localhost" /> | 13 <intAttribute key="com.atollic.hardwaredebug.jlink_common.scan_chain_pos" value="0"/> |
14 <stringAttribute key="com.atollic.hardwaredebug.launch.jtagDevice" value="ST-LINK" /> | 14 <stringAttribute key="com.atollic.hardwaredebug.launch.analyzeCommands" value="# Set flash parallelism mode to 32, 16, or 8 bit when using STM32 F2/F4 microcontrollers # 2=32 bit, 1=16 bit and 0=8 bit parallelism mode monitor flash set_parallelism_mode 2 # Load the program executable load		 # Enable Debug connection in low power modes (DBGMCU->CR) set *0xE0042004 = (*0xE0042004) | 0x7 # Start the executable continue"/> |
15 <intAttribute key="com.atollic.hardwaredebug.launch.portNumber" value="61234" /> | 15 <booleanAttribute key="com.atollic.hardwaredebug.launch.enable_live_expr" value="true"/> |
16 <stringAttribute key="com.atollic.hardwaredebug.launch.remoteCommand" value="target extended-remote" /> | 16 <intAttribute key="com.atollic.hardwaredebug.launch.formatVersion" value="2"/> |
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
# 2=32 bit, 1=16 bit and 0=8 bit parallelism mode
monitor flash set_parallelism_mode 2

# Load the program executable
load		

# Enable Debug connection in low power modes (DBGMCU->CR)
set *0xE0042004 = (*0xE0042004) | 0x7
# Set a breakpoint at main().
tbreak main

# Run to the breakpoint.
continue" /> | 17 <stringAttribute key="com.atollic.hardwaredebug.launch.hwinitCommands" value="# Initialize your hardware here "/> |
18 <stringAttribute key="com.atollic.hardwaredebug.launch.serverParam" value="-p 61234 -l 1 -d" /> | 18 <stringAttribute key="com.atollic.hardwaredebug.launch.ipAddress" value="localhost"/> |
19 <booleanAttribute key="com.atollic.hardwaredebug.launch.startServer" value="true" /> | 19 <stringAttribute key="com.atollic.hardwaredebug.launch.jtagDevice" value="SEGGER J-LINK"/> |
20 <booleanAttribute key="com.atollic.hardwaredebug.launch.swd_mode" value="true" /> | 20 <intAttribute key="com.atollic.hardwaredebug.launch.portNumber" value="2331"/> |
21 <stringAttribute key="com.atollic.hardwaredebug.launch.swv_port" value="61235" /> | 21 <stringAttribute key="com.atollic.hardwaredebug.launch.remoteCommand" value="target extended-remote"/> |
22 <stringAttribute key="com.atollic.hardwaredebug.launch.swv_trace_div" value="120" /> | 22 <stringAttribute key="com.atollic.hardwaredebug.launch.runCommands" value="load break main monitor reset continue"/> |
23 <stringAttribute key="com.atollic.hardwaredebug.launch.swv_trace_hclk" value="120000000" /> | 23 <stringAttribute key="com.atollic.hardwaredebug.launch.serverParam" value="-port 2331 -s -CPU Cortex-M -device STM32F103C8 -endian little -speed 4000 -if swd -vd"/> |
24 <booleanAttribute key="com.atollic.hardwaredebug.launch.swv_wait_for_sync" value="true" /> | 24 <booleanAttribute key="com.atollic.hardwaredebug.launch.startServer" value="true"/> |
25 <booleanAttribute key="com.atollic.hardwaredebug.launch.useRemoteTarget" value="true" /> | 25 <booleanAttribute key="com.atollic.hardwaredebug.launch.swd_mode" 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
# 2=32 bit, 1=16 bit and 0=8 bit parallelism mode
monitor flash set_parallelism_mode 2

# Load the program executable
load		

# Enable Debug connection in low power modes (DBGMCU->CR)
set *0xE0042004 = (*0xE0042004) | 0x7
# The executable starts automatically" /> | 26 <stringAttribute key="com.atollic.hardwaredebug.launch.swv_port" value="2332"/> |
27 <booleanAttribute key="com.atollic.hardwaredebug.stlink.enable_logging" value="false" /> | 27 <stringAttribute key="com.atollic.hardwaredebug.launch.swv_trace_div" value="8"/> |
28 <stringAttribute key="com.atollic.hardwaredebug.stlink.log_file" value="/home/sergey/Projects/ARM_workspace_7.0/f103c8/\Debug\st-link_gdbserver_log.txt" /> | 28 <stringAttribute key="com.atollic.hardwaredebug.launch.swv_trace_hclk" value="8000000"/> |
29 <booleanAttribute key="com.atollic.hardwaredebug.stlink.verify_flash" value="false" /> | 29 <intAttribute key="com.atollic.hardwaredebug.launch.trace_system" value="0"/> |
30 <stringAttribute key="org.eclipse.cdt.debug.mi.core.DEBUG_NAME" value="${TOOLCHAIN_PATH}/arm-atollic-eabi-gdb" /> | 30 <booleanAttribute key="com.atollic.hardwaredebug.launch.useRemoteTarget" value="true"/> |
31 <stringAttribute key="org.eclipse.cdt.debug.mi.core.commandFactory" value="Standard (Windows)" /> | 31 <stringAttribute key="com.atollic.hardwaredebug.launch.verifyCommands" value="# Set flash parallelism mode to 32, 16, or 8 bit when using STM32 F2/F4 microcontrollers # 2=32 bit, 1=16 bit and 0=8 bit parallelism mode monitor flash set_parallelism_mode 2 # Load the program executable load		 # Enable Debug connection in low power modes (DBGMCU->CR) set *0xE0042004 = (*0xE0042004) | 0x7 # The executable starts automatically"/> |
32 <stringAttribute key="org.eclipse.cdt.debug.mi.core.protocol" value="mi" /> | 32 <booleanAttribute key="com.atollic.hardwaredebug.launch.verify_flash_download" value="true"/> |
33 <booleanAttribute key="org.eclipse.cdt.debug.mi.core.verboseMode" value="false" /> | 33 <booleanAttribute key="com.atollic.hardwaredebug.stlink.enable_logging" value="false"/> |
34 <stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="${TOOLCHAIN_PATH}/arm-atollic-eabi-gdb" /> | 34 <stringAttribute key="com.atollic.hardwaredebug.stlink.log_file" value="/home/sergey/Projects/ARM_workspace_7.0/f103c8/\Debug\st-link_gdbserver_log.txt"/> |
35 <intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2" /> | 35 <booleanAttribute key="com.atollic.hardwaredebug.stlink.verify_flash" value="false"/> |
36 <stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="Debug/f103c8.elf" /> | 36 <stringAttribute key="org.eclipse.cdt.debug.mi.core.DEBUG_NAME" value="${TOOLCHAIN_PATH}/arm-atollic-eabi-gdb"/> |
37 <stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="f103c8" /> | 37 <stringAttribute key="org.eclipse.cdt.debug.mi.core.commandFactory" value="Standard (Windows)"/> |
38 <stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value="" /> | 38 <stringAttribute key="org.eclipse.cdt.debug.mi.core.protocol" value="mi"/> |
39 <booleanAttribute key="org.eclipse.cdt.debug.mi.core.verboseMode" value="false"/> | |
40 <stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="${TOOLCHAIN_PATH}/arm-atollic-eabi-gdb"/> | |
41 <intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2"/> | |
42 <stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="Debug/f103c8.elf"/> | |
43 <stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="f103c8"/> | |
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=""/> | |
39 <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> | 46 <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> |
40 <listEntry value="/f103c8" /> | 47 <listEntry value="/f103c8"/> |
41 </listAttribute> | 48 </listAttribute> |
42 <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> | 49 <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> |
43 <listEntry value="4" /> | 50 <listEntry value="4"/> |
44 </listAttribute> | 51 </listAttribute> |
45 <stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<memoryBlockExpressionList context="reserved-for-future-use"/>
" /> | 52 <stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <memoryBlockExpressionList context="reserved-for-future-use"/> "/> |
46 </launchConfiguration> | 53 </launchConfiguration> |