This is an automated email from Gerrit. "Rocco Marco Guglielmi <roccomarco.guglie...@gmail.com>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/7373
-- gerrit commit 1e9add257832bd1786458c9ab02ca3e20902b5d5 Author: Rocco Marco Guglielmi <roccomarco.guglie...@gmail.com> Date: Wed Nov 23 09:54:30 2022 +0100 Updated MAX326xx script to work with the latest version of OpenOCD Change-Id: Iec5aba3a082f2e25f21d7ca173ed710894b370a4 Signed-off-by: Rocco Marco Guglielmi <roccomarco.guglie...@gmail.com> Change-Id: Ia83850e326661c8acb0712a280fdf961258322a4 diff --git a/tcl/target/max32620.cfg b/tcl/target/max32620.cfg index 9f0f4929d3..f3a9f84c88 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] diff --git a/tcl/target/max32625.cfg b/tcl/target/max32625.cfg index 35e1c3bbd1..8de7331a10 100644 --- a/tcl/target/max32625.cfg +++ b/tcl/target/max32625.cfg @@ -1,5 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-or-later - # Maxim Integrated MAX32625 OpenOCD target configuration file # www.maximintegrated.com @@ -16,8 +14,10 @@ if {[using_jtag]} { swd newdap max32625 cpu -irlen 4 -irmask 0xf -expected-id 0x2ba01477 -ignore-version } +dap create max32625.dap -chain-position max32625.cpu + # target configuration -target create max32625.cpu cortex_m -chain-position max32625.cpu +target create max32625.cpu cortex_m -dap max32625.dap max32625.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] diff --git a/tcl/target/max3263x.cfg b/tcl/target/max3263x.cfg index 52a5a770e2..852e04af1e 100644 --- a/tcl/target/max3263x.cfg +++ b/tcl/target/max3263x.cfg @@ -16,8 +16,10 @@ if {[using_jtag]} { swd newdap max3263x cpu -irlen 4 -irmask 0xf -expected-id 0x2ba01477 -ignore-version } +dap create max3263x.dap -chain-position max3263x.cpu + # target configuration -target create max3263x.cpu cortex_m -chain-position max3263x.cpu +target create max3263x.cpu cortex_m -dap max3263x.dap max3263x.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] --