John

Building Zpuino for Arcade MegaWing

Recommended Posts

How do build the Zpuino in a version for the Arcade Wing?

I intend to modify it before running Zetris.

Is one of the variants suitable?

When building the alvieboy-ZPUino-HDL-3e2595b\zpu\hdl\zpuino\boards\papilio_one\s3e500\ise version and trying to upload Zetris from Arduino I get:

  Board: GadgetFactory Papilio One 500 @ 96000000 Hz (0xa4010f00)

  Board mismatch!!!.

  Board is:      0xa4010f00 'GadgetFactory Papilio One 500'

  Sketch is for: 0xa4010e01 'GadgetFactory Papilio One 500 w/ 8-bit HQVGA'

Share this post


Link to post
Share on other sites

Hello John,

Hey that is great that you are getting into making your own custom variant of the ZPUino and discovered the ise directory. :) I just recently started synthing my own variants too, Alvie put that ise directory to make it easier for us.

So looking at your error message, first off its very good that it is identifying the board as "0xa4010f00 'GadgetFactory Papilio One 500'". It means that your variant is working, and the fix to upload your sketch is very simple. Just go up to "Tools/Board" and select 'GadgetFactory Papilio One 500' instead of, 'GadgetFactory Papilio One 500 w/ 8-bit HQVGA'.

Let me know how it goes.

Jack.

Share this post


Link to post
Share on other sites

With zpuino-ZB2-PapilioOne-S3E500-HQVGA-8bit-ArcadeWing.bit configured in the FPGA, Arduino tool will only upload the sketch when board with 8-bit HQVGA is selected.

When I configure the FPGA with the bit file I built my self. Only the board setting without 8-bit HQVGA will load, as you suggested. But sketch does not work!

Also, my bit file will give a "No signal" on my monitor.

I can see the delta sigma coder(sound device) in ISE project but can't find any graphic generator.

I'm pretty sure this version does not contain video output.

Share this post


Link to post
Share on other sites

I built Hyperion with Apollo ucf.

I will get the Zetris sketch to load and the blocks can be controlled, but background is black, there is no sound and the score board is a solid yellow rectangle.

/John

Share this post


Link to post
Share on other sites

I seem to have forgot the UCF file. It's there now.

Regarding the missing images: you have the full Zetris which includes a "smallfs" directory ?

You should see something about "smallfs" when you upload the sketch. Care to share it here ?

Share this post


Link to post
Share on other sites

Yes, I have the smalfs directory in place.

Arduino output using my bit file

SmallFS: Packed 5 files sucessfully

zetris.cpp: In function `void area_init()':

zetris.cpp:313: warning: unused variable 'x'

zetris.cpp:313: warning: unused variable 'y'

Binary sketch size: 6912 bytes (of a 12160 byte maximum)

Appending extra data file

Board: GadgetFactory Papilio One 500 w/ 8-bit HQVGA @ 96000000 Hz (0xa4010e01)

Programming completed successfully in 31.13 seconds.

Using the prebuilt zpuino-ZB2-PapilioOne-S3E500-HQVGA-8bit-ArcadeWing.bit

SmallFS: Packed 5 files sucessfully

zetris.cpp: In function `void area_init()':

zetris.cpp:313: warning: unused variable 'x'

zetris.cpp:313: warning: unused variable 'y'

Binary sketch size: 6912 bytes (of a 12160 byte maximum)

Appending extra data file

Board: GadgetFactory Papilio One 500 w/ 8-bit HQVGA @ 96000000 Hz (0xa4010e01)

Programming completed successfully in 31.14 seconds.

Share this post


Link to post
Share on other sites

ok this is odd. My guess is that SmallFS is not able to read the files from the flash.

Jack: did you experience any issue so far with this ?

Share this post


Link to post
Share on other sites

I sometimes have to completely power cycle the Papilio after loading a sketch to have it work properly...

If you attach the bit file you generated I can give it a try on my hardware and see if I can figure anything out.

Jack.

Share this post


Link to post
Share on other sites

Which ISE version are you guys using?I'm using ISE 13.4

Perhaps the prom-generic-dp-32.vhd file is the catch?

I can build the bit file when the pre-built prom-generic file is available, but after a make clean command make will report:

    make[1]: zpu-elf-g++: Command not found

What is zpu-elf-g++ and where do I find it?

Also is there a reason for not having a xise file in the variant directories?

How am I supposed to switch between the variants?

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