server/telnet: Restructure commands
[openocd.git] / tcl / board / vd_a75x4_dap.cfg
blob5c2a2efe8709a2566179a499cc23b162cdefbef9
1 # SPDX-License-Identifier: GPL-2.0-or-later
2 # Cadence virtual debug interface
3 # Arm Cortex A53x2 through DAP
5 source [find interface/vdebug.cfg]
7 set CORES 4
8 set CHIPNAME a75
9 set ACCESSPORT 0x00040000
10 set MEMSTART 0x00000000
11 set MEMSIZE 0x1000000
12 set DBGBASE {0x01010000 0x01110000 0x01210000 0x01310000}
13 set CTIBASE {0x01020000 0x01120000 0x01220000 0x01320000}
15 # vdebug select transport
16 transport select dapdirect_swd
18 # JTAG reset config, frequency and reset delay
19 adapter speed 200000
20 adapter srst delay 5
22 # BFM hierarchical path and input clk period
23 vdebug bfm_path tbench.u_vd_dap6_bfm 2250ps
25 # DMA Memories to access backdoor (up to 20)
26 #vdebug mem_path tbench.u_memory.mem_array $_MEMSTART $_MEMSIZE
28 swd newdap $CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf
30 source [find target/vd_aarch64.cfg]