This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
projects:virtualmachine:jtag_debug [2013-07-02 09:58] macke |
projects:virtualmachine:jtag_debug [2021-06-02 11:21] kimberly |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <WRAP center round important 60%> | ||
+ | This page has deprecated and moved to the new documentation framework of the main Bitcraze website. Please go to [[https:// | ||
+ | [[https:// | ||
+ | </ | ||
+ | |||
+ | |||
====== Prerequisites ====== | ====== 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 [[http:// | + | |
+ | ======= Crazyflie 1.0 ======= | ||
+ | To be able to debug the Crazyflie | ||
+ | |||
+ | ======= Crazyflie 2.0 ======= | ||
+ | The [[projects:crazyflie2: | ||
+ | |||
+ | The STM32F405 debug connector is located under the micro USB connector. | ||
+ | |||
+ | The nRF51 connector on the other hand needs to be soldered as part of the debug adapter kit. However you can probably do with just updating this using the radio bootloader as most of the development is done on the STM32F405. | ||
====== Debugging ====== | ====== Debugging ====== | ||
In order to start debugging do the followning: | In order to start debugging do the followning: | ||
- | * In the targets | + | * In the "Make Targets" |
- | * Start the openOCD backend | + | * Start the debugging |
- | * Start gdb by pressing | + | |
- | * Eclipse will now switch to the debugging interface and you are ready to debug | + | * Press the debug button |
+ | * When the above is done one time you can use the quick menu instead which is the icon looking like a litte bug and select " | ||
+ | * The debugger is set to break at main which you can change if you like in the debug configuration settings for Crazyflie 2.0. | ||