This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| openocd:starting_openocd [2020/12/09 21:56] – ursgraf | openocd:starting_openocd [2022/11/24 16:06] (current) – ursgraf | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Starting OpenOCD ====== | ====== Starting OpenOCD ====== | ||
| - | Start the OpenOCD server | + | OpenOCD runs a server to which you can connect |
| + | * to the command line interface of OpenOCD | ||
| + | * to the GDB server | ||
| - | ===== Windows | + | OpenOCD is started automatically when downloading to a Zynq7000 based board. Alternatively you can start OpenOCD as follows: |
| + | ==== Windows ==== | ||
| Navigate to your '' | Navigate to your '' | ||
| * On the Zybo board start '' | * On the Zybo board start '' | ||
| * On the Microzed board start '' | * On the Microzed board start '' | ||
| - | These commands will | ||
| - | With a telnet connection on localhost: | ||
| - | The gdb connects over port 3333. | + | ==== Linux ==== |
| - | + | Navigate to your '' | |
| - | ===== Linux ===== | + | * On the Zybo board start with '' |
| - | Run OpenOCD with the correct config file: | + | * On the Microzed board start with '' |
| - | cd / | + | Alternatively, |
| - | sudo openocd -f microzedboard.cfg | + | * '' |
| + | * '' | ||