-
Notifications
You must be signed in to change notification settings - Fork 0
/
CanRetranslatorWithGyro Debug.cfg
50 lines (35 loc) · 1.15 KB
/
CanRetranslatorWithGyro Debug.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# This is an genericBoard board with a single STM32F105R8Tx chip
#
# Generated by STM32CubeIDE
# Take care that such file, as generated, may be overridden without any early notice. Please have a look to debug launch configuration setup(s)
source [find interface/stlink-dap.cfg]
set WORKAREASIZE 0x8000
transport select "dapdirect_swd"
set CHIPNAME STM32F105R8Tx
set BOARDNAME genericBoard
# Enable debug when in low power modes
set ENABLE_LOW_POWER 1
# Stop Watchdog counters when halt
set STOP_WATCHDOG 1
# STlink Debug clock frequency
set CLOCK_FREQ 8000
# Reset configuration
# use hardware reset, connect under reset
# connect_assert_srst needed if low power mode application running (WFI...)
reset_config srst_only srst_nogate connect_assert_srst
set CONNECT_UNDER_RESET 1
set CORE_RESET 0
# ACCESS PORT NUMBER
set AP_NUM 0
# GDB PORT
set GDB_PORT 3333
# BCTM CPU variables
source [find target/stm32f1x.cfg]
# SWV trace
set USE_SWO 0
<<<<<<< HEAD
set swv_cmd "-protocol uart -output :3344 -traceclk 16000000"
=======
set swv_cmd "-protocol uart -output :3344 -traceclk 32000000"
>>>>>>> 0d4186c58a8c7c7f3cb8799f4ec11a6ed44b42c5
source [find board/swv.tcl]