pirx

papilio-prog on mac osx maverick

10 posts in this topic

Hi,

 

I've been developing Papilio apps on my Macbook Pro. It has been

working great so far. Normally, I run ubuntu under vmware and download

bit files using papilio-prog.

 

Yesterday, I upgraded to Maverick.

 

Unfortunately, now I can't seem to get papilio-prog to work. If I run it

I get the following error.

 

% papilio-prog -c

Could not access USB device 0403:6010.

 

I recompiled the source, and I get basically the same message. I also

tried it using sudo.

 

I looked at /dev and now I get the following devices.

 

cu.usbserial-00001014B
cu.usbserial-141A
tty.usbserial-00001014B
tty.usbserial-141A

 

I think this has changed, but I can't remember what it used to show.

 

Any suggestions?

 

 

 

 

 

Share this post


Link to post
Share on other sites

I downloaded the Mac Installer. Installation worked fine.

 

But the programmer still can't access the device. Here is the message I get.

 

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

 

I tried it from the GUI and from the command line. On the command line, I tried

it with sudo. None of these attempts worked.

 

Pat

Share this post


Link to post
Share on other sites

Do you have any other FTDI devices you can test? Is it a FTDI driver problem or a FT2232 problem?

 

Jack.

Share this post


Link to post
Share on other sites

Good idea.

 

I tried my  Arduino and that worked. It uses an FTDI chip, but probably

a different ftdi driver stack.

 

Pat

Share this post


Link to post
Share on other sites

Well, that is a good piece of the puzzle...

 

It brings up another question though, are the virtual COM ports of the Papilio working? Can you load a bit file that outputs something over the serial port and see the output? This may be a catch 22 for you though.

 

Jack.

Share this post


Link to post
Share on other sites

I'm away from my mac the next couple of days. I will look into that when I get back. Although,

as you say, it may be tricky to do without a connection.

Share this post


Link to post
Share on other sites

I think I figured it out.

 

Mavericks now loads the FTDI drivers by default. In order to use libftdi, you need to unload the

driver. Here is what I did:

 

sudo kextunload -v -bundle com.apple.driver.AppleUSBFTDI

 

There may be another way to do this.

 

I haven't tried the serial port yet.

 

Pat

Share this post


Link to post
Share on other sites

Hi I had the same problem, "Could not access USB device 0403:6010. If this is linux then use sudo" it was intermittent. Rebooting the computer seemed to help but it would fail after 10 mins or so. I found this forum and twoothers and tried the recommendations to no avail but then found at the end of this forum;

 

http://embeddedprogrammer.blogspot.co.uk/2012/07/hacking-ov7670-camera-module-sccb-cheat.html

 

The conclusion that the cable was the problem. I replaced my cable with a shorter one and it all worked! :-)

Share this post


Link to post
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