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