mirror of
https://github.com/MikronMIK32/mik32-uploader.git
synced 2026-10-30 02:11:13 +03:00
Merge branch 'master' into test
This commit is contained in:
commit
d4e5804410
6 files changed
+19
-4
No files matched your search
@@ -54,14 +54,17 @@ proc init_targets {} {
|
||||
|
||||
set _CHIPNAME riscv
|
||||
set _CPUTAPID 0xdeb11001
|
||||
set _SYSTAPID 0xfffffffe
|
||||
|
||||
jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id $_CPUTAPID
|
||||
|
||||
jtag newtap $_CHIPNAME sys -irlen 4 -ircapture 0x05 -irmask 0x0F -enable
|
||||
jtag newtap $_CHIPNAME sys -irlen 4 -ircapture 0x05 -irmask 0x0F -enable -expected-id $_SYSTAPID -ignore-bypass
|
||||
|
||||
set _TARGETNAME $_CHIPNAME.cpu
|
||||
|
||||
target create $_TARGETNAME riscv -endian little -chain-position $_TARGETNAME -coreid 0
|
||||
|
||||
riscv expose_csrs 2016=mcounten
|
||||
}
|
||||
|
||||
poll_period 200
|
||||
|
||||
Reference in new issue
Block a user