Jump to content
  • 0

Waveforms Illegal Instruction on Raspberry Pi Zero


talon

Question

Hello all,

I'm trying to run an Analog Discovery 2 off a Raspberry Pi Zero W for long duration data recording. I'm running into an issue with getting Waveforms to start on the Pi. When I start it from the command line I get "Illegal Instruction" and nothing else. I think it has something to do with the libdwf.so because i was seeing the same error with a Python script. I don't get an error with 

ldd libdwf.so

but I do get the same illegal instruction error with

python3 -c "from ctypes import *; dwf = cdll.LoadLibrary('libdwf.so')"

Installed SW:

  • digilent.adept.runtime_2.26.1-armhf.deb
  • digilent.waveforms_3.17.1_armhf.deb
  • Also tried with digilent.waveforms_3.18.1-armhf.deb
  • Raspberrypios 5.10.103+

I have run apt update, upgrade, -f install, --fix-broken.

Any other suggestions on what I could try would be appreciated!

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Hello @talon

If you have WaveForms application installed and working try the following: Open a terminal and enter the command (cd ../../usr/share/applications/ && waveforms /home/pi/default.dwf3work). 

The parentheses (...) instructs Linux to run two commands on a single line and default.dwf3work is your setup file. 

If this works, you could put the command in a .sh file and make it executable with the chmod +x filename

if this is not what you are after, ignore me and listen to Attila :-)

Best regards,

John

Link to comment
Share on other sites

  • 0

Hi @attila and @JRys

Unfortunately I don't have WaveForms working, but the suggestion is appreciated!

My system architecture is armv6l

Linux raspberrypi 5.10.103+ #1529 Tue Mar 8 12:19:18 GMT 2022 armv6l GNU/Linux

Do any older versions of WaveForms and Adept support armv6l?

Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...