User Tools

Site Tools


projects:virtualmachine:jtag_debug

This is an old revision of the document!


Prerequisites

To be able to debug the Crazyflie using JTAG you will need to solder the extra connector that is packaged with the Crazyflie on pins 1-10 on the EXT connector <insert image>. You will also need a JTAG debugger. The virtual machine is pre-configured to use the BusBlaster from DangerousPrototypes but can be set-up with any JTAG device that openOCD supports.

Debugging

In order to start debugging do the followning:

  • In the targets view double-click debug to build the firmware and then flash to flash it
  • Start the openOCD backend by pressing the small arrow on the External Tools button and selecting openOCD server
  • Start gdb by pressing the small arrow in the Debug button and selecting crazyflie gdb
  • Eclipse will now switch to the debugging interface and you are ready to debug
projects/virtualmachine/jtag_debug.1372751920.txt.gz · Last modified: 2015-07-15 16:30 (external edit)