Latest FM Code with EEPROM
Dependencies: FreescaleIAP SimpleDMA eeprom mbed-rtos mbed
Fork of CDMS_QM_03MAR2017_Flash_with_obsrs by
Diff: COM_MNG_TMTC.h
- Revision:
- 1:a0055b3280c8
- Parent:
- 0:f016e9e8d48b
- Child:
- 2:2caf2a9a13aa
--- a/COM_MNG_TMTC.h Tue Dec 01 10:56:10 2015 +0000 +++ b/COM_MNG_TMTC.h Mon Dec 14 12:04:01 2015 +0000 @@ -198,8 +198,9 @@ }\ put_crc_l1_ack(l1_ack, gTOTAL_CRC_FAIL_TC);\ }\ - /*snd_tm.head_pointer(l1_ack_head);*/\ - /*adf_not_SDcard();*/\ + gPC.puts("Sending l1 ack\r\n");\ + snd_tm.head_pointer(l1_ack_head);\ + adf_not_SDcard();\ /*delete the TM*/\ l1_ack = l1_ack_head;\ while(l1_ack != NULL){\ @@ -277,8 +278,8 @@ /*EXECUTION OF OBOSC TC*/\ execute_obosc_core(current_TC, tm_ptr);\ }\ - /*snd_tm.head_pointer(tm_ptr);*/\ - /*adf_not_SDcard();*/\ + snd_tm.head_pointer(tm_ptr);\ + adf_not_SDcard();\ uint8_t temp83 = 0x00;\ detect_ack(tm_ptr, temp83);\ if( temp83 == 0x01){\ @@ -340,7 +341,7 @@ /*call CDMS_RLY_TMTC*/\ CDMS_RLY_TMTC(current_TC, tm_ptr);\ }\ - /*snd_tm.head_pointer(tm_ptr);*/\ + snd_tm.head_pointer(tm_ptr);\ /*adf_not_SDcard();*/\ uint8_t temp83 = 0x00;\ detect_ack(tm_ptr, temp83);\ @@ -368,7 +369,7 @@ }\ else{\ /*EXECUTION OF SD-CARD DATA SENDING (OBSRS)*/\ - /*read_TC(tc_ptr);*/\ + read_TC(current_TC);\ }\ /*ABORT ON NACK*/\ if( (GETexec_status(current_TC) == TC_STATE_EXECUTION_FAILED) && (GETabort_on_nack(current_TC) == 1) ){\