Commit 3f4677f8 authored by Techy's avatar Techy Committed by Rahix
Browse files

fix(openocd-scripts): Always use SWD

OpenOCD tried

    Info : auto-selecting first available session transport "jtag".
           To override use 'transport select <transport>'.

using a JLink debugger.  Overriding it with SWD is what I did. With the
CMSIS debugger OpenOCD you get lucky:

    Info : auto-selecting first available session transport "swd".

Hope forcing it always to SWD will make it easier for others using
different debuggers.
parent d2f0f229
...@@ -115,6 +115,12 @@ command to soft-reset card10. ...@@ -115,6 +115,12 @@ command to soft-reset card10.
... ...
(gdb) (gdb)
.. note::
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:: .. warning::
If you are used to use ``mon reset halt``, be aware that the card10 prototypes 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 do not connect the reset line to the debugger. OpenOCD is configured to only do
......
# Maxim Integrated MAX32665 OpenOCD target configuration file # Maxim Integrated MAX32665 OpenOCD target configuration file
# www.maximintegrated.com # www.maximintegrated.com
# selecting transport method, to prevenet auto-selecting something else
transport select swd
# Set the reset pin configuration # Set the reset pin configuration
reset_config none reset_config none
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment