Test and Measurement Forum

PICO_FPGA_FAIL

Post your Linux discussions here

PICO_FPGA_FAIL

Postby mkoennecke » Thu Aug 31, 2017 1:36 pm

Hi,

I have written a little program for accessing the frequency generator on a picoscope2206a in C using libps2000a
on a raspberry PI. It worked nicely for quite a while. Now I have the effect that it comes back with an error
code PICO_FPGA_FAIL (78 decimal, 4E hex) every so often. Is the device broken?

Best Regards,

Mark Koennecke
mkoennecke
Newbie
 
Posts: 0
Joined: Tue May 19, 2015 9:28 am

Re: PICO_FPGA_FAIL

Postby Martyn » Fri Sep 01, 2017 6:02 am

When a PicoScope is plugged into a USB bus, it has a simple USB stack which runs and identifies itself as a simple Pico device. When you call open unit the libps2000a will download code into the FPGA and cause the device to restart and re identify itself on the USB bus as a fully functioning PicoScope

FPGA fail usually indicates that errors have occurred with the loading of the firmware, and often this can be due to borderline powering of the device over the USB. It may be that your Pi is not always able to provide sufficient power when starting the PicoScope.

This error should be recoverable by unplugging and re plugging the PicoScope, and then restarting your program.
Martyn
Technical Support Manager
Martyn
Site Admin
Site Admin
 
Posts: 2787
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots


Return to Linux

Who is online

Users browsing this forum: No registered users and 0 guests