diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2022-11-23 09:54:30 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2022-11-28 22:23:30 +0000 |
commit | 5193f61cf5562587ada989ae84005efa62d1b155 (patch) | |
tree | e5ae67dd21f4788a1ea5aee79543e9f3b8119e0f /tcl/target/max32620.cfg | |
parent | e345cefabdda4e14c64b2206105e99b2fa0b9b6b (diff) | |
download | riscv-openocd-5193f61cf5562587ada989ae84005efa62d1b155.zip riscv-openocd-5193f61cf5562587ada989ae84005efa62d1b155.tar.gz riscv-openocd-5193f61cf5562587ada989ae84005efa62d1b155.tar.bz2 |
tcl: max326xx: fix target scripts for latest version of OpenOCD
Change-Id: Iec5aba3a082f2e25f21d7ca173ed710894b370a4
Signed-off-by: Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>
Change-Id: Ia83850e326661c8acb0712a280fdf961258322a4
Reviewed-on: https://review.openocd.org/c/openocd/+/7373
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'tcl/target/max32620.cfg')
-rw-r--r-- | tcl/target/max32620.cfg | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tcl/target/max32620.cfg b/tcl/target/max32620.cfg index 9f0f492..f3a9f84 100644 --- a/tcl/target/max32620.cfg +++ b/tcl/target/max32620.cfg @@ -16,8 +16,10 @@ if {[using_jtag]} { swd newdap max32620 cpu -irlen 4 -irmask 0xf -expected-id 0x2ba01477 -ignore-version } +dap create max32620.dap -chain-position max32620.cpu + # target configuration -target create max32620.cpu cortex_m -chain-position max32620.cpu +target create max32620.cpu cortex_m -dap max32620.dap max32620.cpu configure -work-area-phys 0x20005000 -work-area-size 0x2000 # Config Command: flash bank name driver base size chip_width bus_width target [driver_options] |