blob: c57a36d0174de0362a1265a60cd11e7ea59e6711 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Copyright (c) 2021 HPMicro
# SPDX-License-Identifier: BSD-3-Clause
set _CHIP hpm5301
set _CPUTAPID 0x1000563D
jtag newtap $_CHIP cpu -irlen 5 -expected-id $_CPUTAPID
set _TARGET0 $_CHIP.cpu0
target create $_TARGET0 riscv -chain-position $_CHIP.cpu -coreid 0
$_TARGET0 configure -work-area-phys 0x00000000 -work-area-size 0x20000 -work-area-backup 0
targets $_TARGET0
|