forked from ddm/openocd-docker
-
Notifications
You must be signed in to change notification settings - Fork 2
/
discover.cfg
35 lines (26 loc) · 1.18 KB
/
discover.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
# step 1: Start with something simple: https://pastebin.ubuntu.com/p/rgVM64vK4G/ -> https://pastebin.ubuntu.com/p/Kz2YfqX8jJ/ (MSP432).
# step 2: Modify the cfg a little, for example: https://pastebin.ubuntu.com/p/NF9mYPd9Tr/ then probe the ROM Table to get the addresses.
# Example: AM642: https://pastebin.ubuntu.com/p/xzpbQF2kGD/
# Unknown SoC on an EVM with xds110
source [find interface/xds110.cfg]
transport select jtag
# default JTAG configuration has only SRST and no TRST
reset_config srst_only srst_push_pull
# delay after SRST goes inactive
adapter srst delay 20
adapter speed 200
# MSP 432
# jtag newtap auto0 tap -irlen 4 -expected-id 0x4ba00477
# dap create auto0.dap -chain-position auto0.tap
# AM654 - SR1.0
# jtag newtap auto0 tap -irlen 4 -expected-id 0x0bb5a02f
# dap create auto0.dap -chain-position auto0.tap
# J721e SR1.0
# jtag newtap auto0 tap -irlen 4 -expected-id 0x0bb6402f
# dap create auto0.dap -chain-position auto0.tap
# J7200 - SR1.0
# jtag newtap auto0 tap -irlen 4 -expected-id 0x0bb6d02f
# dap create auto0.dap -chain-position auto0.tap
# AM642 SR 1.0
# jtag newtap auto0 tap -irlen 4 -expected-id 0x0bb3802f
# dap create auto0.dap -chain-position auto0.tap