[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Multithread debugging with chibiOS and openocd

From: Michal Podhradsky
Subject: Re: [Paparazzi-devel] Multithread debugging with chibiOS and openocd
Date: Sun, 15 Feb 2015 17:31:33 -0800

This guide might be helpful:


On Sat, Feb 14, 2015 at 12:17 PM, Gautier Hattenberger <address@hidden> wrote:
v3.1 is not exactly a recent version of paparazzi...

We are using BlackMagicProbe with or without ChibiOS and I think it is working very well, even integrated with Eclipse (I'm not doing myself, but some colleagues are).


Le 14/02/2015 13:46, Prof. Dr.-Ing. Heinrich Warmers a écrit :

i am looking for a solution to debug chibios  task in the current Paparazzi  V3.1  Apogee software.
The following problems occur:
If the OS is not running i can set breakpoints and go with  single step line for line.
After the OS is running  i can only notice breakpoints in the main function of chibios.
All the other breakpoints are ignored and the hole paparazzi code is running.

My workbench consist of following tools:

Ubuntu 12.04 64bit
eclipse Kepler 32 bit      the 64 bit was not running
amr tools 4.8 q3 2014   V4.9 is not running
OpenOCD (0.8.0)        V0.9. is not runnung
CDT GNU ARM Eclipse plug in  V2.3 has now examples for DiscoveryF4 and runs with SWD

I had same problems with flashing while  the STM32Discovery and the Ollimex STM32 H405  were powered by the USB connection of my Laptop.
After using a USB-HUB with separate power  (5V 2A) the flashing works fine.

If any STM32M4 processor has problems  i found the following solution:
Use the orginal ST-LINK2 under Windows,
Set connect under RESET
Erase the total Chip
Erase  EPROM
If you can use  debug  the Chip with COOCOX,   then the  chip is working wiht Paparazzi  (DFU and SWD flashing).
Go back to Ubuntu



Paparazzi-devel mailing list

Paparazzi-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]