tcl/target: Add max32662.cfg
Config file added and tested on max32662evkit Change-Id: I20cff70aaf8bb4577ba1e6f658afdd3b96e13145 Signed-off-by: Mark O'Donovan <shiftee@posteo.net> Reviewed-on: https://review.openocd.org/c/openocd/+/9325 Reviewed-by: Tomas Vanek <vanekt@fbl.cz> Tested-by: jenkins
This commit is contained in:
committed by
Tomas Vanek
parent
ab718d66ce
commit
f9ec0ed51f
18
tcl/target/max32662.cfg
Normal file
18
tcl/target/max32662.cfg
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
# Maxim Integrated MAX32662 - Arm Cortex-M4F @ 100MHz
|
||||||
|
|
||||||
|
# Set the reset pin configuration
|
||||||
|
reset_config srst_only
|
||||||
|
|
||||||
|
# Set flash parameters
|
||||||
|
set FLASH_BASE 0x10000000
|
||||||
|
set FLASH_SIZE 0x40000
|
||||||
|
set FLC_BASE 0x40029000
|
||||||
|
set FLASH_SECTOR 0x2000
|
||||||
|
set FLASH_CLK 96
|
||||||
|
set FLASH_OPTIONS 0x01
|
||||||
|
|
||||||
|
# Use Serial Wire Debug
|
||||||
|
transport select swd
|
||||||
|
|
||||||
|
source [find target/max32xxx_common.cfg]
|
||||||
Reference in New Issue
Block a user