summaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/apps
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-12-22 19:11:45 -0800
committerJosh Blum <josh@joshknows.com>2010-12-22 19:11:45 -0800
commit71fc99d006f2347a356c5339905593f64ff902ec (patch)
tree36c141adca7a2e5cf2f84660b5a2e3543f1dfaba /firmware/microblaze/apps
parent434ee07c4ba1ce9faee8ecf3a309042ca424cbda (diff)
downloaduhd-71fc99d006f2347a356c5339905593f64ff902ec.tar.gz
uhd-71fc99d006f2347a356c5339905593f64ff902ec.tar.bz2
uhd-71fc99d006f2347a356c5339905593f64ff902ec.zip
usrp2: got fw working on usrp2+nseries (crosses fingers)
The abort issue seemed to be cause by the listeners table not being initialized. Also gave the pic handler the initialization works to be consistent but not needed as it was static initialized. And finally, doubly set the packet router handshake ctrl before entering the claim calls (seemed to fix the lockup, perhaps a bad init state?)
Diffstat (limited to 'firmware/microblaze/apps')
-rw-r--r--firmware/microblaze/apps/txrx_uhd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/microblaze/apps/txrx_uhd.c b/firmware/microblaze/apps/txrx_uhd.c
index 7dc44f09f..ea74f032e 100644
--- a/firmware/microblaze/apps/txrx_uhd.c
+++ b/firmware/microblaze/apps/txrx_uhd.c
@@ -363,6 +363,7 @@ main(void)
pkt_ctrl_program_inspector(get_ip_addr(), USRP2_UDP_CTRL_PORT, USRP2_UDP_DATA_PORT);
//2) register callbacks for udp ports we service
+ init_udp_listeners();
register_udp_listener(USRP2_UDP_CTRL_PORT, handle_udp_ctrl_packet);
register_udp_listener(USRP2_UDP_DATA_PORT, handle_udp_data_packet);
register_udp_listener(USRP2_UDP_ERR0_PORT, handle_udp_err0_packet);