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/09/05 10:03] – [Installation of the USB driver] 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. Here, the description | + | OpenOCD can be installed on Windows, Linux and OS-X. |
+ | |||
+ | ===== Linux ===== | ||
+ | |||
+ | * Install OpenOCD, it is probably available through your distribution' | ||
+ | * Download {{ : | ||
+ | * Hint: You can use '' | ||
+ | * Run OpenOCD with the correct config file: | ||
+ | - '' | ||
+ | - '' | ||
+ | |||
+ | |||
+ | ===== Windows ===== | ||
In order to use OpenOCD, the correct USB drivers must be installed. We suggest using [[http:// | In order to use OpenOCD, the correct USB drivers must be installed. We suggest using [[http:// | ||
- | ===== Installation of the USB driver | + | ==== Installation of the USB driver ==== |
- Download the [[http:// | - 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. | - 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 | - Identify the USB serial converter, which connects to the JTAG bus. Depending on your actual board this will be | ||
- | * Avnet MicroZed: Device name: USB Serial Converter A | + | * Avnet MicroZed: Device name: Digilent |
* Digilent Zybo: Device name: USB Serial Converter A, Vendor ID = 0403, Device ID = 6010, Interface = 00 \\ {{: | * 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 | - Right-click on the device and select the WinUSB driver to install the driver | ||
- | |||
- If you want to reinstall the default driver choose "// | - If you want to reinstall the default driver choose "// | ||
- | ===== Installation of OpenOCD | + | ==== 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 '' | ||