|
From: | Andreas Philipp |
Subject: | Re: [Paparazzi-devel] FAT32 for the appogie |
Date: | Thu, 06 Nov 2014 13:56:14 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
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 -- -------------------------------------- Dr. Andreas Philipp Institute of Geography University of Augsburg Universitaetsstrasse 10 D - 86135 Augsburg Germany Phone: ++49/821/598-2266 Fax: ++49/821/598-2264 Email: address@hidden http://www.geo.uni-augsburg.de/lehrstuehle/phygeo/personal/philipp/ --------------------------------------
airspeed_ets.c
Description: Text Data
humid_sht.c
Description: Text Data
airspeed_ets.xml
Description: Text Data
humid_sht.xml
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |