Drivers for BeagleBoneBlack and Raspberry Pi

Discussion forum for the new Picoscope Linux software
Hitesh
Site Admin
Site Admin
Posts: 2845
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by Hitesh » Wed Dec 07, 2016 12:49 pm

Hi maltman1,

The example files were removed from the driver packages as we looking to change how examples are made available.

Edit: Files now available via GitHub. Please find below links to the files that you will need.

https://github.com/picotech/picosdk-c-e ... er/ps2000a

https://github.com/picotech/picosdk-c-e ... ter/ps4000

Hope this helps.

Regards,
Last edited by Hitesh on Tue Apr 11, 2017 10:48 am, edited 2 times in total.
Reason: Files not available via GitHub repository
Hitesh

Technical Support Engineer

grahamatpicoscope
Newbie
Posts: 0
Joined: Mon Jan 16, 2017 8:31 pm

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by grahamatpicoscope » Mon Jan 16, 2017 8:38 pm

If you get this:

Code: Select all

root@tvpi:/opt/picoscope# make
make  all-am
make[1]: Entering directory '/opt/picoscope'
  CC       PS2000Acon.o
  CCLD     ps2000acon
PS2000Acon.o: In function `get_info':
PS2000Acon.c:(.text+0x283c): undefined reference to `strcmpi'
PS2000Acon.c:(.text+0x285c): undefined reference to `strcmpi'
collect2: error: ld returned 1 exit status
Makefile:399: recipe for target 'ps2000acon' failed
make[1]: *** [ps2000acon] Error 1
make[1]: Leaving directory '/opt/picoscope'
Makefile:295: recipe for target 'all' failed
make: *** [all] Error 2
Do this:

Code: Select all

root@tvpi:/opt/picoscope# sed -i s/strcmpi/strcasecmp/g PS2000Acon.c
root@tvpi:/opt/picoscope# make
make  all-am
make[1]: Entering directory '/opt/picoscope'
  CC       PS2000Acon.o
  CCLD     ps2000acon
make[1]: Leaving directory '/opt/picoscope'
root@tvpi:/opt/picoscope# ./ps2000acon 
PS2000A Driver Example Program
Version 2.2

karlo
Newbie
Posts: 0
Joined: Wed Feb 01, 2017 3:09 pm

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by karlo » Wed Feb 01, 2017 5:24 pm

Hy,

is it possible to get the c examples also for libps3000?
Also I want to ask if there are possibilities to run picoscope software on raspberry pi? Maybe with compiling it directly on the pi?

Thanks for help!

Regards,

Karlo

Hitesh
Site Admin
Site Admin
Posts: 2845
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by Hitesh » Thu Feb 02, 2017 7:46 am

Hi karlo,

Please find attached the files below.
PS3000con_Linux.zip
PS3000 C console files for Linux
(11.27 KiB) Downloaded 164 times
You will need to ensure that you have the autoconf and libtoolize packages installed.

Previous investigations have found that there would be performance issues in trying to run a PicoScope version on a Raspberry Pi so there are no plans for a version that can be run on this platform at this present moment in time.

Regards,
Hitesh

Technical Support Engineer

Hitesh
Site Admin
Site Admin
Posts: 2845
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by Hitesh » Wed Feb 15, 2017 9:44 am

Last edited by Hitesh on Tue Apr 11, 2017 10:48 am, edited 1 time in total.
Reason: Files not available via GitHub repository
Hitesh

Technical Support Engineer

silvia
Newbie
Posts: 0
Joined: Fri Feb 17, 2017 3:16 pm

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by silvia » Fri Feb 17, 2017 3:20 pm

Hi,

I'm trying to install PicoScope 6 on the Raspberry Pi 3 following these instructions: https://www.picotech.com/downloads/linux

I can go through the first three steps with no problem, but when it comes to step 4:

Code: Select all

sudo apt-get install picoscope 
I get this message on the Terminal:

Code: Select all

pi@raspberrypi:~ $ sudo apt-get install picoscope
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 picoscope : Depends: picomono but it is not installable
E: Unable to correct problems, you have held broken packages.

Any help/ideas, please? Thanks :smile:

Hitesh
Site Admin
Site Admin
Posts: 2845
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by Hitesh » Mon Feb 20, 2017 9:35 am

Hi silvia,

Unfortunately, we do not currently support PicoScope on Raspberry Pi platforms.

You will need to use a standard Linux distribution (Ubuntu/Fedora etc.) in order to use PicoScope on a Linux platform.

Regards,
Hitesh

Technical Support Engineer

silvia
Newbie
Posts: 0
Joined: Fri Feb 17, 2017 3:16 pm

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by silvia » Tue Feb 21, 2017 4:16 pm

Thanks Hitesh, I've posted another reply in another thread :)

alsamaraee
Newbie
Posts: 0
Joined: Mon Mar 20, 2017 12:21 pm

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by alsamaraee » Mon Mar 20, 2017 12:28 pm

Hi Mario,

I installed libusbtc08 driver and inside /picoscope/share/doc/libusbtc08 just two files,
Copyright and usbtest. Do you know how can I fix this ?

Regards

Hitesh
Site Admin
Site Admin
Posts: 2845
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by Hitesh » Mon Mar 20, 2017 12:33 pm

Hi alsamaree,

Please find below the example C source code file and build files for the USB TC-08:
USB TC08 Linux.zip
Build files for C application
(5.05 KiB) Downloaded 156 times
Regards,
Hitesh

Technical Support Engineer

alsamaraee
Newbie
Posts: 0
Joined: Mon Mar 20, 2017 12:21 pm

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by alsamaraee » Mon Mar 20, 2017 1:19 pm

Hitesh wrote:Hi alsamaree,

Please find below the example C source code file and build files for the USB TC-08:
USB TC08 Linux.zip
Regards,
Hi Hitesh,

Thank you for your quick response. still geting error while running make command.

Code: Select all

make  all-am
make[1]: Entering directory '/opt/picoscope/share/doc/libusbtc08'
  CC       usbtc08con.o
usbtc08con.c:27:39: fatal error: libusbtc08-1.8/PicoStatus.h: No such file or directory
 #include <libusbtc08-1.8/PicoStatus.h>
                                       ^
compilation terminated.
Makefile:411: recipe for target 'usbtc08con.o' failed
make[1]: *** [usbtc08con.o] Error 1
make[1]: Leaving directory '/opt/picoscope/share/doc/libusbtc08'
Makefile:295: recipe for target 'all' failed
make: *** [all] Error 2
Any idea?
Regards

alsamaraee
Newbie
Posts: 0
Joined: Mon Mar 20, 2017 12:21 pm

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by alsamaraee » Mon Mar 20, 2017 1:40 pm

Hitesh wrote:Hi alsamaree,

Please find below the example C source code file and build files for the USB TC-08:
USB TC08 Linux.zip
Regards,
Hi Hitesh,

Thank you for your quick response. I still geting errors while running the make command.

Code: Select all

make  all-am
make[1]: Entering directory '/opt/picoscope/share/doc/libusbtc08'
  CC       usbtc08con.o
usbtc08con.c:27:39: fatal error: libusbtc08-1.8/PicoStatus.h: No such file or directory
 #include <libusbtc08-1.8/PicoStatus.h>
                                       ^
compilation terminated.
Makefile:411: recipe for target 'usbtc08con.o' failed
make[1]: *** [usbtc08con.o] Error 1
make[1]: Leaving directory '/opt/picoscope/share/doc/libusbtc08'
Makefile:295: recipe for target 'all' failed
make: *** [all] Error 2
Any idea ?

Regards

Hitesh
Site Admin
Site Admin
Posts: 2845
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by Hitesh » Mon Mar 20, 2017 1:41 pm

Hi alsamaree,

There is an incorrect reference to the PicoStatus.h file which this driver does not use.

I've updated the zip file in the post above so please download this and the source code file should have the fix.

Edit: The files are now available from GitHub:

https://github.com/picotech/picosdk-c-e ... er/usbtc08

Please use the usbtc08con.c file from the usbtc08Con sub-folder.

Regards,
Hitesh

Technical Support Engineer

alsamaraee
Newbie
Posts: 0
Joined: Mon Mar 20, 2017 12:21 pm

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by alsamaraee » Mon Mar 20, 2017 2:21 pm

Thank you Hitesh, works like magic.

benamis
Newbie
Posts: 0
Joined: Tue Apr 11, 2017 8:01 am

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by benamis » Tue Apr 11, 2017 8:07 am

alsamaraee wrote:Hi Mario,

I installed libusbtc08 driver and inside /picoscope/share/doc/libusbtc08 just two files,
Copyright and usbtest. Do you know how can I fix this ?

Regards
Same with libpl1000 :(

Post Reply