1
0
mirror of https://git.code.sf.net/p/openocd/code synced 2024-11-14 18:37:11 +00:00
openocd/tcl/target/xtensa-core-nxp_rt600.cfg
Ian Thompson 3d3f823920 target/xtensa: add dual-core support
- Example for configuring multiple non-SMP
  Xtensa cores e.g. for heterogeneous debug
- JTAG only at this time; DAP out of scope
- Dual-Xtensa Palladium example via VDebug
- Update Xtensa core config examples

Signed-off-by: Ian Thompson <ianst@cadence.com>
Change-Id: I6d2b3d13fa8075416dcd383cf256a3e8582ee1c1
Reviewed-on: https://review.openocd.org/c/openocd/+/8078
Tested-by: jenkins
Reviewed-by: Jacek Wuwer <jacekmw8@gmail.com>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
2024-01-28 14:17:28 +00:00

256 lines
10 KiB
INI

# SPDX-License-Identifier: GPL-2.0-or-later
# OpenOCD configuration file for Xtensa HiFi DSP in NXP RT600 target
# Core instance default definition
if { [info exists XTNAME] } {
set _XTNAME $XTNAME
} else {
set _XTNAME xtensa.cpu
}
# Core definition and ABI
$_XTNAME xtensa xtdef LX
$_XTNAME xtensa xtopt arnum 32
$_XTNAME xtensa xtopt windowed 1
# Exception/Interrupt Options
$_XTNAME xtensa xtopt exceptions 1
$_XTNAME xtensa xtopt hipriints 1
$_XTNAME xtensa xtopt intlevels 4
$_XTNAME xtensa xtopt excmlevel 2
# Cache Options
$_XTNAME xtensa xtmem icache 256 32768 4
$_XTNAME xtensa xtmem dcache 256 65536 4 1
# Memory Options
$_XTNAME xtensa xtmem iram 0x24020000 65536
$_XTNAME xtensa xtmem dram 0x24000000 65536
$_XTNAME xtensa xtmem sram 0x00000000 603979776
# Memory Protection/Translation Options
# Debug Options
$_XTNAME xtensa xtopt debuglevel 4
$_XTNAME xtensa xtopt ibreaknum 2
$_XTNAME xtensa xtopt dbreaknum 2
# Core Registers
$_XTNAME xtensa xtregs 208
$_XTNAME xtensa xtreg pc 0x0020
$_XTNAME xtensa xtreg ar0 0x0100
$_XTNAME xtensa xtreg ar1 0x0101
$_XTNAME xtensa xtreg ar2 0x0102
$_XTNAME xtensa xtreg ar3 0x0103
$_XTNAME xtensa xtreg ar4 0x0104
$_XTNAME xtensa xtreg ar5 0x0105
$_XTNAME xtensa xtreg ar6 0x0106
$_XTNAME xtensa xtreg ar7 0x0107
$_XTNAME xtensa xtreg ar8 0x0108
$_XTNAME xtensa xtreg ar9 0x0109
$_XTNAME xtensa xtreg ar10 0x010a
$_XTNAME xtensa xtreg ar11 0x010b
$_XTNAME xtensa xtreg ar12 0x010c
$_XTNAME xtensa xtreg ar13 0x010d
$_XTNAME xtensa xtreg ar14 0x010e
$_XTNAME xtensa xtreg ar15 0x010f
$_XTNAME xtensa xtreg ar16 0x0110
$_XTNAME xtensa xtreg ar17 0x0111
$_XTNAME xtensa xtreg ar18 0x0112
$_XTNAME xtensa xtreg ar19 0x0113
$_XTNAME xtensa xtreg ar20 0x0114
$_XTNAME xtensa xtreg ar21 0x0115
$_XTNAME xtensa xtreg ar22 0x0116
$_XTNAME xtensa xtreg ar23 0x0117
$_XTNAME xtensa xtreg ar24 0x0118
$_XTNAME xtensa xtreg ar25 0x0119
$_XTNAME xtensa xtreg ar26 0x011a
$_XTNAME xtensa xtreg ar27 0x011b
$_XTNAME xtensa xtreg ar28 0x011c
$_XTNAME xtensa xtreg ar29 0x011d
$_XTNAME xtensa xtreg ar30 0x011e
$_XTNAME xtensa xtreg ar31 0x011f
$_XTNAME xtensa xtreg lbeg 0x0200
$_XTNAME xtensa xtreg lend 0x0201
$_XTNAME xtensa xtreg lcount 0x0202
$_XTNAME xtensa xtreg sar 0x0203
$_XTNAME xtensa xtreg prefctl 0x0228
$_XTNAME xtensa xtreg windowbase 0x0248
$_XTNAME xtensa xtreg windowstart 0x0249
$_XTNAME xtensa xtreg configid0 0x02b0
$_XTNAME xtensa xtreg configid1 0x02d0
$_XTNAME xtensa xtreg ps 0x02e6
$_XTNAME xtensa xtreg threadptr 0x03e7
$_XTNAME xtensa xtreg br 0x0204
$_XTNAME xtensa xtreg scompare1 0x020c
$_XTNAME xtensa xtreg acclo 0x0210
$_XTNAME xtensa xtreg acchi 0x0211
$_XTNAME xtensa xtreg m0 0x0220
$_XTNAME xtensa xtreg m1 0x0221
$_XTNAME xtensa xtreg m2 0x0222
$_XTNAME xtensa xtreg m3 0x0223
$_XTNAME xtensa xtreg expstate 0x03e6
$_XTNAME xtensa xtreg f64r_lo 0x03ea
$_XTNAME xtensa xtreg f64r_hi 0x03eb
$_XTNAME xtensa xtreg f64s 0x03ec
$_XTNAME xtensa xtreg ae_ovf_sar 0x03f0
$_XTNAME xtensa xtreg ae_bithead 0x03f1
$_XTNAME xtensa xtreg ae_ts_fts_bu_bp 0x03f2
$_XTNAME xtensa xtreg ae_cw_sd_no 0x03f3
$_XTNAME xtensa xtreg ae_cbegin0 0x03f6
$_XTNAME xtensa xtreg ae_cend0 0x03f7
$_XTNAME xtensa xtreg ae_cbegin1 0x03f8
$_XTNAME xtensa xtreg ae_cend1 0x03f9
$_XTNAME xtensa xtreg aed0 0x1010
$_XTNAME xtensa xtreg aed1 0x1011
$_XTNAME xtensa xtreg aed2 0x1012
$_XTNAME xtensa xtreg aed3 0x1013
$_XTNAME xtensa xtreg aed4 0x1014
$_XTNAME xtensa xtreg aed5 0x1015
$_XTNAME xtensa xtreg aed6 0x1016
$_XTNAME xtensa xtreg aed7 0x1017
$_XTNAME xtensa xtreg aed8 0x1018
$_XTNAME xtensa xtreg aed9 0x1019
$_XTNAME xtensa xtreg aed10 0x101a
$_XTNAME xtensa xtreg aed11 0x101b
$_XTNAME xtensa xtreg aed12 0x101c
$_XTNAME xtensa xtreg aed13 0x101d
$_XTNAME xtensa xtreg aed14 0x101e
$_XTNAME xtensa xtreg aed15 0x101f
$_XTNAME xtensa xtreg u0 0x1020
$_XTNAME xtensa xtreg u1 0x1021
$_XTNAME xtensa xtreg u2 0x1022
$_XTNAME xtensa xtreg u3 0x1023
$_XTNAME xtensa xtreg aep0 0x1024
$_XTNAME xtensa xtreg aep1 0x1025
$_XTNAME xtensa xtreg aep2 0x1026
$_XTNAME xtensa xtreg aep3 0x1027
$_XTNAME xtensa xtreg fcr_fsr 0x1029
$_XTNAME xtensa xtreg mmid 0x0259
$_XTNAME xtensa xtreg ibreakenable 0x0260
$_XTNAME xtensa xtreg memctl 0x0261
$_XTNAME xtensa xtreg atomctl 0x0263
$_XTNAME xtensa xtreg ddr 0x0268
$_XTNAME xtensa xtreg ibreaka0 0x0280
$_XTNAME xtensa xtreg ibreaka1 0x0281
$_XTNAME xtensa xtreg dbreaka0 0x0290
$_XTNAME xtensa xtreg dbreaka1 0x0291
$_XTNAME xtensa xtreg dbreakc0 0x02a0
$_XTNAME xtensa xtreg dbreakc1 0x02a1
$_XTNAME xtensa xtreg epc1 0x02b1
$_XTNAME xtensa xtreg epc2 0x02b2
$_XTNAME xtensa xtreg epc3 0x02b3
$_XTNAME xtensa xtreg epc4 0x02b4
$_XTNAME xtensa xtreg epc5 0x02b5
$_XTNAME xtensa xtreg depc 0x02c0
$_XTNAME xtensa xtreg eps2 0x02c2
$_XTNAME xtensa xtreg eps3 0x02c3
$_XTNAME xtensa xtreg eps4 0x02c4
$_XTNAME xtensa xtreg eps5 0x02c5
$_XTNAME xtensa xtreg excsave1 0x02d1
$_XTNAME xtensa xtreg excsave2 0x02d2
$_XTNAME xtensa xtreg excsave3 0x02d3
$_XTNAME xtensa xtreg excsave4 0x02d4
$_XTNAME xtensa xtreg excsave5 0x02d5
$_XTNAME xtensa xtreg cpenable 0x02e0
$_XTNAME xtensa xtreg interrupt 0x02e2
$_XTNAME xtensa xtreg intset 0x02e2
$_XTNAME xtensa xtreg intclear 0x02e3
$_XTNAME xtensa xtreg intenable 0x02e4
$_XTNAME xtensa xtreg vecbase 0x02e7
$_XTNAME xtensa xtreg exccause 0x02e8
$_XTNAME xtensa xtreg debugcause 0x02e9
$_XTNAME xtensa xtreg ccount 0x02ea
$_XTNAME xtensa xtreg prid 0x02eb
$_XTNAME xtensa xtreg icount 0x02ec
$_XTNAME xtensa xtreg icountlevel 0x02ed
$_XTNAME xtensa xtreg excvaddr 0x02ee
$_XTNAME xtensa xtreg ccompare0 0x02f0
$_XTNAME xtensa xtreg ccompare1 0x02f1
$_XTNAME xtensa xtreg misc0 0x02f4
$_XTNAME xtensa xtreg misc1 0x02f5
$_XTNAME xtensa xtreg pwrctl 0x2024
$_XTNAME xtensa xtreg pwrstat 0x2025
$_XTNAME xtensa xtreg eristat 0x2026
$_XTNAME xtensa xtreg cs_itctrl 0x2027
$_XTNAME xtensa xtreg cs_claimset 0x2028
$_XTNAME xtensa xtreg cs_claimclr 0x2029
$_XTNAME xtensa xtreg cs_lockaccess 0x202a
$_XTNAME xtensa xtreg cs_lockstatus 0x202b
$_XTNAME xtensa xtreg cs_authstatus 0x202c
$_XTNAME xtensa xtreg pmg 0x203b
$_XTNAME xtensa xtreg pmpc 0x203c
$_XTNAME xtensa xtreg pm0 0x203d
$_XTNAME xtensa xtreg pm1 0x203e
$_XTNAME xtensa xtreg pmctrl0 0x203f
$_XTNAME xtensa xtreg pmctrl1 0x2040
$_XTNAME xtensa xtreg pmstat0 0x2041
$_XTNAME xtensa xtreg pmstat1 0x2042
$_XTNAME xtensa xtreg ocdid 0x2043
$_XTNAME xtensa xtreg ocd_dcrclr 0x2044
$_XTNAME xtensa xtreg ocd_dcrset 0x2045
$_XTNAME xtensa xtreg ocd_dsr 0x2046
$_XTNAME xtensa xtreg a0 0x0000
$_XTNAME xtensa xtreg a1 0x0001
$_XTNAME xtensa xtreg a2 0x0002
$_XTNAME xtensa xtreg a3 0x0003
$_XTNAME xtensa xtreg a4 0x0004
$_XTNAME xtensa xtreg a5 0x0005
$_XTNAME xtensa xtreg a6 0x0006
$_XTNAME xtensa xtreg a7 0x0007
$_XTNAME xtensa xtreg a8 0x0008
$_XTNAME xtensa xtreg a9 0x0009
$_XTNAME xtensa xtreg a10 0x000a
$_XTNAME xtensa xtreg a11 0x000b
$_XTNAME xtensa xtreg a12 0x000c
$_XTNAME xtensa xtreg a13 0x000d
$_XTNAME xtensa xtreg a14 0x000e
$_XTNAME xtensa xtreg a15 0x000f
$_XTNAME xtensa xtreg b0 0x0010
$_XTNAME xtensa xtreg b1 0x0011
$_XTNAME xtensa xtreg b2 0x0012
$_XTNAME xtensa xtreg b3 0x0013
$_XTNAME xtensa xtreg b4 0x0014
$_XTNAME xtensa xtreg b5 0x0015
$_XTNAME xtensa xtreg b6 0x0016
$_XTNAME xtensa xtreg b7 0x0017
$_XTNAME xtensa xtreg b8 0x0018
$_XTNAME xtensa xtreg b9 0x0019
$_XTNAME xtensa xtreg b10 0x001a
$_XTNAME xtensa xtreg b11 0x001b
$_XTNAME xtensa xtreg b12 0x001c
$_XTNAME xtensa xtreg b13 0x001d
$_XTNAME xtensa xtreg b14 0x001e
$_XTNAME xtensa xtreg b15 0x001f
$_XTNAME xtensa xtreg psintlevel 0x2006
$_XTNAME xtensa xtreg psum 0x2007
$_XTNAME xtensa xtreg pswoe 0x2008
$_XTNAME xtensa xtreg psexcm 0x2009
$_XTNAME xtensa xtreg pscallinc 0x200a
$_XTNAME xtensa xtreg psowb 0x200b
$_XTNAME xtensa xtreg acc 0x200c
$_XTNAME xtensa xtreg dbnum 0x2011
$_XTNAME xtensa xtreg ae_overflow 0x2014
$_XTNAME xtensa xtreg ae_sar 0x2015
$_XTNAME xtensa xtreg ae_cwrap 0x2016
$_XTNAME xtensa xtreg ae_bitptr 0x2017
$_XTNAME xtensa xtreg ae_bitsused 0x2018
$_XTNAME xtensa xtreg ae_tablesize 0x2019
$_XTNAME xtensa xtreg ae_first_ts 0x201a
$_XTNAME xtensa xtreg ae_nextoffset 0x201b
$_XTNAME xtensa xtreg ae_searchdone 0x201c
$_XTNAME xtensa xtreg roundmode 0x201d
$_XTNAME xtensa xtreg invalidflag 0x201e
$_XTNAME xtensa xtreg divzeroflag 0x201f
$_XTNAME xtensa xtreg overflowflag 0x2020
$_XTNAME xtensa xtreg underflowflag 0x2021
$_XTNAME xtensa xtreg inexactflag 0x2022