TinCanTools provides patches for the OpenOCD source to add support for the Flyswatter2 and Flyswatter3. These patches also contain config files for use with other guides on this wiki.
Patches on this page are linked directly from the guides on Compiling OpenOCD.
Contents
Reading the Content of Patches
OpenOCD are created by the Linux program diff. Diff files are in text format. You can see the changes made by a patch on this page by simply opening and reading it in a text editor. Lines added to files are proceeded by a + sign.
The full text of all config files can also be found on the OpenOCD Config Files page.
OpenOCD 0.5.0 Patch
Target: OpenOCD 0.5.0 source
Version: b0.11
Format: diff
Description: This patch adds support for the Flyswatter2 and Flyswatter3, updates the config file for the Flyswatter and the Hammer, and adds a new config file for the Olimex PIC-P32MX board.
Install: Save to /openocd-0.5.0, the directory containing the OpenOCD source. Then open a terminal window and type:
$ cd ~/openocd-0.5.0 $ patch -p1 -i Tincantools-openocd-b0.12.patch
Download Tincantools-openocd-b0.12.patch
Right-click the link and select “Save As”
Files Modified:
- src/jtag/drivers/ft2232.c
- tcl/interface/flyswatter.cfg
- tcl/board/hammer.cfg
- tcl/target/amdm37x.cfg
Files Created:
Version | Changes |
0.12 | Added amdm37x.cfg corrected flyswatter3_init() error messages in ft2232.c |
0.11 |
OpenOCD 0.4.0 Flyswatter 2/3 Patch
Target: OpenOCD 0.4.0 source
Version: b0.1
Format: diff
Description: This patch adds support for the Flyswatter2 and Flyswatter3 in OpenOCD 0.4.0, and adds a new config file for the Olimex PIC-P32MX board.
Install: Save to /openocd-0.4.0, the directory containing the OpenOCD source. Then open a terminal window and type:
$ cd ~/openocd-0.4.0 $ patch -p1 -i Openocd-fs3-b0.1.patch
Download Openocd-fs3-b0.1.patch
Right-click the link and select “Save As”
Files Modified:
- src/jtag/drivers/ft2232.c
Files Created: