summaryrefslogtreecommitdiffstats
path: root/firmware/zpu
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-03-20 21:26:39 -0700
committerJosh Blum <josh@joshknows.com>2012-03-21 11:31:05 -0700
commitb22c32bd1420aab6809e842ffdd823090828a190 (patch)
tree0ba54a65ee148b2a13d6165c46a27fede2e2bfc2 /firmware/zpu
parentb5c2f88ae6552fb7243666692eabb1338d7ba16b (diff)
downloaduhd-b22c32bd1420aab6809e842ffdd823090828a190.tar.gz
uhd-b22c32bd1420aab6809e842ffdd823090828a190.tar.bz2
uhd-b22c32bd1420aab6809e842ffdd823090828a190.zip
usrp2: fw unlocks when ICMP dest unreachable
Diffstat (limited to 'firmware/zpu')
-rw-r--r--firmware/zpu/apps/txrx_uhd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/zpu/apps/txrx_uhd.c b/firmware/zpu/apps/txrx_uhd.c
index 8cc108f9d..9daf441e2 100644
--- a/firmware/zpu/apps/txrx_uhd.c
+++ b/firmware/zpu/apps/txrx_uhd.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2011 Ettus Research LLC
+ * Copyright 2010-2012 Ettus Research LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -56,16 +56,19 @@ static void handle_udp_data_packet(
case USRP2_UDP_RX_DSP0_PORT:
//reset dsp to stop streaming
sr_rx_ctrl0->clear = 1;
+ fw_regs[U2_FW_REG_LOCK_TIME] = 0; //force an unlock
return;
case USRP2_UDP_RX_DSP1_PORT:
//reset dsp to stop streaming
sr_rx_ctrl1->clear = 1;
+ fw_regs[U2_FW_REG_LOCK_TIME] = 0; //force an unlock
return;
case USRP2_UDP_TX_DSP0_PORT:
//end async update packets per second
sr_tx_ctrl->cyc_per_up = 0;
+ fw_regs[U2_FW_REG_LOCK_TIME] = 0; //force an unlock
return;
default: return;