[hpsdr] ghpsdr3-windows - problem with Ozy
wully
wully at bluewin.ch
Sat Sep 25 07:49:34 PDT 2010
I have used ghpsdr3 in the windows version also. On TAPR-Magister it
works fine. But on Ozy from Gerd Loch there is a little timing problem,
when loading the FX2 code: I modified the code in the module "ozyinit.c":
In the routine
static bool hpsdr_load_fpga (struct usb_dev_handle *udh, const char
*filename)
after the loop:
while ((n = fread (buf, 1, sizeof (buf), fp)) > 0){
if (write_cmd (udh, VRQ_FPGA_LOAD, 0, FL_XFER, buf, n) != n)
goto fail;
}
one has to enter a small wait, else the init will fail:
Sleep(200); // new code to run with ozy from germany
if (write_cmd (udh, VRQ_FPGA_LOAD, 0, FL_END, 0, 0) != 0)
goto fail;
etc.
vy 73
Alfred, HB9EPU
1285426174.0
More information about the Hpsdr
mailing list