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: SimpleDMA eeprom mbed-rtos mbed
Fork of CDMS_CODE_FM_28JAN2017 by
Diff: TEST_PL.h
- Revision:
- 239:a3a012a0fecc
- Parent:
- 237:12061b714e47
- Child:
- 240:946a9342a95f
--- a/TEST_PL.h Thu Jul 07 17:13:00 2016 +0000
+++ b/TEST_PL.h Thu Jul 07 17:25:37 2016 +0000
@@ -423,20 +423,20 @@
}
void test_pl_main()
{
- //uint32_t temp_pl_block[192] = {0};
+ uint32_t temp_pl_block[192] = {0};
uint8_t wrong_modify=0,z;
Base_tm* test_tm_ptr;
//Base_tm* temp;
- //for(z=0;z<192;z++)
- // pl_block[z] = 0xFFFFFFFF;
- //testing 0xF
+ for(z=0;z<192;z++)
+ pl_block[z] = 0xFFFFFFFF;
+ // testing 0xF
send_verify_0xF(test_tm_ptr);
- //for(z=0;z<192;z++)
- // temp_pl_block[z] = pl_block[z];
+ for(z=0;z<192;z++)
+ temp_pl_block[z] = pl_block[z];
//testing TC = 0x1,0x2...0x6
uint8_t w =1;
- for(uint8_t v=1;w<7;w++)
+ for(uint8_t v=1;w<2;w++)
{
/*switch(v)
{
@@ -477,7 +477,7 @@
{
test_schedule_6(test_tm_ptr);
}
- /*for(z=0;z<192;z++)
+ for(z=0;z<192;z++)
{
if((z>=((v-1)*32)) && (z<=((v*32)-1)))
z++;
@@ -501,11 +501,11 @@
//gPC.printf("\n\r%03d-0x%08X\t%03d-0x%08X",(i),pl_block[i],(i)+1,pl_block[(i)+1]);
//gPC.printf("\t%03d-0x%08X\t%03d-0x%08X\n",(i)+2,pl_block[(i)+2],(i)+3,pl_block[(i)+3]);
}
- }*/
+ }
send_verify_0xF(test_tm_ptr);
verify_extracted(v);
- //for(z=0;z<192;z++)
- // temp_pl_block[z] = pl_block[z];
+ for(z=0;z<192;z++)
+ temp_pl_block[z] = pl_block[z];
wait(1);
}
gPC.printf("\n\rTesting TC_TM block processing complete");
