data receive and all streams fails

This commit is contained in:
2025-09-16 19:52:23 +03:00
parent dc6e7be012
commit 26841ba30e
2 changed files with 6 additions and 5 deletions

Binary file not shown.

11
main.c
View File

@ -1121,8 +1121,8 @@ int main(int argc, char** argv) {
uint32_t recv_Err_code = 0; uint32_t recv_Err_code = 0;
printf("\nStart transparent mode\n"); //printf("\nStart transparent mode\n");
BF_exec_cmd_simple(hnd, 0x8007, 10, 1); //start transparent //BF_exec_cmd_simple(hnd, 0x8007, 10, 1); //start transparent
printf("\nFlushed from receiving buff: %d\n", X502_FlushRcv_buff(hnd)); 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_StreamsStop(hnd);
// X502_StreamsStart(hnd); // X502_StreamsStart(hnd);
//BF_exec_cmd_simple(hnd, 0x8008, 2, 1); //start averaging //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, 0x8007, 2, 1); //start transparent
//BF_exec_cmd_simple(hnd, 0x800B, 2, 1); //start HDMA flood for speedtest BF_exec_cmd_simple(hnd, 0x800B, 2, 1); //start HDMA flood for speedtest
printf("\nFlushed from receiving buff: %d\n", X502_FlushRcv_buff(hnd)); 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; struct timespec time_receive_started, time_receive_ended;
clock_gettime(CLOCK_MONOTONIC, &time_receive_started); 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); clock_gettime(CLOCK_MONOTONIC, &time_receive_ended);