paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] paparazzi software debug


From: Prof. Dr.-Ing. Heinrich Warmers
Subject: Re: [Paparazzi-devel] paparazzi software debug
Date: Mon, 11 Feb 2013 19:02:09 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax)

Hi Refik,

The HB autopilots have for the LPC2148  JTAG connections.
Currently we make the tests  with  paparazzi, eclipse and  oocd  debugging.
It is a hard way to get tool chain running.
We will document it wiki in the next weeks.
The Ollimex  pcbs have also the JTAG connector but  not the sensors.

Also a logic sniffer (about 45 Euros http://www.watterott.com/en/Open-Logic-Sniffer) makes a good job for testing   UART, SPI , and  I2C interfaces

Cheers, Heinrich

Felix Ruess schrieb:
Hi Refik,

first a request: if you have general questions like this, please post to the mailing list instead of directly writing to me.
There are a lot more people who might be able to help you and others can benefit from the answers as well :-)

It depends what part of the software you want to debug:
- if it's higher level code like flight plans, navigation, etc. (which is hardware independent) you can do that in one of the simulators.
- debugging hardware drivers is hard, you need to do that on the board via JTAG (and keep in mind that you seriously change timing, etc. while debugging)
  unfortunately the umarim does not have a JTAG connector


Cheers, Felix


On Fri, Feb 8, 2013 at 4:44 PM, refik <address@hidden> wrote:

Dear Felix,

 

I am a lecturer in Electronics Engineering Department of Akdeniz University in Turkey. We are trying to build an UAV in our university.

 

I am a beginner of paparazzi. I bought umarim_lite_v2, FTDI_utility board, and XBee Modem from PPZUAV. I installed paparazzi on Linux, and it works fine.

 

Now I am trying to debug software and understand paparazzi in detail.  I am also beginner in C-programming. Therefore, I do not exactly know how I can run  and debug paparazzi codes.

 

I want to debug airborne software in computer first. Then I want to debug it on umarım board.

 

How can I run and debug the airborne software? Could you please tell me the basic steps. I installed eclipse on Linux. Do you recommend some other tools?

 

When debugging the codes on computer, there will be no peripheral devices. How can I debug without these peripherals? Do you recommend skip this step and directly debug software on Umarım board with all the sensors?

 

I want to develop my own codes ( integrate new sensor boards and develop flight algorithms etc.) later. But before, I need to learn how to run and debug the software.

 

Thank you very much and best regards,

Refik

 

Dr. Refik Sever

Electrical and Electronics Engineering Dept.

Akdeniz University, Antalya, TURKEY

Phone: +905066128479



_______________________________________________ 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]