zephyr/boards/arm/atsame54_xpro/support/openocd.cfg

26 lines
539 B
INI

# Copyright (c) 2018 Bryan O'Donoghue
# SPDX-License-Identifier: Apache-2.0
source [find interface/cmsis-dap.cfg]
transport select swd
# chip name
set CHIPNAME atsame54p20a
set ENDIAN little
set CPUTAPID 0x0bc11477
source [find target/atsame5x.cfg]
reset_config none
cortex_m reset_config sysresetreq
$_TARGETNAME configure -event gdb-attach {
echo "Debugger attaching: halting execution"
reset halt
gdb_breakpoint_override hard
}
$_TARGETNAME configure -event gdb-detach {
echo "Debugger detaching: resuming execution"
resume
}