This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
openocd:installation [2020/01/30 13:17] – [Installation of OpenOCD] ursgraf | openocd:installation [2020/09/21 14:39] – mlammerich | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Installation of the OpenOCD toolchain ====== | ====== Installation of the OpenOCD toolchain ====== | ||
- | OpenOCD can be installed on Windows, Linux and OS-X. However, this manual is limited to Windows. | + | OpenOCD can be installed on Windows, Linux and OS-X. |
- | In order to use OpenOCD, the correct USB drivers must also be installed. The USB Drive Tool is used for this purpose. However, the USB Drive Tool is only available for Windows. | + | ===== Linux ===== |
- | ===== Installation of the USB driver ===== | + | * Install OpenOCD, |
- | - [[ http:// | + | * Download |
- | - Connect | + | * Hint: You can use '' |
- | | + | |
- | | + | |
- | * Device name: USB Serial Converter A | + | |
- | * Vendor ID: 0403 | + | |
- | * Device ID: 6010 | + | |
- | * Interface: 00 \\ {{:openocd:installwinusbdriver.png|}} \\ //Picture 1: USB Drive tool // | + | |
- | - Right-click on the device and select the WinUSB driver to install the driver | + | |
- | * If you want to install the default driver choose "// | ||
- | * Do not install a different driver for "//USB Serial Converter A//". It is probably the driver for the UART connection. | ||
- | ===== Installation of OpenOCD | + | ===== Windows ===== |
+ | |||
+ | In order to use OpenOCD, the correct USB drivers must be installed. We suggest using [[http:// | ||
+ | |||
+ | ==== Installation of the USB driver | ||
+ | - Download the [[http:// | ||
+ | - Connect your FT2232 based programmer, e.g. the JTAG-HS3. If you use the Zybo board, connect the board directly as it has the programmer already packed on the board. | ||
+ | - Identify the USB serial converter, which connects to the JTAG bus. Depending on your actual board this will be | ||
+ | * Avnet MicroZed: Device name: Digilent USB Device, Vendor ID = 0403, Device ID = 6014 \\ {{: | ||
+ | * Digilent Zybo: Device name: USB Serial Converter A, Vendor ID = 0403, Device ID = 6010, Interface = 00 \\ {{: | ||
+ | - Right-click on the device and select the WinUSB driver to install the driver | ||
+ | - If you want to reinstall the default driver choose "// | ||
+ | ==== Installation of OpenOCD | ||
- You can either compile OpenOCD from the [[http:// | - You can either compile OpenOCD from the [[http:// | ||
- Extract the archive to your computer | - Extract the archive to your computer | ||
- The executable binary is located under: '' | - The executable binary is located under: '' | ||
- The user manual is located under: '' | - The user manual is located under: '' | ||
- | - Get {{ :openocd:ntbboards.rar |}} and unpack it into your '' | + | - Get {{ :openocd:ostboards.rar |}} and unpack it into your '' |
+ | |||
+ | Alternatively, | ||
+ | |||
+ | ==== Installation of OpenOCD-Interface Plugin ==== | ||
+ | The deep plugin of eclipse needs the [[https:// | ||
+ | - Start the Eclipse IDE (eclipse.exe) | ||
+ | - Open the plugin installation dialog: Help → Install New Software… | ||
+ | - Add a new plugin source: Add… → Name: NTB Plugins, Location: http:// | ||
+ | - Add the plugin by checking '' | ||