This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
openocd:starting_openocd [2020/01/30 13:23] – ursgraf | openocd:starting_openocd [2020/12/09 22:00] – [Windows] ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Starting OpenOCD ====== | ====== Starting OpenOCD ====== | ||
+ | OpenOCD runs a server to which you can connect | ||
+ | * to the command line interface of OpenOCD with a telnet connection on port 4444 | ||
+ | * to the GDB server on port 3333 | ||
+ | |||
+ | 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 '' | ||
- | After startup the shell of OpenOCD is blocked. | ||
- | |||
- | With a telnet connection on localhost: | ||
- | The gdb connects over port 3333. | + | ===== Linux ===== |
+ | Run OpenOCD with the correct config file: | ||
+ | cd / | ||
+ | sudo openocd -f microzedboard.cfg or sudo openocd -f digilent_zyboboard.cfg | ||