From 269fdd233c0a4ae642bf37d991b664cfe8fe3d13 Mon Sep 17 00:00:00 2001 From: Henrik Mau Date: Mon, 30 Jun 2025 11:53:42 +0100 Subject: [PATCH] tcl/target/max32680: Add max32680 support Add configuration file for max32680 Change-Id: Ibe290fd6d964ae3355f4e064f65b4510a9cbf5dd Signed-off-by: Henrik Mau Reviewed-on: https://review.openocd.org/c/openocd/+/8978 Reviewed-by: Antonio Borneo Tested-by: jenkins --- tcl/target/max32680.cfg | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tcl/target/max32680.cfg diff --git a/tcl/target/max32680.cfg b/tcl/target/max32680.cfg new file mode 100644 index 000000000..9c3ad24bd --- /dev/null +++ b/tcl/target/max32680.cfg @@ -0,0 +1,22 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# Maxim Integrated MAX32655 OpenOCD target configuration file + +adapter speed 500 + +# Set the reset pin configuration +reset_config srst_only +adapter srst delay 2 +adapter srst pulse_width 2 + +# Set flash parameters +set FLASH_BASE 0x10000000 +set FLASH_SIZE 0x80000 +set FLC_BASE 0x40029000 +set FLASH_SECTOR 0x2000 +set FLASH_CLK 100 +set FLASH_OPTIONS 0x01 + +# Use Serial Wire Debug +transport select swd + +source [find target/max32xxx_common.cfg]