We have just finished round of testing and are able to release drivers for PicoScope to be used on ARM powered platforms. We have decided to focus on 2 groups: specialized armhf build for RaspberryPi under control of Raspbian and more general amrhf build to be used with BeagleBoneBlack (cortex-A8 based devices) under control of Debian.
There are few remarks with this release as well with general notes to be taken into account before using those drivers on embedded devices.
It is recommended to use powered USB hub while connecting the devices. Some of the devices have increased power requirements and connecting them to the embedded system may cause a power surge, which subsequently may cause voltage drop effecting in OS/CPU hang or in extreme cases blowing a fuse or damaging the port.
Most of the embedded systems will be running below recommended system requirements for the drivers. This means that on some occasions while system is busy, the driver will not have enough resources to process the data, resulting in internal watchdog kicking in and dropping of the device / hanging the application.
Designing application you should have in mind memory requirements and adjust the sampling rate/amount accordingly to the device it is run under.
Although the use case in this topic shows PicoScope6 running on BeagleBoneBlack, there are no current plans on releasing it for mentioned platforms. Mainly due to system resource demands. We did optimize the application to the point of operation, but the real world usability is minimal.
The drivers may work on other platforms - but those cases we are not able to test or provide fixes for. Also they are delivered as Debian packages and extracting binaries for use with another system may cause the faulty behavior.
This release is treated as *BETA* release. We took care to make all drivers features to be available, but they may not work in all cases. At this stage it is mainly targeted for experienced software/system developers willing to explore possibility of running our devices on mentioned platforms. For any queries and bug reports please contact support@picotech.com
The packages have been provided on our Debian/Raspbian(new) repositories. To get drivers for BeagleBoneBlack and likes, the entry in /etc/apt/sources.list should be:
Following packages are available: libpl1000, libps2000, libps2000a, libps3000, libps3000a, libps4000, libps4000a, libps5000, libps5000a, libps6000, libusbdrdaq, libusbtc08
Every driver package comes with C console example - /opt/picoscope/share/doc/libdriver. Those require autotools to configure. To install all dependencies use:
The examples were taken straight from any other Linux releases. They may have values/configurations not suitable for every particular device so please be aware.
I have a question:
Which version of Debian ?
Debian 7 or Debian 8 ( Jessie ) ?
I remember that you suggested Debian jessie for run the Picoscope 6
but Jessie is still a unstable version
I need to develop some applications using this drivers
Hi
Hi
I followed all the instructions in my BBB with Debian 8 Jessie and ran #./autogen.sh
I got the following error message: configure: error: libps5000a missing!
and after that, I couldn't continue.
I kindly appreciate your help as soon as possible !
Find attached the config.log
Find attached the o-outgent.txt
regards
Pablo Rivera
/usr/bin/ld: warning: libopencv_core.so.2.3, needed by //opt/picoscope/lib/libpicoipp.so.1, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libopencv_imgproc.so.2.3, needed by //opt/picoscope/lib/libpicoipp.so.1, not found (try using -rpath or -rpath-link)
This is due to Jessie having upgraded opencv to 2.4.
You need to install older versions...
wget http://ftp.uk.debian.org/debian/pool/main/o/opencv/libopencv-imgproc2.3_2.3.1-11_armhf.deb
wget http://ftp.uk.debian.org/debian/pool/main/o/opencv/libopencv-core2.3_2.3.1-11_armhf.deb
ar p libopencv-core2.3_2.3.1-11_armhf.deb data.tar.gz | tar -C / -xzf -
ar p libopencv-imgproc2.3_2.3.1-11_armhf.deb data.tar.gz | tar -C / -xzf -
ldconfig
libps2000a *should work* on Ubuntu14 on any ARM based board as long as the OS support it. However we haven't tested this particular version of OS on the hardware in subject.
The problem you will definitely encounter is OpenCV version. Ubuntu14 supplies libopencv-core2.4 while libpicoipp, requirement for libps2000a, needs libopencv-core2.3. It can be attempted to solve in the same way as in previous posts for Pablo.
Hi Mario,
Thanks for your quick answer.
Effectivelly, when I try to install the libps2000a it occurs same problem as is described for pablo: the library is missing.
I had success with the instalation for PicoScope Library under Odroid System,
However, I would like to know if it is possible to use a graphical interface as is shown in the forum (http://www.picotech.com/support/post42037.html#p42037).
I try to run the ps2000a driver on raspberry pi on the newest rasbian based on debian wheezy.
I have a little program which controls the signal generator. This runs nicely on a i386 system.
I can build it on the raspberry but it does not run for a variety of reasons:
* The first problem I had was the opencv version problem. I installed the 2.3 version as
described but this crashed with an invalid instruction error in libopencv-core
* I then reinstalled opencv 2.4 and created links to make the driver think it has 2.3. This sometimes
works but not in this case. I was rewarded with a memory problem in the usb library.
Quite obviously the issue is a library version mismatch issue. I now only see these ways forward:
* Either the library gets recompiled from source for the recent version of rasbian
* You hand out the source code such that I can compile myself.....
* You tell me with which version of rasbian this works and where I get the required old version from
Or shall I rather invest into a i386 based little computer to run the thing? We use only the signal
generator to drive a neutron spin flipper.