Skip to content

Instantly share code, notes, and snippets.

@tienntr
Last active October 2, 2023 06:37
Show Gist options
  • Save tienntr/b18f91600386a85a91d17fe57e39dfcf to your computer and use it in GitHub Desktop.
Save tienntr/b18f91600386a85a91d17fe57e39dfcf to your computer and use it in GitHub Desktop.
OpenOCD note
In theory:
jtag_khz = cpu_khz / cycles_per_each_bitbang_pass
cycles_per_each_bitbang_pass = delay_iters_per_pass * cycles_per_delay_iter + bitbang_cycles_without_delay_per_pass
= cycles_per_delay_iter * (delay_iters_per_pass + speed_offset)
where speed_offset = bitbang_cycles_without_delay_per_pass / cycles_per_delay_iter
jtag_khz = (cpu_khz / cycles_per_delay_iter) / (delay_inters_per_pass + speed_offset)
= speed_coeff / (delay_iters_per_pass + offset)
where speed_coeff = cpu_khz / cycles_per_delay_iter
`speed_coeff` and `speed_offset` are pretty fixed for each hardware configuration
(supposed CPU freq scaling doens't cause too much variation) and build optimization level.
They have default values found by experiment in OpenOCD. delay_iters_per_pass is
repesent in OpenOCD as `speed` and `jtag_delay`.
===============================================================================================================
https://github.com/jerinjacobk/armv8_pmu_cycle_counter_el0/tree/master
make CROSS_COMPILE=aarch64-xilinx-linux- ARCH=arm64 KDIR=../plnx_project/build/tmp/work-shared/zynqmp-generic/kernel-build-artifacts
yum update
yum install gcc make libtool autoconf texinfo which git file
# automake 1.14
yum install epel-release
rpm -ivh http://repo.okay.com.mx/centos/7/x86_64/release/okay-release-1-6.el7.noarch.rpm?
yum install automake
$ ./openocd -f ~/code/openocd_config/my_project.cfg
Open On-Chip Debugger 0.11.0+dev-01779-g52177592f (2022-08-10-22:00)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
Warn : Transport "jtag" was already selected
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 1000 kHz
Info : JTAG tap: gd32vf103.cpu tap/device found: 0x1000563d (mfg: 0x31e (Andes Technology Corporation), part: 0x0005, ver: 0x1)
Info : JTAG tap: gd32vf103.bs tap/device found: 0x790007a3 (mfg: 0x3d1 (GigaDevice Semiconductor (Beijing) Inc), part: 0x9000, ver: 0x7)
Info : [gd32vf103.cpu] datacount=4 progbufsize=2
Info : Examined RISC-V core; found 1 harts
Info : hart 0: XLEN=32, misa=0x40901105
[gd32vf103.cpu] Target successfully examined.
Info : starting gdb server for gd32vf103.cpu on 3333
Info : Listening on port 3333 for gdb connections
ft232r-gd32vf103.cfgInfo : accepting 'gdb' connection on tcp/3333
Info : device id = 0x19060410
Info : flash size = 128kbytes
Warn : negative acknowledgment, but no packet pending
Warn : negative acknowledgment, but no packet pending
source [find interface/ft232r.cfg]
# Default
#ft232r tck_num TXD
#ft232r tms_num CTS
#ft232r tdi_num RXD
#ft232r tdo_num RTS
#ft232r trst_num DTR
#ft232r srst_num DCD
ft232r tdo_num CTS
ft232r tdi_num TXD
ft232r tck_num RXD
ft232r tms_num DTR
ft232r trst_num DSR
ft232r srst_num RI
ft232r restore_serial 0x0015
source [find target/gd32vf103.cfg]
reset_config none
gdb_report_register_access_error enable
gdb_report_data_abort enable
$ riscv64-elf-gdb -q -ex 'target extended-remote :3333'
Remote debugging using :3333
warning: No executable has been specified and target does not support
determining executable automatically. Try using the "file" command.
0x08003ebe in ?? ()
(gdb) x/i $pc
=> 0x8003ebe: srli a1,t0,0x10
(gdb) i all-registers
zero 0x0 0
ra 0x8001c9c 0x8001c9c
sp 0x20004d30 0x20004d30
gp 0x20000860 0x20000860
tp 0x0 0x0
t0 0x0 0
t1 0xfa000000 -100663296
t2 0x0 0
fp 0x10000 0x10000
s1 0xe 14
a0 0xf000 61440
a1 0x0 0
a2 0x0 0
a3 0x0 0
a4 0xd2f000 13824000
a5 0x0 0
a6 0x0 0
a7 0xd2 210
s2 0x7a0000 7995392
s3 0x0 0
s4 0xcdfe60 13500000
s5 0x0 0
s6 0x0 0
s7 0x0 0
s8 0x0 0
s9 0x40da5e00 1088052736
s10 0x0 0
s11 0x0 0
t3 0x0 0
t4 0xfa00 64000
t5 0x0 0
t6 0x0 0
pc 0x8003ebe 0x8003ebe
vcsr Could not fetch register "vcsr"; remote failure reply 'E0E'
seed Could not fetch register "seed"; remote failure reply 'E0E'
sedeleg Could not fetch register "sedeleg"; remote failure reply 'E0E'
sideleg Could not fetch register "sideleg"; remote failure reply 'E0E'
senvcfg Could not fetch register "senvcfg"; remote failure reply 'E0E'
vsstatus Could not fetch register "vsstatus"; remote failure reply 'E0E'
vsie Could not fetch register "vsie"; remote failure reply 'E0E'
vstvec Could not fetch register "vstvec"; remote failure reply 'E0E'
--Type <RET> for more, q to quit, c to continue without paging--c
vsscratch Could not fetch register "vsscratch"; remote failure reply 'E0E'
vsepc Could not fetch register "vsepc"; remote failure reply 'E0E'
vscause Could not fetch register "vscause"; remote failure reply 'E0E'
vstval Could not fetch register "vstval"; remote failure reply 'E0E'
vsip Could not fetch register "vsip"; remote failure reply 'E0E'
vsatp Could not fetch register "vsatp"; remote failure reply 'E0E'
mstatus 0x1800 SD:0 VM:00 MXR:0 PUM:0 MPRV:0 XS:0 FS:0 MPP:3 HPP:0 SPP:0 MPIE:0 HPIE:0 SPIE:0 UPIE:0 MIE:0 HIE:0 SIE:0 UIE:0
misa 0x40901105 RV32ACIMUX
mie 0x0 0
mtvec 0x8002443 134227011
mcounteren 0x0 0
menvcfg Could not fetch register "menvcfg"; remote failure reply 'E0E'
mstatush Could not fetch register "mstatush"; remote failure reply 'E0E'
menvcfgh Could not fetch register "menvcfgh"; remote failure reply 'E0E'
mcountinhibit 0x5 5
mhpmevent3 0x0 0
mhpmevent4 0x0 0
mhpmevent5 0x0 0
mhpmevent6 0x0 0
mhpmevent7 Could not fetch register "mhpmevent7"; remote failure reply 'E0E'
mhpmevent8 Could not fetch register "mhpmevent8"; remote failure reply 'E0E'
mhpmevent9 Could not fetch register "mhpmevent9"; remote failure reply 'E0E'
mhpmevent10 Could not fetch register "mhpmevent10"; remote failure reply 'E0E'
mhpmevent11 Could not fetch register "mhpmevent11"; remote failure reply 'E0E'
mhpmevent12 Could not fetch register "mhpmevent12"; remote failure reply 'E0E'
mhpmevent13 Could not fetch register "mhpmevent13"; remote failure reply 'E0E'
mhpmevent14 Could not fetch register "mhpmevent14"; remote failure reply 'E0E'
mhpmevent15 Could not fetch register "mhpmevent15"; remote failure reply 'E0E'
mhpmevent16 Could not fetch register "mhpmevent16"; remote failure reply 'E0E'
mhpmevent17 Could not fetch register "mhpmevent17"; remote failure reply 'E0E'
mhpmevent18 Could not fetch register "mhpmevent18"; remote failure reply 'E0E'
mhpmevent19 Could not fetch register "mhpmevent19"; remote failure reply 'E0E'
mhpmevent20 Could not fetch register "mhpmevent20"; remote failure reply 'E0E'
mhpmevent21 Could not fetch register "mhpmevent21"; remote failure reply 'E0E'
mhpmevent22 Could not fetch register "mhpmevent22"; remote failure reply 'E0E'
mhpmevent23 Could not fetch register "mhpmevent23"; remote failure reply 'E0E'
mhpmevent24 Could not fetch register "mhpmevent24"; remote failure reply 'E0E'
mhpmevent25 Could not fetch register "mhpmevent25"; remote failure reply 'E0E'
mhpmevent26 Could not fetch register "mhpmevent26"; remote failure reply 'E0E'
mhpmevent27 Could not fetch register "mhpmevent27"; remote failure reply 'E0E'
mhpmevent28 Could not fetch register "mhpmevent28"; remote failure reply 'E0E'
mhpmevent29 Could not fetch register "mhpmevent29"; remote failure reply 'E0E'
mhpmevent30 Could not fetch register "mhpmevent30"; remote failure reply 'E0E'
mhpmevent31 Could not fetch register "mhpmevent31"; remote failure reply 'E0E'
mscratch 0x0 0
mepc 0x0 0
mcause 0x30000000 805306368
mtval 0x0 0
mip 0x0 0
mtinst Could not fetch register "mtinst"; remote failure reply 'E0E'
mtval2 Could not fetch register "mtval2"; remote failure reply 'E0E'
pmpcfg0 0x0 0
pmpcfg1 0x0 0
pmpcfg2 0x0 0
pmpcfg3 0x0 0
pmpcfg4 Could not fetch register "pmpcfg4"; remote failure reply 'E0E'
pmpcfg5 Could not fetch register "pmpcfg5"; remote failure reply 'E0E'
pmpcfg6 Could not fetch register "pmpcfg6"; remote failure reply 'E0E'
pmpcfg7 Could not fetch register "pmpcfg7"; remote failure reply 'E0E'
pmpcfg8 Could not fetch register "pmpcfg8"; remote failure reply 'E0E'
pmpcfg9 Could not fetch register "pmpcfg9"; remote failure reply 'E0E'
pmpcfg10 Could not fetch register "pmpcfg10"; remote failure reply 'E0E'
pmpcfg11 Could not fetch register "pmpcfg11"; remote failure reply 'E0E'
pmpcfg12 Could not fetch register "pmpcfg12"; remote failure reply 'E0E'
pmpcfg13 Could not fetch register "pmpcfg13"; remote failure reply 'E0E'
pmpcfg14 Could not fetch register "pmpcfg14"; remote failure reply 'E0E'
pmpcfg15 Could not fetch register "pmpcfg15"; remote failure reply 'E0E'
pmpaddr0 0x0 0
pmpaddr1 0x0 0
pmpaddr2 0x0 0
pmpaddr3 0x0 0
pmpaddr4 0x0 0
pmpaddr5 0x0 0
pmpaddr6 0x0 0
pmpaddr7 0x0 0
pmpaddr8 0x0 0
pmpaddr9 0x0 0
pmpaddr10 0x0 0
pmpaddr11 0x0 0
pmpaddr12 0x0 0
pmpaddr13 0x0 0
pmpaddr14 0x0 0
pmpaddr15 0x0 0
pmpaddr16 Could not fetch register "pmpaddr16"; remote failure reply 'E0E'
pmpaddr17 Could not fetch register "pmpaddr17"; remote failure reply 'E0E'
pmpaddr18 Could not fetch register "pmpaddr18"; remote failure reply 'E0E'
pmpaddr19 Could not fetch register "pmpaddr19"; remote failure reply 'E0E'
pmpaddr20 Could not fetch register "pmpaddr20"; remote failure reply 'E0E'
pmpaddr21 Could not fetch register "pmpaddr21"; remote failure reply 'E0E'
pmpaddr22 Could not fetch register "pmpaddr22"; remote failure reply 'E0E'
pmpaddr23 Could not fetch register "pmpaddr23"; remote failure reply 'E0E'
pmpaddr24 Could not fetch register "pmpaddr24"; remote failure reply 'E0E'
pmpaddr25 Could not fetch register "pmpaddr25"; remote failure reply 'E0E'
pmpaddr26 Could not fetch register "pmpaddr26"; remote failure reply 'E0E'
pmpaddr27 Could not fetch register "pmpaddr27"; remote failure reply 'E0E'
pmpaddr28 Could not fetch register "pmpaddr28"; remote failure reply 'E0E'
pmpaddr29 Could not fetch register "pmpaddr29"; remote failure reply 'E0E'
pmpaddr30 Could not fetch register "pmpaddr30"; remote failure reply 'E0E'
pmpaddr31 Could not fetch register "pmpaddr31"; remote failure reply 'E0E'
pmpaddr32 Could not fetch register "pmpaddr32"; remote failure reply 'E0E'
pmpaddr33 Could not fetch register "pmpaddr33"; remote failure reply 'E0E'
pmpaddr34 Could not fetch register "pmpaddr34"; remote failure reply 'E0E'
pmpaddr35 Could not fetch register "pmpaddr35"; remote failure reply 'E0E'
pmpaddr36 Could not fetch register "pmpaddr36"; remote failure reply 'E0E'
pmpaddr37 Could not fetch register "pmpaddr37"; remote failure reply 'E0E'
pmpaddr38 Could not fetch register "pmpaddr38"; remote failure reply 'E0E'
pmpaddr39 Could not fetch register "pmpaddr39"; remote failure reply 'E0E'
pmpaddr40 Could not fetch register "pmpaddr40"; remote failure reply 'E0E'
pmpaddr41 Could not fetch register "pmpaddr41"; remote failure reply 'E0E'
pmpaddr42 Could not fetch register "pmpaddr42"; remote failure reply 'E0E'
pmpaddr43 Could not fetch register "pmpaddr43"; remote failure reply 'E0E'
pmpaddr44 Could not fetch register "pmpaddr44"; remote failure reply 'E0E'
pmpaddr45 Could not fetch register "pmpaddr45"; remote failure reply 'E0E'
pmpaddr46 Could not fetch register "pmpaddr46"; remote failure reply 'E0E'
pmpaddr47 Could not fetch register "pmpaddr47"; remote failure reply 'E0E'
pmpaddr48 Could not fetch register "pmpaddr48"; remote failure reply 'E0E'
pmpaddr49 Could not fetch register "pmpaddr49"; remote failure reply 'E0E'
pmpaddr50 Could not fetch register "pmpaddr50"; remote failure reply 'E0E'
pmpaddr51 Could not fetch register "pmpaddr51"; remote failure reply 'E0E'
pmpaddr52 Could not fetch register "pmpaddr52"; remote failure reply 'E0E'
pmpaddr53 Could not fetch register "pmpaddr53"; remote failure reply 'E0E'
pmpaddr54 Could not fetch register "pmpaddr54"; remote failure reply 'E0E'
pmpaddr55 Could not fetch register "pmpaddr55"; remote failure reply 'E0E'
pmpaddr56 Could not fetch register "pmpaddr56"; remote failure reply 'E0E'
pmpaddr57 Could not fetch register "pmpaddr57"; remote failure reply 'E0E'
pmpaddr58 Could not fetch register "pmpaddr58"; remote failure reply 'E0E'
pmpaddr59 Could not fetch register "pmpaddr59"; remote failure reply 'E0E'
pmpaddr60 Could not fetch register "pmpaddr60"; remote failure reply 'E0E'
pmpaddr61 Could not fetch register "pmpaddr61"; remote failure reply 'E0E'
pmpaddr62 Could not fetch register "pmpaddr62"; remote failure reply 'E0E'
pmpaddr63 Could not fetch register "pmpaddr63"; remote failure reply 'E0E'
scontext Could not fetch register "scontext"; remote failure reply 'E0E'
hstatus Could not fetch register "hstatus"; remote failure reply 'E0E'
hedeleg Could not fetch register "hedeleg"; remote failure reply 'E0E'
hideleg Could not fetch register "hideleg"; remote failure reply 'E0E'
hie Could not fetch register "hie"; remote failure reply 'E0E'
htimedelta Could not fetch register "htimedelta"; remote failure reply 'E0E'
hcounteren Could not fetch register "hcounteren"; remote failure reply 'E0E'
hgeie Could not fetch register "hgeie"; remote failure reply 'E0E'
henvcfg Could not fetch register "henvcfg"; remote failure reply 'E0E'
htimedeltah Could not fetch register "htimedeltah"; remote failure reply 'E0E'
henvcfgh Could not fetch register "henvcfgh"; remote failure reply 'E0E'
htval Could not fetch register "htval"; remote failure reply 'E0E'
hip Could not fetch register "hip"; remote failure reply 'E0E'
hvip Could not fetch register "hvip"; remote failure reply 'E0E'
htinst Could not fetch register "htinst"; remote failure reply 'E0E'
hgatp Could not fetch register "hgatp"; remote failure reply 'E0E'
hcontext Could not fetch register "hcontext"; remote failure reply 'E0E'
mseccfg Could not fetch register "mseccfg"; remote failure reply 'E0E'
mseccfgh Could not fetch register "mseccfgh"; remote failure reply 'E0E'
tselect 0x0 0
tdata1 0x21800000 562036736
tdata2 0x0 0
tdata3 0x0 0
tinfo 0x3c 60
tcontrol Could not fetch register "tcontrol"; remote failure reply 'E0E'
mcontext 0x0 0
mscontext Could not fetch register "mscontext"; remote failure reply 'E0E'
dcsr 0x400006c3 1073743555
dpc 0x8003ebe 134233790
dscratch0 0x10000 65536
dscratch1 0xe 14
mcycle 0x7df7 32247
minstret 0x4cf5 19701
mhpmcounter3 0x0 0
mhpmcounter4 0x0 0
mhpmcounter5 0x0 0
mhpmcounter6 0x0 0
mhpmcounter7 0x0 0
mhpmcounter8 0x0 0
mhpmcounter9 0x0 0
mhpmcounter10 0x0 0
mhpmcounter11 0x0 0
mhpmcounter12 0x0 0
mhpmcounter13 0x0 0
mhpmcounter14 0x0 0
mhpmcounter15 0x0 0
mhpmcounter16 0x0 0
mhpmcounter17 0x0 0
mhpmcounter18 0x0 0
mhpmcounter19 0x0 0
mhpmcounter20 0x0 0
mhpmcounter21 0x0 0
mhpmcounter22 0x0 0
mhpmcounter23 0x0 0
mhpmcounter24 0x0 0
mhpmcounter25 0x0 0
mhpmcounter26 0x0 0
mhpmcounter27 0x0 0
mhpmcounter28 0x0 0
mhpmcounter29 0x0 0
mhpmcounter30 0x0 0
mhpmcounter31 0x0 0
mcycleh 0x0 0
minstreth 0x0 0
mhpmcounter3h 0x0 0
mhpmcounter4h 0x0 0
mhpmcounter5h 0x0 0
mhpmcounter6h 0x0 0
mhpmcounter7h 0x0 0
mhpmcounter8h 0x0 0
mhpmcounter9h 0x0 0
mhpmcounter10h 0x0 0
mhpmcounter11h 0x0 0
mhpmcounter12h 0x0 0
mhpmcounter13h 0x0 0
mhpmcounter14h 0x0 0
mhpmcounter15h 0x0 0
mhpmcounter16h 0x0 0
mhpmcounter17h 0x0 0
mhpmcounter18h 0x0 0
mhpmcounter19h 0x0 0
mhpmcounter20h 0x0 0
mhpmcounter21h 0x0 0
mhpmcounter22h 0x0 0
mhpmcounter23h 0x0 0
mhpmcounter24h 0x0 0
mhpmcounter25h 0x0 0
mhpmcounter26h 0x0 0
mhpmcounter27h 0x0 0
mhpmcounter28h 0x0 0
mhpmcounter29h 0x0 0
mhpmcounter30h 0x0 0
mhpmcounter31h 0x0 0
cycle 0x7df7 32247
time Could not fetch register "time"; remote failure reply 'E0E'
instret 0x4cf5 19701
hpmcounter3 0x0 0
hpmcounter4 0x0 0
hpmcounter5 0x0 0
hpmcounter6 0x0 0
hpmcounter7 0x0 0
hpmcounter8 0x0 0
hpmcounter9 0x0 0
hpmcounter10 0x0 0
hpmcounter11 0x0 0
hpmcounter12 0x0 0
hpmcounter13 0x0 0
hpmcounter14 0x0 0
hpmcounter15 0x0 0
hpmcounter16 0x0 0
hpmcounter17 0x0 0
hpmcounter18 0x0 0
hpmcounter19 0x0 0
hpmcounter20 0x0 0
hpmcounter21 0x0 0
hpmcounter22 0x0 0
hpmcounter23 0x0 0
hpmcounter24 0x0 0
hpmcounter25 0x0 0
hpmcounter26 0x0 0
hpmcounter27 0x0 0
hpmcounter28 0x0 0
hpmcounter29 0x0 0
hpmcounter30 0x0 0
hpmcounter31 0x0 0
cycleh 0x0 0
timeh Could not fetch register "timeh"; remote failure reply 'E0E'
instreth 0x0 0
hpmcounter3h 0x0 0
hpmcounter4h 0x0 0
hpmcounter5h 0x0 0
hpmcounter6h 0x0 0
hpmcounter7h 0x0 0
hpmcounter8h 0x0 0
hpmcounter9h 0x0 0
hpmcounter10h 0x0 0
hpmcounter11h 0x0 0
hpmcounter12h 0x0 0
hpmcounter13h 0x0 0
hpmcounter14h 0x0 0
hpmcounter15h 0x0 0
hpmcounter16h 0x0 0
hpmcounter17h 0x0 0
hpmcounter18h 0x0 0
hpmcounter19h 0x0 0
hpmcounter20h 0x0 0
hpmcounter21h 0x0 0
hpmcounter22h 0x0 0
hpmcounter23h 0x0 0
hpmcounter24h 0x0 0
hpmcounter25h 0x0 0
hpmcounter26h 0x0 0
hpmcounter27h 0x0 0
hpmcounter28h 0x0 0
hpmcounter29h 0x0 0
hpmcounter30h 0x0 0
hpmcounter31h 0x0 0
hgeip Could not fetch register "hgeip"; remote failure reply 'E0E'
mvendorid 0x31e 798
marchid 0x80000022 -2147483614
mimpid 0x100 256
mhartid 0x0 0
mconfigptr Could not fetch register "mconfigptr"; remote failure reply 'E0E'
priv 0x3 prv:3 [Machine]
utvt Could not fetch register "utvt"; remote failure reply 'E0E'
unxti Could not fetch register "unxti"; remote failure reply 'E0E'
uintstatus Could not fetch register "uintstatus"; remote failure reply 'E0E'
uscratchcsw Could not fetch register "uscratchcsw"; remote failure reply 'E0E'
uscratchcswl Could not fetch register "uscratchcswl"; remote failure reply 'E0E'
stvt Could not fetch register "stvt"; remote failure reply 'E0E'
sstateen0 Could not fetch register "sstateen0"; remote failure reply 'E0E'
sstateen1 Could not fetch register "sstateen1"; remote failure reply 'E0E'
sstateen2 Could not fetch register "sstateen2"; remote failure reply 'E0E'
sstateen3 Could not fetch register "sstateen3"; remote failure reply 'E0E'
snxti Could not fetch register "snxti"; remote failure reply 'E0E'
sintstatus Could not fetch register "sintstatus"; remote failure reply 'E0E'
sscratchcsw Could not fetch register "sscratchcsw"; remote failure reply 'E0E'
sscratchcswl Could not fetch register "sscratchcswl"; remote failure reply 'E0E'
stimecmp Could not fetch register "stimecmp"; remote failure reply 'E0E'
stimecmph Could not fetch register "stimecmph"; remote failure reply 'E0E'
vstimecmp Could not fetch register "vstimecmp"; remote failure reply 'E0E'
vstimecmph Could not fetch register "vstimecmph"; remote failure reply 'E0E'
mtvt 0x8000000 134217728
mstateen0 Could not fetch register "mstateen0"; remote failure reply 'E0E'
mstateen1 Could not fetch register "mstateen1"; remote failure reply 'E0E'
mstateen2 Could not fetch register "mstateen2"; remote failure reply 'E0E'
mstateen3 Could not fetch register "mstateen3"; remote failure reply 'E0E'
mstateen0h Could not fetch register "mstateen0h"; remote failure reply 'E0E'
mstateen1h Could not fetch register "mstateen1h"; remote failure reply 'E0E'
mstateen2h Could not fetch register "mstateen2h"; remote failure reply 'E0E'
mstateen3h Could not fetch register "mstateen3h"; remote failure reply 'E0E'
mnxti 0x0 0
mintstatus 0x0 0
mscratchcsw 0x0 0
mscratchcswl 0x0 0
hstateen0 Could not fetch register "hstateen0"; remote failure reply 'E0E'
hstateen1 Could not fetch register "hstateen1"; remote failure reply 'E0E'
hstateen2 Could not fetch register "hstateen2"; remote failure reply 'E0E'
hstateen3 Could not fetch register "hstateen3"; remote failure reply 'E0E'
hstateen0h Could not fetch register "hstateen0h"; remote failure reply 'E0E'
hstateen1h Could not fetch register "hstateen1h"; remote failure reply 'E0E'
hstateen2h Could not fetch register "hstateen2h"; remote failure reply 'E0E'
hstateen3h Could not fetch register "hstateen3h"; remote failure reply 'E0E'
mhpmevent3h Could not fetch register "mhpmevent3h"; remote failure reply 'E0E'
mhpmevent4h Could not fetch register "mhpmevent4h"; remote failure reply 'E0E'
mhpmevent5h Could not fetch register "mhpmevent5h"; remote failure reply 'E0E'
mhpmevent6h Could not fetch register "mhpmevent6h"; remote failure reply 'E0E'
mhpmevent7h Could not fetch register "mhpmevent7h"; remote failure reply 'E0E'
mhpmevent8h Could not fetch register "mhpmevent8h"; remote failure reply 'E0E'
mhpmevent9h Could not fetch register "mhpmevent9h"; remote failure reply 'E0E'
mhpmevent10h Could not fetch register "mhpmevent10h"; remote failure reply 'E0E'
mhpmevent11h Could not fetch register "mhpmevent11h"; remote failure reply 'E0E'
mhpmevent12h Could not fetch register "mhpmevent12h"; remote failure reply 'E0E'
mhpmevent13h Could not fetch register "mhpmevent13h"; remote failure reply 'E0E'
mhpmevent14h Could not fetch register "mhpmevent14h"; remote failure reply 'E0E'
mhpmevent15h Could not fetch register "mhpmevent15h"; remote failure reply 'E0E'
mhpmevent16h Could not fetch register "mhpmevent16h"; remote failure reply 'E0E'
mhpmevent17h Could not fetch register "mhpmevent17h"; remote failure reply 'E0E'
mhpmevent18h Could not fetch register "mhpmevent18h"; remote failure reply 'E0E'
mhpmevent19h Could not fetch register "mhpmevent19h"; remote failure reply 'E0E'
mhpmevent20h Could not fetch register "mhpmevent20h"; remote failure reply 'E0E'
mhpmevent21h Could not fetch register "mhpmevent21h"; remote failure reply 'E0E'
mhpmevent22h Could not fetch register "mhpmevent22h"; remote failure reply 'E0E'
mhpmevent23h Could not fetch register "mhpmevent23h"; remote failure reply 'E0E'
mhpmevent24h Could not fetch register "mhpmevent24h"; remote failure reply 'E0E'
mhpmevent25h Could not fetch register "mhpmevent25h"; remote failure reply 'E0E'
mhpmevent26h Could not fetch register "mhpmevent26h"; remote failure reply 'E0E'
mhpmevent27h Could not fetch register "mhpmevent27h"; remote failure reply 'E0E'
mhpmevent28h Could not fetch register "mhpmevent28h"; remote failure reply 'E0E'
mhpmevent29h Could not fetch register "mhpmevent29h"; remote failure reply 'E0E'
mhpmevent30h Could not fetch register "mhpmevent30h"; remote failure reply 'E0E'
mhpmevent31h Could not fetch register "mhpmevent31h"; remote failure reply 'E0E'
scountovf Could not fetch register "scountovf"; remote failure reply 'E0E'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment