Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Revision 24:55cd06f4a534, committed 2016-01-01
- Comitter:
- ee12b079
- Date:
- Fri Jan 01 06:21:16 2016 +0000
- Parent:
- 16:538de1b20b3a
- Commit message:
- Changes made for testing ADF
Changed in this revision
--- a/COM_MNG_TMTC.h Thu Dec 31 18:35:59 2015 +0000
+++ b/COM_MNG_TMTC.h Fri Jan 01 06:21:16 2016 +0000
@@ -612,8 +612,8 @@
}\
obosc_tm_current = obosc_tm_current->next_TM;\
}\
- /*snd_tm.head_pointer(obosc_tm_head);*/\
- /*adf_not_SDcard();*/\
+ snd_tm.head_pointer(obosc_tm_head);\
+ adf_not_SDcard();\
/*DELETE THE TM AFTER USE*/\
obosc_tm_current = obosc_tm_head;\
int overCount = 0;\
@@ -745,8 +745,8 @@
tm_ptr = tm_ptr->next_TM;\
}\
/*SEND DATA TO GS*/\
- /*snd_tm.head_pointer(tm_ptr_head);*/\
- /*adf_not_SDcard();*/\
+ snd_tm.head_pointer(tm_ptr_head);\
+ adf_not_SDcard();\
/*DELETE THE TM AFTER USE*/\
tm_ptr = tm_ptr_head;\
overflowCountExecute = 0;\
--- a/COM_POWER_ON_TX.h Thu Dec 31 18:35:59 2015 +0000
+++ b/COM_POWER_ON_TX.h Fri Jan 01 06:21:16 2016 +0000
@@ -84,6 +84,8 @@
}\
power_on_tm = power_on_tm->next_TM;\
}\
+ snd_tm.head_pointer(power_on_tm_head);\
+ adf_not_SDcard();\
/*PENDING: TRANSMIT ABOVE TM*/\
/*deleting the telemetry*/\
power_on_tm = power_on_tm_head;\
--- a/adf.h Thu Dec 31 18:35:59 2015 +0000
+++ b/adf.h Fri Jan 01 06:21:16 2016 +0000
@@ -422,7 +422,9 @@
void check(){
+ gPC.puts("-2-\r\n");
if(IRQ){
+ gPC.puts("-3-\r\n");
gCOM_MNG_TMTC_THREAD->signal_set(signal);
}
}
@@ -464,6 +466,7 @@
spi.write(0xFF);\
gCS_ADF=1;\
SPI_mutex.unlock();\
+ gPC.puts("-1-\r\n");\
ticker.attach_us(&check,32000);\
}
--- a/main.cpp Thu Dec 31 18:35:59 2015 +0000
+++ b/main.cpp Fri Jan 01 06:21:16 2016 +0000
@@ -21,6 +21,7 @@
int main()
{
+ gPC.puts("Welcome\r\n");
// ******************INITIALISATIONS START******************
// COM RX
RX1M.baud(1200);
