From accbc3c3538016eddfda788ca0263da0ac095383 Mon Sep 17 00:00:00 2001 From: Alex Gavin Date: Sun, 18 Dec 2022 21:39:14 -0800 Subject: [PATCH] Update OpenOCD confs to reflect current tcl commands --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 483857d..7ddacb2 100644 --- a/README.md +++ b/README.md @@ -223,14 +223,14 @@ OpenOCD is a powerful tool for On-Chip Debugging of ARM, MIPS, and some other ar The appropriate configuration file (make this a link to the file) should look like: ``` -interface ftdi -ftdi_vid_pid 0x0403 0x6010 -ftdi_channel 1 -adapter_khz 2000 -ftdi_layout_init 0x0038 0x003b -ftdi_layout_signal nTRST -data 0x0010 -ftdi_layout_signal nSRST -data 0x0020 +adapter driver ftdi transport select jtag +ftdi vid_pid 0x0403 0x6010 +ftdi channel 1 +adapter speed 2000 +ftdi layout_init 0x0038 0x003b +ftdi layout_signal nTRST -data 0x0010 +ftdi layout_signal nSRST -data 0x0020 ``` To use it with openocd: @@ -313,12 +313,12 @@ The appropriate configuration file (make this a link to the file) should look li ``` adapter driver ftdi transport select swd -ftdi_vid_pid 0x0403 0x6010 -ftdi_channel 1 +ftdi vid_pid 0x0403 0x6010 +ftdi channel 1 adapter speed 2000 -ftdi_layout_init 0x0028 0x002b -ftdi_layout_signal SWD_EN -data 0 -ftdi_layout_signal nSRST -data 0x0020 +ftdi layout_init 0x0028 0x002b +ftdi layout_signal SWD_EN -data 0 +ftdi layout_signal nSRST -data 0x0020 ``` To use it with openocd: