aboutsummaryrefslogtreecommitdiff
path: root/git-hooks/commit-msg
diff options
context:
space:
mode:
authorMarek Kraus <gamelaster@outlook.com>2024-11-23 15:54:26 +0100
committerAntonio Borneo <borneo.antonio@gmail.com>2025-03-01 15:11:33 +0000
commitc986b4dbf2ff81753adcd0235954cfd577831672 (patch)
treee8fd082c32632d93f902c72b460513a6e24ce027 /git-hooks/commit-msg
parente1425845ea32713924cbfdfc9a328c6eb774f11f (diff)
downloadriscv-openocd-c986b4dbf2ff81753adcd0235954cfd577831672.zip
riscv-openocd-c986b4dbf2ff81753adcd0235954cfd577831672.tar.gz
riscv-openocd-c986b4dbf2ff81753adcd0235954cfd577831672.tar.bz2
tcl/target: add Bouffalo Lab BL602 and BL702L chip series support
BL602, BL702 and BL702L series of chips are sharing same architecture, so they all need same software reset mechanism as well. Only difference (in terms of configuration needed for JTAG) are TAP ID, workarea address and size. This is addressed by creating bl602_common.cfg tcl file, which contains all those common stuff between the chips. The script is prefixed by bl602, as this was first *publicly* available chip from Bouffalo with this architecture. This patch also improves reset mechanism. Previous reset mechanism did not worked properly when slower JTAG adapter was used (it attached too late). New reset mechanism uses various methods to keep CPU in BootROM, until the JTAG adapter does not attach again after reset. Additionally, we trigger SW Reset by directly using DMI commands to write to register with system bus method, to avoid getting error about unsuccessful write. The new method works on both FT232H (8MHz JTAG clock) and unnamed CMSIS-DAP dongle (1.5MHz JTAG clock). Change-Id: I5be3694927793fd3f64c9ed4ee6ded2db0d25cae Signed-off-by: Marek Kraus <gamelaster@outlook.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8593 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions