On Dienstag, 18. Dezember 2018 17:32:49 CET Alexander Dahl wrote: > Hei hei, > > currently I have a GW Instek GDS-1102A scope on my desk which I try to > use to capture some MDIO communication between an ARM Cortex-M4 MCU > and a LAN8720A ethernet PHY (which to debug is my primary goal). > > The scope itself is currently not supported by sigrok, but some older > model is: https://sigrok.org/wiki/GW_Instek_GDS-800_series > > The GDS-1000 Series seems to use the same serial protocol over USB, > but I can not just give sigrok the path to the device /dev/ttyACM0 and > it just works, that's not the case. :-/
The driver checks the response of the standard SCPI command "*IDN?". The device response is split into a manufacturer and device/model part, and then compared with expected values. See src/hardware/gwinstek-gds-800/api.c, lines 51ff in libsigrok. Currently, it expects the manufacturer to be "GW" and the model name to start with "GDS-8". You have to extend this part to support both device series. Also, it might be necessary to extend the driver to support > I could hardcopy a measurement to SD card however, which gives me one > CSV file per channel with analog values. According to libsigrok > master, analog input from CSV is still an open TODO: "Add support for > analog input data? (optional)". Does it support exporting the data as binary? If yes, libsigrok can read analog data in raw binary format. Adding analog support to the CSV importer would be very very welcome, although this is likely a quite large and orthogonal task. Kind regards, Stefan -- Stefan Brüns / Bergstraße 21 / 52062 Aachen home: +49 241 53809034 mobile: +49 151 50412019
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel