commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r6550 - gnuradio/branches/developers/matt/u2f/firmware


From: matt
Subject: [Commit-gnuradio] r6550 - gnuradio/branches/developers/matt/u2f/firmware
Date: Thu, 27 Sep 2007 01:56:26 -0600 (MDT)

Author: matt
Date: 2007-09-27 01:56:25 -0600 (Thu, 27 Sep 2007)
New Revision: 6550

Modified:
   gnuradio/branches/developers/matt/u2f/firmware/test1_main.c
Log:
wait until packet is transferred to start the TX


Modified: gnuradio/branches/developers/matt/u2f/firmware/test1_main.c
===================================================================
--- gnuradio/branches/developers/matt/u2f/firmware/test1_main.c 2007-09-27 
07:54:13 UTC (rev 6549)
+++ gnuradio/branches/developers/matt/u2f/firmware/test1_main.c 2007-09-27 
07:56:25 UTC (rev 6550)
@@ -74,13 +74,17 @@
   dsp_tx_idle = 1;
   receive_to_buf(2, PORT, 1, 5, 504);
 
+
+  volatile unsigned int *status = (unsigned int *) 0xB020;
+  while (*status == 0)
+    {}
+
   sim_puts("Done DSP TX setup\n");
   dsp_tx_regs->run_tx = 1;
 
   // register interrupt handler
   pic_register_handler(IRQ_BUFFER, buffer_irq_handler);
 
-
   while(not_done){
   }
   asm volatile ("or r0, r0, r0");      // FIXME CPU bug workaround





reply via email to

[Prev in Thread] Current Thread [Next in Thread]