for frequency correction testing

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE by shubham c

Files at this revision

API Documentation at this revision

Comitter:
chaithanyarss
Date:
Thu Dec 15 12:11:21 2016 +0000
Parent:
315:f9a30c8cbe96
Commit message:
for mahesh

Changed in this revision

cdms_sd.h Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r f9a30c8cbe96 -r 77b281bf5a72 cdms_sd.h
--- a/cdms_sd.h	Thu Dec 08 10:12:15 2016 +0000
+++ b/cdms_sd.h	Thu Dec 15 12:11:21 2016 +0000
@@ -20,17 +20,17 @@
 
 #define SD_MAX_CYCLES 10000
 
-uint32_t SD_SCP_FIRST=1001;
-uint32_t SD_SCP_LAST=2000;
-uint32_t SD_SFF_AT_FIRST=2001;
-uint32_t SD_SFF_AT_LAST = 3000;
-uint32_t SD_SFF_BT_FIRST =3001;
-uint32_t SD_SFF_BT_LAST=4000;
-uint32_t SD_HK_ARCH_FIRST=4001;
-uint32_t SD_HK_ARCH_LAST= 5000;
-uint32_t LOG_FIRST =5001;
-uint32_t LOG_LAST=6000;
-uint32_t SD_MNG_SECT=8000;
+uint32_t SD_SCP_FIRST=10001;
+uint32_t SD_SCP_LAST=20000;
+uint32_t SD_SFF_AT_FIRST=20001;
+uint32_t SD_SFF_AT_LAST = 30000;
+uint32_t SD_SFF_BT_FIRST =30001;
+uint32_t SD_SFF_BT_LAST=40000;
+uint32_t SD_HK_ARCH_FIRST=40001;
+uint32_t SD_HK_ARCH_LAST= 50000;
+uint32_t LOG_FIRST =50001;
+uint32_t LOG_LAST=60000;
+uint32_t SD_MNG_SECT=80000;
 
 extern uint8_t SD_INIT_FLAGS;
 
diff -r f9a30c8cbe96 -r 77b281bf5a72 main.cpp
--- a/main.cpp	Thu Dec 08 10:12:15 2016 +0000
+++ b/main.cpp	Thu Dec 15 12:11:21 2016 +0000
@@ -85,7 +85,7 @@
     
     
     uint8_t test[512] = {0};
-    disk_write(test,8000); //to be used only just before launch
+    disk_write(test,80000); //to be used only just before launch
     
     #if DEBUG
     gPC.puts("welcome to mng_tmtc\r\n");