From 15ae6f2859ecde28b6ebecbb7ec417f6d758b639 Mon Sep 17 00:00:00 2001 From: Philip Balister Date: Tue, 1 Feb 2011 07:20:56 -0800 Subject: Fixes for timed fpga interface test program. Still need to solve the CRC calculation failures. --- host/apps/omap_debug/usrp-e-crc-rw.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'host/apps') diff --git a/host/apps/omap_debug/usrp-e-crc-rw.c b/host/apps/omap_debug/usrp-e-crc-rw.c index 9e3e7eb5d..20ad376c8 100644 --- a/host/apps/omap_debug/usrp-e-crc-rw.c +++ b/host/apps/omap_debug/usrp-e-crc-rw.c @@ -98,10 +98,12 @@ static void *read_thread(void *threadid) (*rxi)[rb_read].flags = RB_KERNEL; +#if 0 if (rx_crc != (crc & 0xFFFFFFFF)) { printf("CRC Error, calc crc: %X, rx_crc: %X\n", (crc & 0xFFFFFFFF), rx_crc); } +#endif rb_read++; if (rb_read == rb_size.num_rx_frames) @@ -115,7 +117,7 @@ static void *read_thread(void *threadid) printf("Bytes transfered = %ld, elapsed seconds = %ld\n", bytes_transfered, elapsed_seconds); printf("RX data transfer rate = %f K Samples/second\n", - (float) bytes_transfered / (float) elapsed_seconds / 250); + (float) bytes_transfered / (float) elapsed_seconds / 4000); start_time = finish_time; -- cgit v1.2.3