h4kp2n

Papilio Pro malfunction? Retrocade and Arcade Megawing both not working

9 posts in this topic

Hi,

I just received a Papilio Pro from seedstudio(china) and the two megawings (retrocade synth and arcade) from a german distributor about two weeks ago, and the megawings both don't work.

I post this in the Papilio Pro board to find out, if the PP is broken, or both MegaWings are broken (might also be, they look a bit used)

I tried the retrocade synth first with papilio loader 2.8:

- writing to SPI flash works, verifying also, but the time it takes seems to vary a lot -> verifying was OK every time I tried

- writing to FPGA also seems to work fine, I also switched the loader to expert mode like suggested in another thread

- no reaction to MIDI input (double checkt the cable and keyboard I used)

- at one point, a demo started to play ("welcome to re-re-retrocade" and then some music), but it sounded really glitchy (first some voices sounded like they skipped a few notes, but it got worse to the point that hardly any notes were played)

- most times the display stayed blank, once I got to the space invader menu where i could select midi channel etc. with the joystick, but still no reaction to the keyboard

- when I started the programming operation, the space invader thing showed on the display during the programming process, but disappeared when the programming was done

 

Then I also tried the Arcade MegaWing with the latest version of the software, loaded a game, but my VGA monitor didn't display anything. I didn't test this one a lot though (if it would have worked I could have been sure the Retrocade Wing was malfunctioning).

I use Win10 and enabled the Testmode to install the unsigned drivers before I installed both MegaWing's software.

Question: Is there an easy way to verify that the Papilio pro board is the broken one? Some diagnostic tool or something? I don't really want to send it back to china before I know for sure which board is damaged.

Would be happy about any suggestions what else I could try.

 

Thanks in advance,

Henrik

Share this post


Link to post
Share on other sites

Hello Henrik,

Sorry you are having problems, lets work through them and see if we can figure out if anything is broken. If anything is not working as it should we will make sure that you get a working board, whether from Seeed or us directly.

For the Papilio Pro board itself, this is a good place to get started:

http://papilio.cc/index.php?n=Papilio.QuickStartGuide

There is a quick start bit file that can be downloaded here:

http://papilio.cc/sketches/Quickstart-Papilio_Pro_LX9-v1.5.bit

You should see every other pin toggle and you should see an ASCII table output on the serial port. 

For the very latest code for the RetroCade and Arcade MegaWings please download the DesignLab IDE here:

There is an example project for the RetroCade that includes the latest bit file and the latest source code for the RetroCade. There is also an example project for the Arcade Megawing that will output video and music so that you can verify that the hardware works. You will find both projects when you open DesignLab and see the initial table of contents page, just use find to get to them. The source code for the Papilio Pro Quickstart can also be found here...

Hope this helps and keep us posted.

Jack.

Share this post


Link to post
Share on other sites

Hi Jack,

thanks for the quick response. I tried the bin file you supplied, the board is powered by USB now, and all the pins from port A,B,C that I tried are constantly at 3.3V.

The oscillator itself seems to be running, the messy signal is just because I dont have a proper scope available atm.

About the ASCII-table: Which serial port do you mean? The SPI close to the USB controller? Or is there a UART over USB available over hterm etc?

Edit: the loader's last message after programming is:

Could not access USB device 0403:6010.

 

Best Regards,

Henrik

papilio-pro-osc.PNG

osc-pin.jpg

papilio-programming.PNG

Share this post


Link to post
Share on other sites

Hello,

There is a dual channel USB chip on the Papilio board. The first channel is used to program the FPGA over JTAG and the second channel is used for UART communications. You should see the ASCII table output on the second channel... Here are some guides to show how it works:

http://papilio.cc/index.php?n=Papilio.GettingStarted - Go to the very end to see how to use Putty to see the ASCII table.

http://gadgetfactory.net/learn/2015/04/03/designlab-using-the-ide-for-the-first-time/

http://gadgetfactory.net/learn/2015/04/03/designlab-hello-world/

Designlab has built in USB communications.

The screenprint that you included above looks like it loaded the quickstart bit file just fine. Its is unusual to see that last bit, but it looks like it is working overall. 

Please be sure to power the device using the USB port and not the external power supply. There shouldn't be any need to power from the external power supply because all of the examples work fine with the power supplied by the USB port. The external power supply was included just in case there was ever a project that needed more then 500mA of power. There has never been a Papilio project that has needed that much power so it is highly recommended to not use the external power connector. If you do use it, you want to avoid using a voltage much higher then 6.5V. Higher then that causes the voltage regulators to generate too much heat.

Jack.

Share this post


Link to post
Share on other sites

Okay now I see the ascii table on com7 and also every even pin toggles (didn't test everyone though). The com ports use the standard FTDI driver, not a specific papilio serial driver, on my machine, might that be causing problems? I guess the drivers were already there because I used FDTI UART cables on this machine before.

The program seems to only run once I restart the papilio board after programming (takes about 3 seconds to start then).

I also tried the same with the retrocade wing and firmware, but even after restarting it doesn't show any lifesign.

 

papilio-pro-uart.PNG

Share this post


Link to post
Share on other sites

tried RV with arcade megawing?

I would say ship to me to test since i live nearby-ish, but would cost you €12 shipping [Hermes] both ways ( i live in DE in RLP )

 

Share this post


Link to post
Share on other sites

Hi Felix,

thanks! I tried ROMVault, it failed over the USB hub. Then I connected directly and now the Arcade MegaWing works! (At least I get VGA output, I didn't connect a gamepad yet and the PCB buttons don't really do that much).

 

I also tried to program the RetroCade without a hub in between but I get the same symptoms. I think I'll test if the voltages are stable and maybe how much current is consumed.

Share this post


Link to post
Share on other sites

There are a couple of things that bit me early on. One was a bad USB cable, brand new out of the box it had an intermittent connection. Others I've run across have insufficient current carrying capacity on the power supply lines, this can cause all sorts of weird issues. Some USB ports are inadequate in that regard as well, the Papilio pulls a fair amount of juice and can't tolerate a lot of voltage sag.

The other issue I had was with programming bitfiles into the configuration ROM. You have to remember to erase the ROM first before you load a new bitfile. That shouldn't affect loading directly into the FPGA though.

Share this post


Link to post
Share on other sites

did you get it figured out? if not, try this zipfile..

extract somewhere, replace the file 

bitfiles/RetroCade.bit

with the proper one (the one there is just a place holder.. I don't use RetroCade so have no idea what bitfile to use..)

run the (PapilioDUO_TB.bat) batch file and use option 6.

the archive was meant for the papilio duo but in this case it should work for RetroCade.. didn't get around to making one for the PPRO =/

 

PapilioDUO_TB_(v1_1).zip

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