pgoergen

Problem with Papilio DUO Editing Circuits Quickstart tutorial

Recommended Posts

Hi,

I got my papilio Duo today and tried the tutorials. The first two tutorials worked fine but I got stucked when doing the Editing Circuits Quickstart tutorial. I got an error message that some source files are missing.

(see the screenshot below) When ignoring this I get an error message when trying to generate the programming file.

Can someone help please?

Thanks, paul

 

p.s. I have tried editing another circuit but I always get the following error message when trying to generate the programming file:

ERROR:HDLCompiler:410 - "C:.....\cuircuit\DUO_LX9\Papilio_DUO_LX9.vhf" Line 173: Expression has 166 elements ; expected 201

post-37309-0-20894300-1423598166_thumb.p

Share this post


Link to post
Share on other sites

Hello Paul,

 

Did you ever use an earlier version of ZAP, Papilio Schematic Library, or DesignLab where you had to enter a .lib and .cat file? If so then that is conflicting with the new stuff, you will need to go to Edit/Preferences/Schematic Editor/Device Families and find the Spartan6 family. Remove all of the Papilio paths from all three options:

post-29509-0-91762200-1423600382_thumb.p

 

If that is not the problem then can you go back to the DesignLab IDE and do a tools/archive sketch and upload it here?

 

Thanks,

Jack

Share this post


Link to post
Share on other sites

Hi Jack,

 

you were right I had used earlier versions op ZAP and DesignLab, I did what you told and got it to work!

But the error message with the missing source files still shows every time for the ym2149_simle project. I checked "Remove unspecified files from project" then its ok, maybe there are some files that were left over. (the "missing" files are from a folder /Jack/Documents/...)

I also tried the quick start project and that worked and started without the missing source files message. But I have another problem with that project, it should blink the leds on any Button/Led Wing on any wing slot. This works correctly on all the slots with the exception of the CL wing, on that one the two middle leds don't flash. Can this be a hardware problem of my papilio duo or what else could make this happen? I checked the pin numbers of the script, they seem to be correct.

 

Thanks for your help

Paul

Share this post


Link to post
Share on other sites

Hello Paul,

 

Please place SW1 into the up position an you should see the middle LED's flash. If you look at the pinout diagram you can see that CL3-CL6 share pins with A2-A5 of the AVR chip. These are the JTAG pins and allow us to use the FPGA as a JTAG programmer for the AVR chip. With the getting started project the circuit connects SW1 to the reset line of the AVR. When the AVR chip is running it deactivates the JTAG port and the AVR pins act as Analog inputs so there is no conflict on the pins. But when SW1 is in the down position it holds the AVR chip in reset which in turn activates the JTAG port for programming which is interfering with those pins. 

 

Jack.

Share this post


Link to post
Share on other sites

Hi Jack,

 

sorry, I am just starting with this, still a lot to learn, I did not notice that in the pinout diagram.

It works now, it is a fantastic device!!

Thanks a lot for your help!!!

 

Paul

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