Repository for CDMS code

Dependencies:   SimpleDMA mbed-rtos mbed eeprom

Fork of COM_MNG_TMTC_SIMPLE by Shreesha S

Files at this revision

API Documentation at this revision

Comitter:
ee12b079
Date:
Tue Jan 26 12:37:17 2016 +0000
Parent:
99:efde3df6cd94
Child:
101:bece931236a2
Commit message:
Science thread integrated. Use this version for DMA. ; TC sent succesfully for reading one FSC and tm received

Changed in this revision

Compression.h Show annotated file Show diff for this revision Revisions of this file
OBSRS.h Show annotated file Show diff for this revision Revisions of this file
--- a/Compression.h	Tue Jan 26 12:18:53 2016 +0000
+++ b/Compression.h	Tue Jan 26 12:37:17 2016 +0000
@@ -304,14 +304,14 @@
                 temp_crc = crc16_gen(frames[id],132);
                 frames[id][132] = temp_crc>>8;
                 frames[id][133] = temp_crc & 0xff;
-                /*if(test_cntr++ == 0){
+                if(test_cntr++ == 0){
                     gPC.puts("frame start\r\n");
                     for(int i = 0; i<134; i++){
                         gPC.printf("%02X",frames[id][i]);
                     }    
                     gPC.puts("frame ends\r\n");
-                }*/
-                exor(frames[id]);
+                }
+                /*exor(frames[id]);*/
                 convolution(frames[id]);
                 interleave(TM_convoluted_data,TM_interleave_data);
                 interleave(TM_convoluted_data+ 135,TM_interleave_data + 144);
--- a/OBSRS.h	Tue Jan 26 12:18:53 2016 +0000
+++ b/OBSRS.h	Tue Jan 26 12:37:17 2016 +0000
@@ -525,6 +525,7 @@
             list_of_FSC[i] = tcp->TC_string[4+i];
         }
     }
+    
     gPC.printf("sid = %u \r\n",SID);
     gPC.printf("FSC = %u\r\n",FSC);
     gPC.puts("exit_sdcard");