EEVblog Electronics Community Forum

Electronics => Microcontrollers => Topic started by: FrankBuss on March 27, 2017, 09:12:19 pm

Title: mysterious FPGA board with VGA output
Post by: FrankBuss on March 27, 2017, 09:12:19 pm
I got this board: http://www.ebay.de/itm/232194910386 (http://www.ebay.de/itm/232194910386) Does anyone know what it is? The PCB silk screen says Storm_IV_XX_V2.0. Might be some clone of one of these arcade boards with the VGA output and PS/2 input.

It was delivered with 2 DVDs. Can't read the files, only the directory structure, but this might be my drive, it has some problems with burned DVDs, which this seems to be, will try it tomorrow with another drive. But some of the content is hilarious :o

(http://i.imgur.com/OnuHdzS.png)

Same in a ModelSim SE directory, there is a keygen program, this is convenient. Of course I won't run it ::) and the Cyclone IV is supported by the free web edition of Quartus and the free version of ModelSim anyway. Now all I need is a schematic of the board, and best would be a Qartus QSF file for the pin assignments, and some sample code for using all the peripherals. I could reverse engineering this, all chips are TQFP, SSOP etc., no BGA, but this is some tedious work. I'll ask the seller first, if I can't find it on the DVD ROMs or nobody here has the information.
Title: Re: mysterious FPGA board with VGA output
Post by: FrankBuss on March 28, 2017, 01:18:36 am
Ok, meanwhile I got an LED blinking test working, see attached file for Quartus Prime Lite 16.1, just in case someone has the same problem (it is named pwm-test, because this is it what it is going to be later for my Nixie clock project). It uses the on-board 50 MHz oscillator and blinks D1 with 1 Hz. A SDC file for timing constraints is included. You can synthesize it and then upload the SOF file.

I'm using it in Linux and there was a problem with the access rights. This website: http://www.fpga-dev.com/altera-usb-blaster-with-ubuntu/ (http://www.fpga-dev.com/altera-usb-blaster-with-ubuntu/) and the chapter "Fix USB driver permissions" fixed it. Now I can upload the SOF file from the command line with "quartus_pgm -m JTAG -o p\;pwm-test.sof" (the GUI programmer hangs in Linux, too, don't know why).

Next would be to create a JIC file to indirect flash the config flash. On the board is a M25P40, so it should work with an EPCS4, but when I try to flash it with a JIC file, it uploads the flash programmer successfully, but then I get the message "Error (209012): Operation failed". Maybe I missed some option or configuration when creating the JIC file, but this is already useful now with uploading the SOF file.

BTW, I have an USB extension cable. The USB Blaster that was included in the packet didn't work with it, said only it couldn't scan the JTAG chain. But without the extension cable it works fine. I guess you get what you pay for, but still very useful and cheap for hobby projects.
Title: Re: mysterious FPGA board with VGA output
Post by: pieman103021 on March 28, 2017, 01:35:13 am
I wouldn't even put those disks in my computer. For anything from ebay/aliexpress that requires software, just err on the safe side and download the official software. In this case, whatever altera's software is (Quartus II it looks like).
Title: Re: mysterious FPGA board with VGA output
Post by: ale500 on March 28, 2017, 09:45:28 am
That board looks better than the one I bought some months ago:

http://www.ebay.de/itm/Altera-CycloneIV-FPGA-development-board-EP4CE6E22C8N-with-usb-blaster-set-/272565020222?hash=item3f7624263e:g:MQoAAOSwrklU~aNc (http://www.ebay.de/itm/Altera-CycloneIV-FPGA-development-board-EP4CE6E22C8N-with-usb-blaster-set-/272565020222?hash=item3f7624263e:g:MQoAAOSwrklU~aNc)

One of the problems is that it has almost no decoupling caps !. Another one is the amount of pins used for VGA output, 16 bit color ?... 9 would suffice for such a board, not a single free pin....

Make a VM with Virtualbox, read an image of the CD/DVD there, get the schematic out, and throw the rest out of the window, so to say.
 I'd trace the PCB with a multimeter, it is a TQFP-based board, it is not *that* difficult. Anyways I do not trust the delivered schematic, something is not right with the given PINs for the VGA output...).
Title: Re: mysterious FPGA board with VGA output
Post by: Ultrawipf on April 30, 2017, 10:07:45 am
I am also currently looking for an inexpensive fpga board like that and i am deciding between the zrtech and the mysterious one in the first post.
How many free pins does it have? I don't need the serial port and on the zrtech it looks like half of the pins go to the vga.
Having all pins on headers is nice but makes no sense if every pin is already connected to something...
Also it seems like the big one has a dac and adc which would be a plus and the zrtech only an adc?
Title: Re: mysterious FPGA board with VGA output
Post by: FrankBuss on April 30, 2017, 05:36:18 pm
Meanwhile I could read the DVDs from another computer. The content is useless. On one DVD is just a RAR file with the same content as unpacked on the other DVD, but an additional UltraEdit directory, probably a cracked version of this program too, and both have just the cracked versions of ModelSim and Quartus with keygens and nfo files for a Russian cracker group, and some drivers for USB serial port chips, which you all don't need to use the board.

I started the refund process on eBay, asking the seller again for the documentation, they ignored my first question. Maybe this will expedite the process of sending me the documentation. If not, I guess they won't care for the shipping cost (in the auction text is written, that the seller pays for return shipping) and I would have a free board :) and with a some work, I could reverse engineering the connections between the chips.
Title: Re: mysterious FPGA board with VGA output
Post by: james_s on May 01, 2017, 05:04:58 am
That looks like a nice little board. All you need to do is work out what pins connect to what, then just use Quartus, no need for the software they sent.
Title: Re: mysterious FPGA board with VGA output
Post by: ebclr on May 01, 2017, 05:31:26 am
Ask they to send you german documentation, or hold their money....

You get what you paid for. Be reasonable product is with documentation, you are the one that does not know Chinese

It's quite easy to use google translator probably 3/4 of content are Chinese teaching content

The only thing that is useful on the CD is pin assignment file
Title: Re: mysterious FPGA board with VGA output
Post by: FrankBuss on May 01, 2017, 08:13:01 am
You get what you paid for. Be reasonable product is with documentation, you are the one that does not know Chinese

It's quite easy to use google translator probably 3/4 of content are Chinese teaching content

The only thing that is useful on the CD is pin assignment file

Do you have this product? I couldn't find any documentation on the CD, not even in Chinese, except what looks like a short description how to use the keygen programs to crack Quartus and ModelSim, and no pin assignment file. Maybe a CD was missing? Both CD names say "...B", so there might be a CD with "...A"?

But maybe I missed it, the content of the CDs are not really sorted, multiple copies of Quartus etc., no readme in the root directory what is on the CD. And right, I can use this with the free web edition of Quartus, I already reverse engineered some pins and used it for a PWM test, and I could upload a configuration stream with the outer JTAG port. Don't know what the inner JTAG port does.

https://hackaday.io/project/20474-antique-nixie-clock/log/56827-pwm-test
Title: Re: mysterious FPGA board with VGA output
Post by: ebclr on May 01, 2017, 08:57:22 am
Altera boards normally have 2 programming ports AS and jtag

One writes directly to FPGA and is volatility ( like a ram turn off power program goes )

The other writes on external Flash and is permanent
Title: Re: mysterious FPGA board with VGA output
Post by: FrankBuss on May 02, 2017, 09:08:05 am
The eBay seller answered, said the supplier doesn't provide technical support. I did a Google image search with all the words in the article description, found an Aliexpress board which looked the same, asked the seller and got the documentation :) Was on a one-drive link, I uploaded it to my website:

http://www.frank-buss.de/tmp/Storm_IV_E6_E10_MINI_V1.0.rar (http://www.frank-buss.de/tmp/Storm_IV_E6_E10_MINI_V1.0.rar)  (500 MB file)

It says V1.0 and the board says V2.0, but apparently in the schematic directory is a PDF for the V2.0 board as well (and v.13), I'll attach it here for reference. It is all on one side, but you can zoom-in and on the left navigate to the parts you are interested it. In the RAR file are lots of Quartus sample projects for each hardware on the board.
Title: Re: mysterious FPGA board with VGA output
Post by: pieman103021 on May 03, 2017, 02:03:10 pm
Awesome, glad to hear you tracked down some good documentation. Hope to see it put to good use now. :clap: :clap:
Title: Re: mysterious FPGA board with VGA output
Post by: hfdhd on June 01, 2017, 11:47:56 am
Hi.

How is this project, any progress?

I got this same board, and documentation is bit messy. Did you work out or find a pin file for all the pins? the are pit and pieces in projects but did not find any complete one.

Title: Re: mysterious FPGA board with VGA output
Post by: FrankBuss on June 01, 2017, 12:31:50 pm
I don't think there is a complete file, but you can create one with the help of the schematic, or use the example projects and merge all files. When you have a complete QSF file, please upload it somewhere :)
Title: Re: mysterious FPGA board with VGA output
Post by: Altaga on August 14, 2017, 06:37:48 am
This is the file QSF - Enjoy!!!
Title: Re: mysterious FPGA board with VGA output
Post by: FrankBuss on August 14, 2017, 10:17:25 am
This is the file QSF - Enjoy!!!

Thanks!
Title: Re: mysterious FPGA board with VGA output
Post by: hashtala on June 11, 2020, 10:43:05 am
Hello

I am a bit late but if you ever read this please help   

I have been stuck for SDC file. I have no idea how to basically merge it with my project. I use Quartus Prime 18.0
without this file my project does crazy things, its so random! I need to impement that asap but I cannot find any resources that I could use.