data receive and all streams fails
This commit is contained in:
BIN
BF_companion
BIN
BF_companion
Binary file not shown.
11
main.c
11
main.c
@ -1121,8 +1121,8 @@ int main(int argc, char** argv) {
|
||||
uint32_t recv_Err_code = 0;
|
||||
|
||||
|
||||
printf("\nStart transparent mode\n");
|
||||
BF_exec_cmd_simple(hnd, 0x8007, 10, 1); //start transparent
|
||||
//printf("\nStart transparent mode\n");
|
||||
//BF_exec_cmd_simple(hnd, 0x8007, 10, 1); //start transparent
|
||||
|
||||
printf("\nFlushed from receiving buff: %d\n", X502_FlushRcv_buff(hnd));
|
||||
|
||||
@ -1168,8 +1168,8 @@ int main(int argc, char** argv) {
|
||||
// X502_StreamsStop(hnd);
|
||||
// X502_StreamsStart(hnd);
|
||||
//BF_exec_cmd_simple(hnd, 0x8008, 2, 1); //start averaging
|
||||
BF_exec_cmd_simple(hnd, 0x8007, 2, 1); //start transparent
|
||||
//BF_exec_cmd_simple(hnd, 0x800B, 2, 1); //start HDMA flood for speedtest
|
||||
//BF_exec_cmd_simple(hnd, 0x8007, 2, 1); //start transparent
|
||||
BF_exec_cmd_simple(hnd, 0x800B, 2, 1); //start HDMA flood for speedtest
|
||||
printf("\nFlushed from receiving buff: %d\n", X502_FlushRcv_buff(hnd));
|
||||
|
||||
|
||||
@ -1193,7 +1193,8 @@ int main(int argc, char** argv) {
|
||||
struct timespec time_receive_started, time_receive_ended;
|
||||
|
||||
clock_gettime(CLOCK_MONOTONIC, &time_receive_started);
|
||||
receive_data(hnd, logfilename, inp_buff, data_receive_trys_counter, max_total_words, FLUSH);
|
||||
// receive_data(hnd, logfilename, inp_buff, data_receive_trys_counter, max_total_words, FLUSH);
|
||||
receive_data(hnd, logfilename, inp_buff, data_receive_trys_counter, max_total_words, DUMP_TO_FILE);
|
||||
clock_gettime(CLOCK_MONOTONIC, &time_receive_ended);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user