[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Paparazzi-devel] Multithread debugging with chibiOS and openocd
From: |
Prof. Dr.-Ing. Heinrich Warmers |
Subject: |
[Paparazzi-devel] Multithread debugging with chibiOS and openocd |
Date: |
Sat, 14 Feb 2015 13:46:04 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) |
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] Multithread debugging with chibiOS and openocd,
Prof. Dr.-Ing. Heinrich Warmers <=