paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] FAT32 for the appogie


From: Andreas Philipp
Subject: Re: [Paparazzi-devel] FAT32 for the appogie
Date: Fri, 07 Nov 2014 05:49:24 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0


Sorry, I sent an old version of the module codes, the output format of the write command was wrong. It is corrected in the attached files:

 sw/airborne/modules/sensors/airspeed_ets.c
 sw/airborne/modules/meteo/humid_sht.c

Cheers,
Andreas

Am 06.11.2014 13:56, schrieb Andreas Philipp:
On 06.11.2014 13:18, Prof. Dr.-Ing. Heinrich Warmers wrote:
Hi,
i am  looking for  the software to write  a sd-card with the  appogee
autopilot   and  ChibiOS.

Do you mean to log data to the micro-sdcard plugged into the Apogee?

Has someone used this interface?

I have used the example of the module mf_ptu.c (in
sw/airborne/modules/meteo) in order to add the function to the code of
the airspeed_ets and the humid_sht module. I attach the modified
versions of the referring files:

sw/airborne/modules/meteo/humid_sht.c
sw/airborne/modules/sensors/airspeed_ets.c

and

conf/modules/airspeed_ets.xml
conf/modules/humid_sht.xml

(may be someone can include that into the code?)

After make clean and build you can activate SD-card logging by saying:

<!-- ################################################# -->

<subsystem name="sdlog">

  <load name="humid_sht.xml">
     <define name="SHT_DAT_GPIO" value="GPIOB,GPIO1"/>
     <define name="SHT_SCK_GPIO" value="GPIOC,GPIO5"/>
      <define name="SHT_SDLOG" value="TRUE"/>
  </load>

  <load name="airspeed_ets.xml">
     <define name="AIRSPEED_ETS_SYNC_SEND"/>
     <define name="USE_I2C2"/>
     <define name="AIRSPEED_ETS_I2C_DEV" value="i2c2"/>
     <define name="AIRSPEED_ETS_SDLOG" value="TRUE"/>
  </load>

<!-- ################################################# -->

This worked for me!

Hope that helps!

Is the software  confidential?

don't think so!

Wehre can i find the software for the LPC2148 sd card pcb?
This may bee also a solution .


This is described at the SUMO pages:

http://wiki.paparazziuav.org/wiki/SUMO



Regads

Heinrich





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




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



Attachment: airspeed_ets.c
Description: Text Data

Attachment: humid_sht.c
Description: Text Data


reply via email to

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