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