diff --git a/BF_companion b/BF_companion index eec48e0..1a3f63e 100755 Binary files a/BF_companion and b/BF_companion differ diff --git a/main.c b/main.c index 25da7e8..a29b70a 100644 --- a/main.c +++ b/main.c @@ -1251,14 +1251,33 @@ int main(int argc, char** argv) { printf("\n\nget counters of calls of SPORT_RX, SPORT_TX, HDMA_RX, HDMA_TX\n"); BF_exec_cmd_with_arr(hnd, 0x8005U, 100, NULL, 0, 1); - printf("\nStart averaging mode\n"); + + + + + + + + + + + + + + + + + + printf("\nStart SEMITRANSPARENT mode\n"); // printf("\nflush TX buff. \n Number of free TX descriptors before flushing:"); // BF_exec_cmd_simple(hnd, 0x8010, 10, 1); // X502_StreamsStop(hnd); // X502_StreamsStart(hnd); - BF_exec_cmd_simple(hnd, 0x8008, 2, 1); //start averaging + BF_exec_cmd_simple(hnd, 0x800B, 2, 1); //start SEMITRANSPARENT + + //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 printf("\nFlushed from receiving buff: %d\n", X502_FlushRcv_buff(hnd)); @@ -1319,8 +1338,19 @@ int main(int argc, char** argv) { // BF_exec_cmd_simple(hnd, 0x800A, 10, 1); - printf("\nStart averaging mode\n"); - BF_exec_cmd_simple(hnd, 0x8008, 2, 1); //start averaging + + + + + + + + + + + + printf("\nStart transparent mode\n"); + BF_exec_cmd_simple(hnd, 0x8007, 2, 1); //start transparent printf("\nflush TX buff. \n Number of free TX descriptors before flushing:"); BF_exec_cmd_simple(hnd, 0x8010, 10, 1);