On Tue, Aug 2, 2016 at 5:16 PM Benjamin Larsson <[email protected]>
wrote:

>
> >     The thing missing with regard to analogue input is the relay switch
> for
> >     the analogue pinmux.
> >
> >
> > And you just lost me. I have no idea what that means. I can't find
> > anything about that in either the CWave manual or via google. Is there a
> > description somwhere of what I need to do to enable this?
>
> There is 1 adc but 2 analogue channels. The support to switch between
> input 1 and 2 is missing.
>

Ah, that I knew. The problem is that I'm not seeing any signal values. Or
rather, seeing a constant value. Unfortunately, neither fx2lafw device
works on my Windows box, which is the only thing I can run the CWav
software on to check that the hardware is working properly.


>
> >
> >     If you post scan logs with all your devices it should be easier to
> >     analyse your issues.
> >
> >
> > Well, I thought I'd posted the relevant parts of the log from a --show,
> > the bit where it tries to reopen the device to talk to it, as that's
> > what's failing. Here's the entire log of the USBee clone on FreeBSD,
> > which is the combination I really want to get running. Firmware was
> > pulled from the repo and rebuilt about 10 minutes ago.
> >
> > [scan elided]
> > sr: [00:00.016478] fx2lafw: Firmware upload was not needed.
>
> Was this the first time you ran the command after plugging in the device ?
>

No. It uploads the firmware, and then fails to re-enumerate. Since it finds
it the second time, I figured that was more interesting. Scan logs of that
at the end.


> > sr: [00:00.016679] fx2lafw: Unable to open device.
> > Failed to open device.
>
> Did you try running as root ?
>

Sure, but it doesn't make any difference. Didn't expect it to, since all
devices belong to group operator with the same permissions as root, and I'm
in group operator.

Thanks again,
 Mike

bhuda% sigrok-cli -d fx2lafw --show -l 5
sr: [00:00.000001] log: libsigrok loglevel set to 5.
sr: [00:00.000021] backend: libsigrok 0.5.0-git-17fb3e1/3:0:0 (rt:
0.5.0-git-17fb3e1/3:0:0).
sr: [00:00.000034] backend: Libs: glib 2.46.2 (rt: 2.46.2/4602:2), libzip
1.1.2, libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1), libusb-1.0 , libftdi
1.1.
sr: [00:00.000043] backend: Host: amd64-unknown-freebsd10.3, little-endian.
sr: [00:00.000049] backend: SCPI backends: TCP, RPC, serial, USBTMC.
sr: [00:00.000071] backend: Sanity-checking all drivers.
sr: [00:00.000077] backend: Sanity-checking all input modules.
sr: [00:00.000082] backend: Sanity-checking all output modules.
sr: [00:00.000086] backend: Sanity-checking all transform modules.
srd: libsigrokdecode loglevel set to 5.
sr: [00:00.000134] hwdriver: Initializing driver 'fx2lafw'.
Driver functions:
    Logic analyzer
sr: [00:00.000184] hwdriver: sr_config_list(): key 2147418112 (NULL) sdi
0x0 cg NULL -> [uint32 20000]
Scan options:
    conn
sr: [00:00.000203] hwdriver: Initializing driver 'fx2lafw'.
sr: [00:00.011042] ezusb: uploading firmware to device on 3.7
sr: [00:00.011109] ezusb: setting CPU reset mode on...
sr: [00:00.011358] resource: Attempt to open
'/export/mwm/.local/share/sigrok-firmware/fx2lafw-cwav-usbeeax.fw' failed:
No such file or directory
sr: [00:00.011378] resource: Opened
'/usr/local/share/sigrok-firmware/fx2lafw-cwav-usbeeax.fw'.
sr: [00:00.011419] ezusb: Uploading firmware 'fx2lafw-cwav-usbeeax.fw'.
sr: [00:00.016012] ezusb: Uploaded 4096 bytes.
sr: [00:00.020658] ezusb: Uploaded 4024 bytes.
sr: [00:00.020667] ezusb: Firmware upload done.
sr: [00:00.020670] ezusb: setting CPU reset mode off...
sr: [00:00.023821] hwdriver: Scan of 'fx2lafw' found 1 devices.
fx2lafw - CWAV USBee AX with 9 channels: D0 D1 D2 D3 D4 D5 D6 D7 A0
sr: [00:00.023865] fx2lafw: Waiting for device to reset.
sr: [00:00.442473] fx2lafw: Waited 421ms.
sr: [00:00.547780] fx2lafw: Waited 526ms.
sr: [00:00.654864] fx2lafw: Waited 633ms.
sr: [00:00.756112] fx2lafw: Waited 735ms.
sr: [00:00.863296] fx2lafw: Waited 842ms.
sr: [00:00.970552] fx2lafw: Waited 949ms.
sr: [00:01.073628] fx2lafw: Waited 1052ms.
sr: [00:01.180864] fx2lafw: Waited 1159ms.
sr: [00:01.288114] fx2lafw: Waited 1267ms.
sr: [00:01.388760] fx2lafw: Waited 1367ms.
sr: [00:02.117858] fx2lafw: Waited 2096ms.
sr: [00:02.222683] fx2lafw: Waited 2201ms.
sr: [00:02.323685] fx2lafw: Waited 2302ms.
sr: [00:02.424746] fx2lafw: Waited 2403ms.
sr: [00:02.531999] fx2lafw: Waited 2511ms.
sr: [00:02.635364] fx2lafw: Waited 2614ms.
sr: [00:02.739549] fx2lafw: Waited 2718ms.
sr: [00:02.845802] fx2lafw: Waited 2824ms.
sr: [00:02.953048] fx2lafw: Waited 2932ms.
sr: [00:03.060301] fx2lafw: Waited 3039ms.
sr: [00:03.060337] fx2lafw: Device failed to renumerate.
Failed to open device.
------------------------------------------------------------------------------
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to