[Top][All Lists]

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

Re: [Discuss-gnuradio] installing GR 3.5.2 on FreeBSD

From: mleech
Subject: Re: [Discuss-gnuradio] installing GR 3.5.2 on FreeBSD
Date: Tue, 17 Jan 2012 12:13:35 -0500
User-agent: Roundcube Webmail/0.5.1

On Tue, 17 Jan 2012 08:39:59 -0800, Josh Blum wrote:

On 01/17/2012 07:36 AM, address@hidden wrote:
I've made it a habit to always be explicit about which device (or device class, at least) I'm going for when I use UHD tools. So, I *always* either specify "--args type=usrp1" or --args "addr=" to UHD tools, so that I don't have to rely on autodiscovery stuff that might produce weird results. I kind of *have* to on one of my systems, because I have both a USRP1 and USRP2 on the same system. I vaguely recall from the mists of my memory that there's some subtle brokenness with SIGINT handling in *BSD Python and Gnu Radio, but that's as much as I remember. In terms of why it's reloading the .ihx, I'm not sure, although I'll note in the code that there's a "force" parameter to the routine that loads the firmware, so that if "force" is set, the FX2 firmware is reloaded regardless of whether the local-file and on-board hash match. I'll also note that the routine that *calls* the firmware loader doesn't actually supply this parameter, so perhaps there's actually a bug.
Maybe its because the hash type is a size_t. I will throw this patch at you to make it fixed at int32: http://pastebin.com/5CTcHEnc Now I have to run... -Josh _______________________________________________

Given the type-punning that goes on "under the covers", I can see how using a size_t might not have been the best choice.


But I still wonder about the "force" parameter on fx2_ctrl_impl::usrp_load_firmware()



reply via email to

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