en:uhsdr_dev:toolchain

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:uhsdr_dev:toolchain [06.02.2018 20:54] df9ts_useren:uhsdr_dev:toolchain [06.02.2018 22:07] df9ts_user
Line 56: Line 56:
 apt-get install gdb apt-get install gdb
 </code> </code>
 +
 +  * Latest GNU MCU OpenOCD binaries can be found [[https://gnu-mcu-eclipse.github.io/openocd/releases/|here]].
 +  * This leads e.g. to [[https://github.com/gnu-mcu-eclipse/openocd/releases/tag/v0.10.0-7-20180123/|these binary files]]
 +
 +Installation:
 +<code>
 +$ cd ${HOME}/opt
 +$ tar xvf ~/Downloads/gnu-mcu-eclipse-openocd-0.10.0-7-20180123-1217-centos64.tgz
 +$ chmod -R -w gnu-mcu-eclipse/openocd/0.10.0-7-20180123-1217
 +</code>
 +
 +Check OpenOCD installation:
 +<code>
 +$ ${HOME}/opt/gnu-mcu-eclipse/openocd/0.10.0-7-20180123-1217/bin/openocd --version
 +</code>
 +Output should be something like this:
 +<code>
 +GNU MCU Eclipse 64-bits Open On-Chip Debugger 0.10.0+dev-00404-g20463c28 (2018-01-23-12:24)
 +Licensed under GNU GPL v2
 +For bug reports, read
 + http://openocd.org/doc/doxygen/bugs.html
 +</code>
 +
 +Install UDEV rules for USB OpenOCD probes:
 +<code>
 +# cp ${HOME}/opt/gnu-mcu-eclipse/openocd/0.10.0-7-20180123-1217/contrib/60-openocd.rules /etc/udev/rules.d/
 +# udevadm control --reload-rules
 +# usermod -aG plugdev $USER
 +</code>
 +
 +Install OpenOCD Debugging plugin, see [[https://gnu-mcu-eclipse.github.io/openocd/install/|here]]
 +
 +Update OpenOCD path, see [[https://gnu-mcu-eclipse.github.io/openocd/install/|here]]
 +
 +{{ :en:uhsdr_dev:openocd.pdf |OpeOCD manual from sourceforge}}
 +[[https://community.particle.io/t/tutorial-using-eclipse-st-link-v2-openocd-to-debug/10042|eclipse & st-link/v2 tutorial]]
 +
 +
 +
 +
 +
  
 GDB 7.12 distributed with the initial GCC 6.2 (gcc-arm-none-eabi-6_2-2016q4-20161216) has several issues (crashes on macOS and is incompatible with Neon.2). GDB 7.12 distributed with the initial GCC 6.2 (gcc-arm-none-eabi-6_2-2016q4-20161216) has several issues (crashes on macOS and is incompatible with Neon.2).
  • en/uhsdr_dev/toolchain.txt
  • Last modified: 06.02.2018 23:03
  • by df9ts_user