Compression code changed and RLY_TMTC pointers managed

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE by shubham c

Files at this revision

API Documentation at this revision

Comitter:
ee12b079
Date:
Tue Jul 05 11:52:47 2016 +0000
Parent:
228:335da5b0d3e4
Child:
233:bfce738e43e8
Commit message:
Testing BAE TCs, not printing TM

Changed in this revision

COM_MNG_TMTC.h Show annotated file Show diff for this revision Revisions of this file
ThreadsAndFunctions.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
--- a/COM_MNG_TMTC.h	Mon Jul 04 23:13:24 2016 +0000
+++ b/COM_MNG_TMTC.h	Tue Jul 05 11:52:47 2016 +0000
@@ -1491,7 +1491,6 @@
         /*COM_POWER_OFF_TX;*/\
         reset_all;\
         /*PENDING : ENABLE THREADS*/\
-        gPAY_SPI.bulkRead_start();\
         gSESSION_TIMEOUT.detach();\
         gFLAGS = gFLAGS & (~COM_MNG_TMTC_RUNNING_FLAG);\
         gFLAGS = gFLAGS & (~COM_SESSION_FLAG);\
--- a/ThreadsAndFunctions.h	Mon Jul 04 23:13:24 2016 +0000
+++ b/ThreadsAndFunctions.h	Tue Jul 05 11:52:47 2016 +0000
@@ -194,7 +194,7 @@
                             reset_all;
                             gFLAGS = gFLAGS & (~COM_SESSION_VALIDITY);
                             // PENDING : ENABLE THREADS
-                            PL_wo_dma->start(6000);
+                            /*PL_wo_dma->start(6000);*/
                             gSESSION_TIMEOUT.detach();
                             gFLAGS = gFLAGS & (~COM_SESSION_FLAG);
                             // WARNING: clear COM_MNG_TMTC ?
@@ -247,7 +247,7 @@
                 gFLAGS = gFLAGS & (~COM_MNG_TMTC_RUNNING_FLAG);
                 reset_all;
                 // PENDING : ENABLE THREADS
-                PL_wo_dma->start(6000);
+                /*PL_wo_dma->start(6000);*/
                 gSESSION_TIMEOUT.detach();
                 gFLAGS = gFLAGS & (~COM_SESSION_FLAG);
             }
@@ -299,7 +299,7 @@
             COM_POWER_OFF_TX;
             reset_all;
             // PENDING : ENABLE THREADS
-            PL_wo_dma->start(6000);
+            /*PL_wo_dma->start(6000);*/
             gSESSION_TIMEOUT.detach();
             gFLAGS = gFLAGS & (~COM_SESSION_FLAG);
         }
--- a/main.cpp	Mon Jul 04 23:13:24 2016 +0000
+++ b/main.cpp	Tue Jul 05 11:52:47 2016 +0000
@@ -152,14 +152,14 @@
     
     
     
-    while(1){
+    /*while(1){
     gPC.printf("PL_TC sending\r\n");
     
     Base_tm *tm_ptr = new Long_tm;
     PL_TC(tm_ptr);
     wait(1);
     }
-    gPC.printf("PL_TC sent");
+    gPC.printf("PL_TC sent");*/
     
     // *******************INITIALISATIONS END********************