Install picoscope SDK on Raspberry Pi 4

Post general discussions on using our drivers to write your own software here
Post Reply
MkUrbs
Newbie
Posts: 0
Joined: Mon May 07, 2018 6:11 pm

Install picoscope SDK on Raspberry Pi 4

Post by MkUrbs »

Hello everyone,

I need support to install the picoscope SDK (in C/C++) on my Raspberry Pi 4B (O.S. Linux raspberrypi 5.10.11).
[I have already installed the PicoLog 6 and it works perfectly with my picoscopes series 2000 and 4000.]

First question: Is it possible to install the SDK? (I read that the drivers are in beta version)

Second question: How can I do that ? ( I have tried to follow the instructions on the website but without success)

-> using " sudo apt-get install libps2000a", I received this error message
"The following packages have unmet dependencies:
libps2000a : Depends: libpicoipp (>= 1.3.0-4r78) but it is not installable
E: Unable to correct problems, you have held broken packages."

-> I tried to install manually the libraries (armhf.deb) but running the ./autoconf.sh to compile the picosdk-c-example I received this error message "checking for ps2000aOpenUnit in -lps2000a... no
configure: error: libps2000a missing!"

Could you please provide me the instructions to install correctly the SDK?
Thank you very much!

blank
Newbie
Posts: 0
Joined: Wed May 26, 2021 10:06 pm

Re: Install picoscope SDK on Raspberry Pi 4

Post by blank »

Bump.

This is a general issue for ARM,
the library is outdated.

pia_nbg
Newbie
Posts: 0
Joined: Mon Jan 03, 2022 10:19 am

Re: Install picoscope SDK on Raspberry Pi 4

Post by pia_nbg »

Are there any news regarding ARM support for Raspberry Pi 4?

mrhoschi
Newbie
Posts: 0
Joined: Fri Jan 21, 2022 10:10 pm

Re: Install picoscope SDK on Raspberry Pi 4

Post by mrhoschi »

I've the same issue, the old libs are not running. Additionally the last armhf debs libpicoipp and libps2000a did not match, libps2000a requires libpicoipp >1.3.
thx for support

mrhoschi
Newbie
Posts: 0
Joined: Fri Jan 21, 2022 10:10 pm

Re: Install picoscope SDK on Raspberry Pi 4

Post by mrhoschi »

I installed the old debs without error but the driver does not seem to work on buster:

Code: Select all

sudo dpkg -i libpicoipp_1.1.2-4r56_armhf.deb 
sudo dpkg -i libps2000a_2.1.17-5r1443_armhf.deb
If i use picosdk.discover i get:

Code: Select all

Traceback (most recent call last):
  File "/home/pi/pt/picosdk/constants.py", line 17, in pico_tag
    return PICO_STATUS_LOOKUP[number]
KeyError: 50331712
After disconnection scope from usb i get:

Code: Select all

Traceback (most recent call last):
  File "dis.py", line 3, in 
    scopes = find_all_units()
  File "/home/pi/pt/picosdk/discover.py", line 51, in find_all_units
    raise DeviceNotFoundError("Could not find any devices on any drivers.")
picosdk.errors.DeviceNotFoundError: Could not find any devices on any drivers.
Therefore it seems that the driver is not able to handle data type of the answer.

Thanks for support

mrhoschi
Newbie
Posts: 0
Joined: Fri Jan 21, 2022 10:10 pm

Re: Install picoscope SDK on Raspberry Pi 4

Post by mrhoschi »

update:
after reconnect scope to usb it works:

Code: Select all

pi@ptpi:~/pt $ python3 dis.py 
UnitInfo(driver=, variant=b'2206B', serial=b'IU906/0104')

Post Reply