VGA Example Problem - can't find Adafruit_GFX.h


Recommended Posts

I've got a Papilio Duo with a Logic Start shield.


In DesignLab 1.0.4, I selected ZPUino_VGA_Adapter, and then edited the source so that it corresponded to Duo + Logic Start Shield, commenting out the other options.


However, it now says


Build options changed, rebuilding all
Demo.ino:32:26: fatal error: Adafruit_GFX.h: No such file or directory
I guess this is a simple fix: how do I proceed?
Link to comment
Share on other sites

OK, I fixed that by downloading the Adafruit =GFX library and putting it in the libraries folder, but now I am getting


Demo.ino:33:24: fatal error: ZPUino_GFX.h: No such file or directory
compilation terminated.
Seems like some needed files are not included with DesignLab 1.0.4.
Hopefully they can be included in the next release...
Link to comment
Share on other sites

Hello Ralph,


I think the most likely culprit here is that the wrong board is being selected. Please verify that you have gone to Tools/board/Papilio FPGA boards and selected the Papilio DUO FPGA 2MB - ZPUino or the 512KB version.


Then it should be able to find the correct libraries - those libraries are specific to the ZPUino board types. You can verify that the libraries are there by going to your designlab root directory then hardware\zpuino\zpu20\libraries



Link to comment
Share on other sites

Thanks, Jack. I was selecting Papilio Duo - AVR instead of Papilio Duo FPGA 2MB. 

I've also selected the COM port.

Now that I have fixed that, however I get a different problem


Cannot get programmer version, aborting

Could not contact ZPUino embedded programmer.
The more common reasons for this are:
a) You are not specifying the correct port. The port currently selected is 'COM15'
B) The board FPGA is not programmed with a valid ZPUino bitfile.
c) The board is properly not powered.
Please review all of above, if problem persists please contact support.
Link to comment
Share on other sites

OK, forgot to upload the circuit before trying to load the AVR program. All is well now (well, 90% - my monitor is displaying not supported, but otherwise, basically drawing most of the input with some off-screen). Anyway, it's basically working thanks.

Link to comment
Share on other sites

It's some cheap non-branded monitor that doesn't like what it considers to be non-standard refresh rates. Anyway, it all works at 640 x 384 x 60.


Just one question - if 1024 x 768 x 60 is not possible with a DUO, is there any chance that 1024 x 768 x 30 could work?


A higher resolution with a lower refresh rate would be handy.

Link to comment
Share on other sites

  • 4 years later...

Join the conversation

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

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.