comparison src/cs/layer1/cfile/l1_trace.c @ 76:b216b561dcbf

src/cs/layer1/cfile/l1_trace.c: identify ourselves as FreeCalypso
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 02 Oct 2016 03:12:59 +0000
parents 50a15a54801e
children 75188c031f4e
comparison
equal deleted inserted replaced
75:b51de44232b4 76:b216b561dcbf
6102 UWORD16 tcs_program_release; 6102 UWORD16 tcs_program_release;
6103 6103
6104 tcs_program_release = ((T_TST_TEST_HW_CON*)(msg->SigP))->mcu_tcs_program_release; 6104 tcs_program_release = ((T_TST_TEST_HW_CON*)(msg->SigP))->mcu_tcs_program_release;
6105 6105
6106 if (((tcs_program_release & 0xFFF0) == 0x2110) || ((tcs_program_release & 0xFFF0) == 0x2120)) 6106 if (((tcs_program_release & 0xFFF0) == 0x2110) || ((tcs_program_release & 0xFFF0) == 0x2120))
6107 sprintf(str, "TST_C %ld TCS_%d.%d.%d.%d_L1_%x_%x DSP:%xh DYN:%xh CHECKSUM:%xh\n\r", 6107 sprintf(str, "TST_C %ld TCS_%d.%d.%d.%d_L1_%x_%x FreeCalypso DSP:%xh DYN:%xh CHECKSUM:%xh\n\r",
6108 l1s.actual_time.fn_mod42432, 6108 l1s.actual_time.fn_mod42432,
6109 (tcs_program_release & 0xF000) >> 12, 6109 (tcs_program_release & 0xF000) >> 12,
6110 (tcs_program_release & 0x0F00) >> 8 , 6110 (tcs_program_release & 0x0F00) >> 8 ,
6111 (tcs_program_release & 0x00F0) >> 4 , 6111 (tcs_program_release & 0x00F0) >> 4 ,
6112 tcs_program_release & 0x000F, 6112 tcs_program_release & 0x000F,
6114 ((T_TST_TEST_HW_CON*)(msg->SigP))->mcu_tcs_internal, 6114 ((T_TST_TEST_HW_CON*)(msg->SigP))->mcu_tcs_internal,
6115 ((T_TST_TEST_HW_CON*)(msg->SigP))->dsp_code_version, 6115 ((T_TST_TEST_HW_CON*)(msg->SigP))->dsp_code_version,
6116 ((T_TST_TEST_HW_CON*)(msg->SigP))->dsp_patch_version, 6116 ((T_TST_TEST_HW_CON*)(msg->SigP))->dsp_patch_version,
6117 ((T_TST_TEST_HW_CON*)(msg->SigP))->dsp_checksum); 6117 ((T_TST_TEST_HW_CON*)(msg->SigP))->dsp_checksum);
6118 else 6118 else
6119 sprintf(str, "TST_C %ld TCS_%x.%x.%x_L1_%x_%x DSP:%xh DYN:%xh CHECKSUM:%xh\n\r", 6119 sprintf(str, "TST_C %ld TCS_%x.%x.%x_L1_%x_%x FreeCalypso DSP:%xh DYN:%xh CHECKSUM:%xh\n\r",
6120 l1s.actual_time.fn_mod42432, 6120 l1s.actual_time.fn_mod42432,
6121 (tcs_program_release & 0xF000) >> 12, 6121 (tcs_program_release & 0xF000) >> 12,
6122 (tcs_program_release & 0x0F00) >> 8 , 6122 (tcs_program_release & 0x0F00) >> 8 ,
6123 tcs_program_release & 0x00FF, 6123 tcs_program_release & 0x00FF,
6124 ((T_TST_TEST_HW_CON*)(msg->SigP))->mcu_tcs_official, 6124 ((T_TST_TEST_HW_CON*)(msg->SigP))->mcu_tcs_official,