To fix the hang problem

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE by shubham c

Revision:
331:1943be3fd178
Parent:
327:5a967a66c10f
Child:
332:7d2431ce979f
--- a/main.cpp	Wed Dec 21 09:19:25 2016 +0000
+++ b/main.cpp	Thu Dec 22 12:55:32 2016 +0000
@@ -88,6 +88,10 @@
     TIME_LATEST_CDSMS_RESET = FCTN_CDMS_RD_RTC() >> 7;
     FCTN_CDMS_WR_FLASH(8,TIME_LATEST_CDSMS_RESET);
     
+    uint8_t test[512];
+    for(int i =0; i<512; i++)
+        test[i] = 0;
+    disk_write(test,80000);
     //SD_MNG_SECT = SD_LIB_BLK_CURRENT;
     FCTN_SD_MNGR();