> > Actually, I'm curious if latest DSLogic Plus devices still use APIv1 or
> > if they come with an updated firmware which supports v2. Looking at the
> > sourcecode of DSView it seems that only v2 is supported so would be
> > strange if the guys from DSL ship devices with old v1 firmware.
> > 
> 
> Sure, how do I tell? Is there sigrok output that will indicate the API
> version?

Currently I take the assumption in the driver, that there is a tight
coupling between API version and device. I assume all legacy devices
come with v1 API whilst new devices (U3Pro16 for now) support v2.
There is a sanity check during device scaning where the manufacturer
and product string is read out:
v1 has Product ID "USB-based Instrument"
v2 has "USB-based DSL Instrument v2"

so something you can check in Windows using Device Manager or in Linux
using dmesg.

If there is a mismatch the driver assumes that wrong firmware is
downloaded and triggeres a firmware download. So ideally you check the
Product ID before you launch pulseview or sigrok-cli. If legacy devices
now also come with v2, I need to update the driver to handle devices and
API version independently.

Christian.



_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to