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:21] – ursgraf | openocd:starting_openocd [2020/12/09 22:00] – [Starting OpenOCD] ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Starting OpenOCD ====== | ====== Starting OpenOCD ====== | ||
- | Navigate | + | OpenOCD runs a server |
+ | * to the command line interface of OpenOCD with a telnet connection on port 4444 | ||
+ | * to the GDB server on port 3333 | ||
- | After startup the shell of OpenOCD | + | Start OpenOCD |
+ | ===== Windows ===== | ||
+ | Navigate to your '' | ||
+ | * On the Zybo board start '' | ||
+ | * On the Microzed board start '' | ||
- | With a telnet connection on localhost: | + | These commands will |
+ | With a telnet connection on localhost: | ||
The gdb connects over port 3333. | 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 | ||