From d10b189aac67a39359d94077f2e77cc76d8af301 Mon Sep 17 00:00:00 2001 From: theDigitalGuy <info@janeks.de> Date: Sat, 31 Aug 2019 15:47:25 +0200 Subject: [PATCH] made openocd always use SWD and added small note about gdb debugging files --- Documentation/debugger.rst | 6 ++++++ openocd/scripts/target/max32665.cfg | 3 +++ 2 files changed, 9 insertions(+) diff --git a/Documentation/debugger.rst b/Documentation/debugger.rst index b0207c489..1ca67b6e5 100644 --- a/Documentation/debugger.rst +++ b/Documentation/debugger.rst @@ -115,6 +115,12 @@ command to soft-reset card10. ... (gdb) +.. note:: + I you will also find the following self-describing gdb files in the firmware + root directory, which do not require additional arguments: + ``flash-all.gdb, flash-bootloader.gdb, + flash-both.gdb, flash-epicardium.gdb, flash-pycardium.gdb`` + .. warning:: If you are used to use ``mon reset halt``, be aware that the card10 prototypes do not connect the reset line to the debugger. OpenOCD is configured to only do diff --git a/openocd/scripts/target/max32665.cfg b/openocd/scripts/target/max32665.cfg index c79eb6fc3..4a3487e40 100644 --- a/openocd/scripts/target/max32665.cfg +++ b/openocd/scripts/target/max32665.cfg @@ -1,6 +1,9 @@ # Maxim Integrated MAX32665 OpenOCD target configuration file # www.maximintegrated.com +# selecting transport method, to prevenet auto-selecting something else +transport select swd + # Set the reset pin configuration reset_config none -- GitLab