Unable to communicate with Papilio Pro on linux


tofu

Recommended Posts

Hi,

I just received a Papilio Pro from LinkSprite today.

It is detected as an FTDI device under linux and two serial ports (ttyUSB0, and ttyUSB1) are created when I plug it in.

The red led on the board is lit. The jumper is set to 'USB'. The cable works fine with other FTDI devices that I have.

 

When I try to use ./tools/Papilio_Loader/papilio-loader.jar to load the Quickstart-Papilio_Pro_LX9-v1.5.bit file, I get: 'Could not access USB device 0403:6010. If this is linux then use sudo.'. That happens even running it with sudo.

 

When I run the papilio-prog program, I get the following:

matt@aquos:~/devel/papilio/DesignLab-1.0.7$ ./hardware/tools/papilio/papilio_loader/papilio-prog -r

Using built-in device list

Invalid chain position 0, position must be less than 0 (but not less than 0).

matt@aquos:~/devel/papilio/DesignLab-1.0.7$ ./hardware/tools/papilio/papilio_loader/papilio-prog -c

Using built-in device list

Invalid chain position 0, position must be less than 0 (but not less than 0).

Response incompatible with mask xxxx01

ISC_Done = 0

ISC_Enabled = 0

House Cleaning = 0

DONE = 0

matt@aquos:~/devel/papilio/DesignLab-1.0.7$ ./hardware/tools/papilio/papilio_loader/papilio-prog -C

Using built-in device list

Invalid chain position 0, position must be less than 0 (but not less than 0).

STAT Register

ID_ERROR = 0 IDCODE not validated.

DONE = 0 Input from the DONE pin.

INIT = 0 Input from the INIT pin.

MODE = 000b Input from the MODE pins (M2:M0).

GHIGH_B = 0 0 = asserted.

GWE = 0 0 = all FFs and Block RAMs are write-disabled.

GTS_CFG = 0 0 = all I/Os are 3-stated.

IN_ERROR = 0 Legacy input error.

DCI_MATCH = 0 DCI is matched.

DCM_LOCK = 0 DCMs are locked.

CRC_ERROR = 0 CRC error.

cycleTCK in TEST_LOGIC_RESET

When I try to use papilio-prog with the '-d' option, I get:

matt@aquos:~/devel/papilio/DesignLab-1.0.7$ sudo ./hardware/tools/papilio/papilio_loader/papilio-prog -j -d /dev/ttyUSB1

Could not access USB device 0403:6010. If this is linux then use sudo.

matt@aquos:~/devel/papilio/DesignLab-1.0.7$ sudo ./hardware/tools/papilio/papilio_loader/papilio-prog -j -d /dev/ttyUSB0

Could not access USB device 0403:6010. If this is linux then use sudo.

I will also add, that I have tried this from Windows (well, in a Win 10 kvm, using usb passthrough (which I will say works fine flashing firmwares on other devices)) with the same results.

Is there anything I can do to bring this to life? Tools at my disposal are a Bus Pirate, FTDI usb<->serial, and an oscilloscope.

Thanks,

-Matt

Link to comment
Share on other sites

I figured out what the issue was.

There was a piece of silkscreen on the bottom (4x via beneath C49, top left corner) that was flaked off. And also the tip of the skinniest part of the groundplane next to the standoff was exposed.

Adding the standoff then shorted Vin to Gnd. The via on the bottom seemed to bring Vin from C49 to pins 2 & 3 (RUN1 & MODE) of the regulator on the top side.

So I think it is probably OK? What do you think? Add some electrical tape to prevent the short and move on...?

Thanks,

-Matt

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.