mirror of
https://git.code.sf.net/p/openocd/code
synced 2024-11-22 03:46:27 +00:00
151b743714
This change implements the support for the ARM Debug Interface v6. The DAP-level interface properly selects the DP Banks and AP address. Sample ARM configuration DAP and JTAG scripts have been updated. Change-Id: I7df87ef764bca587697c778810443649a7f46c2b Signed-off-by: Jacek Wuwer <jacekmw8@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8067 Tested-by: jenkins Reviewed-by: Ian Thompson <ianst@cadence.com> Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
25 lines
600 B
INI
25 lines
600 B
INI
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Cadence virtual debug interface
|
|
# Arm Cortex m4 through DAP
|
|
|
|
source [find interface/vdebug.cfg]
|
|
|
|
set CHIPNAME m4
|
|
set MEMSTART 0x00000000
|
|
set MEMSIZE 0x10000
|
|
|
|
# vdebug select transport
|
|
transport select dapdirect_swd
|
|
adapter speed 25000
|
|
adapter srst delay 5
|
|
|
|
# BFM hierarchical path and input clk period
|
|
vdebug bfm_path tbench.u_vd_swdp_bfm 20ns
|
|
|
|
# DMA Memories to access backdoor (up to 20)
|
|
vdebug mem_path tbench.u_mcu.u_sys.u_rom.rom $MEMSTART $MEMSIZE
|
|
|
|
swd newdap $CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf
|
|
|
|
source [find target/vd_cortex_m.cfg]
|