Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
en:uhsdr_dev:toolchain [06.02.2018 15:22] – df9ts_user | en:uhsdr_dev:toolchain [06.02.2018 22:07] – df9ts_user | ||
---|---|---|---|
Line 41: | Line 41: | ||
\\ | \\ | ||
=== GDB - GNU Debugger & OpenOCD === | === GDB - GNU Debugger & OpenOCD === | ||
+ | Check that GDB is installed in your Linux distribution by entering | ||
+ | < | ||
+ | $ gdb | ||
+ | </ | ||
+ | The output should look like this: | ||
+ | < | ||
+ | GNU gdb (Debian 7.12-6+b1) 7.12.0.20161007-git | ||
+ | Copyright (C) 2016 Free Software Foundation, Inc. | ||
+ | License GPLv3+: GNU GPL version 3 or later < | ||
+ | [...] | ||
+ | </ | ||
+ | If missing install with | ||
+ | < | ||
+ | apt-get install gdb | ||
+ | </ | ||
+ | |||
+ | * Latest GNU MCU OpenOCD binaries can be found [[https:// | ||
+ | * This leads e.g. to [[https:// | ||
+ | |||
+ | Installation: | ||
+ | < | ||
+ | $ cd ${HOME}/opt | ||
+ | $ tar xvf ~/ | ||
+ | $ chmod -R -w gnu-mcu-eclipse/ | ||
+ | </ | ||
+ | |||
+ | Check OpenOCD installation: | ||
+ | < | ||
+ | $ ${HOME}/ | ||
+ | </ | ||
+ | Output should be something like this: | ||
+ | < | ||
+ | GNU MCU Eclipse 64-bits Open On-Chip Debugger 0.10.0+dev-00404-g20463c28 (2018-01-23-12: | ||
+ | Licensed under GNU GPL v2 | ||
+ | For bug reports, read | ||
+ | http:// | ||
+ | </ | ||
+ | |||
+ | Install UDEV rules for USB OpenOCD probes: | ||
+ | < | ||
+ | # cp ${HOME}/ | ||
+ | # udevadm control --reload-rules | ||
+ | # usermod -aG plugdev $USER | ||
+ | </ | ||
+ | |||
+ | Install OpenOCD Debugging plugin, see [[https:// | ||
+ | |||
+ | Update OpenOCD path, see [[https:// | ||
+ | |||
+ | {{ : | ||
+ | [[https:// | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
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). | ||
The recommendation is to use the update version gcc-arm-none-eabi-6-2017-q1-update, | The recommendation is to use the update version gcc-arm-none-eabi-6-2017-q1-update, |