From: ayer1 Date: Wed, 13 Jan 2010 15:08:56 +0000 (+0000) Subject: adjusting wait time for powercycle based upon wider testing of sd card X-Git-Tag: rc_6_tinyos_2_1_1~61 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=5d32bb8148fb812895a03b62fa3686024e1139b9 adjusting wait time for powercycle based upon wider testing of sd card brands for successful transition between spi and raw data modes; many fail at 20ms. --- diff --git a/tos/platforms/shimmer/chips/sd/SDP.nc b/tos/platforms/shimmer/chips/sd/SDP.nc index ac9746a5..407ba487 100644 --- a/tos/platforms/shimmer/chips/sd/SDP.nc +++ b/tos/platforms/shimmer/chips/sd/SDP.nc @@ -139,7 +139,7 @@ implementation { TOSH_CLR_SD_DO_PIN(); TOSH_CLR_SD_CLK_PIN(); - TOSH_uwait(20000); + TOSH_uwait(60000); TOSH_SET_SD_CS_N_PIN(); TOSH_CLR_SW_SD_PWR_N_PIN();