How to use

This tutorial details how to use the Debuggoid to interact with a target.

Required elements

arm-none-eabi-gdb

How-to

Flash a target

  1. Compile the code using the corresponding toolchain, such as Arduino for DecaDuino or DMOSDK. An elf file is generated.

  2. Make a flash.gdb file 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.

  1. From the Linux terminal, launch the script:
$ arm-none-eabi-gdb blink.ino.elf -x flash.gdb

Debug a target

ToDo