This tutorial details how to use the Debuggoid to interact with a target.
Flash a target
flash.gdbfile that contains the instructions for gdb. In the file, replace
<hostname>by the hostname or the IP address of the Debuggoid.
target extended-remote <hostname>:2022 load run detach quit
This gdb example script will load the binary into the target, run the program and than detach and quit gdb. Please refer to xxx to get the commands available with GDB.
- From the Linux terminal, launch the script:
$ arm-none-eabi-gdb blink.ino.elf -x flash.gdb
Debug a target