paparazzi-devel
[Top][All Lists]
Advanced

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

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


From: Gautier Hattenberger
Subject: Re: [Paparazzi-devel] Multithread debugging with chibiOS and openocd
Date: Sat, 14 Feb 2015 21:17:11 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

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).

Gautier

Le 14/02/2015 13:46, Prof. Dr.-Ing. Heinrich Warmers a écrit :
Hi,
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

Regards

Heinrich






_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel




reply via email to

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