]> www.infradead.org Git - users/borneoa/openocd-next.git/commit
tcl/target: Add RCPU support for Spacemit K1
authorJunhui Liu <junhui.liu@pigmoral.tech>
Wed, 26 Mar 2025 15:05:39 +0000 (23:05 +0800)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 19 Apr 2025 09:24:48 +0000 (09:24 +0000)
commit498e5590297e11a9c952d4210c6236fe8105241f
tree725439425505749d53891bf718cb30d24739813f
parent797dc7aba74152115898084dd00a50757b20c985
tcl/target: Add RCPU support for Spacemit K1

Add support for the Real-Time CPU (RCPU) of K1, which is a 32-bit RISC-V
N308 High-Efficiency Processor Core designed by Nuclei System Technology
Co. Ltd.

The JTAG interface can be configured to connect to either X60s or RCPU
processors. To enable JTAG for RCPU, set TARGET to "rcpu".

For example:
openocd -c "set TARGET rcpu" -f interface/cmsis-dap.cfg \
        -f target/spacemit-k1.cfg

Change-Id: I9cd62fac332137afac17efa52702818de8f0b6f5
Signed-off-by: Junhui Liu <junhui.liu@pigmoral.tech>
Reviewed-on: https://review.openocd.org/c/openocd/+/8821
Reviewed-by: liangzhen <zhen.liang@spacemit.com>
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
tcl/target/spacemit-k1.cfg