11th feb i2c checking chaitu's code
Dependencies: SimpleDMA eeprom mbed-rtos mbed
Fork of CDMS_CODE_FM_28JAN2017 by
Diff: main.cpp
- 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();