-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Cyclone II support #448
Comments
UPDATE: I was looking at #129, using a RBF file without compression kind of works, the light in the board make a blink and the console does not report any errors but the FPGA still does nothing. (The code is known to work since i've loaded it from Quartus II and it works, openFPGALoader seems to be very close, but for some reason it does not work yet) I also tried loading a .cdf file like quartus_pgm does but openFPGALoader yields:
|
IT WORKS!! Reading around the repo, i saw a mention of a intel.md in doc/, so i went to the first commit, found the file and noticed that SVF files are supported, it took me a while to find how to generate them (since in the old Quartus II 13.0sp1 that is the last to support the Cyclone II family, it is hidden under some settings of the device), but once i generated it, i ran:
And the board is alive and the code is working perfectly, im not sure why SVF files work and RBF dont, but it doesn't matter. Will correctly add support for the Cyclone II family but i would suggest adding a little more documentation to how to generate the .svf file since its not easy. This resource helped me: |
Hi and thanks to report this family is working using svf.
ie without |
I tried both, if you check the link to the board, it has two JTAG headers, one writes to a FLASH and the other writes to the FPGA (so when power its interrupted, the FPGA is blank again) As you can see in the diagram of the board PDF And abut the RBF, maybe Quartus changed something abut the standard in some version, or im not sure, both RBF and SVF load without any error, but the SVF works and RBF does not. |
PR #449 created |
I'm mitigate to order this board. I have no real use for an old/obsolete device, but in other hand the behaviour is strange. |
It might be that the Cyclone II family managed FLASH in a different way or that its a lot cheaper just plug another JTAG header just for the flash, if you connect the USB-Blaster to the FLASH JTAG, you write to the FLASH and after a reboot the FPGA will read from FLASH, but if you plug it to RAM, you work directly in the FPGA (after a reboot everything is gone). But its truly weird that a FLASH chip its connected directly to a JTAG interface since the programming process from Quartus II its exactly the same. And i know there is not a lot of use for this old FPGAs/CPLDs, but since they are so cheap (I picked up 20 MAX II CPLDs from aliexpress for 10 USD the other day) they are interesting to build distributed systems. |
hii folks, any updates? To create a .svf file for Cyclone II |
Hey, im trying to add support for the classic Cyclone II (its a very very common entry board to FPGA field)
This is the board that im trying to support: https://www.ebay.com/itm/355257902298?mkcid=16&mkevt=1&mkrid=711-127632-2357-0&ssspo=kebs3p_ksj2&sssrc=2047675&ssuid=&widget_ver=artemis&media=COPY
I added the line:
But running:
sudo ./openFPGALoader -c usb-blaster --write-flash blink.bit
Yields:
But if i run:
sudo ./openFPGALoader -c usb-blaster --detect
I get:
I readed in another issue and i tried:
sudo ./openFPGALoader -b qmtechCycloneV -c usb-blaster --write-flash /shared/mass_blink.bit
(I know that this is not a Cyclone V but idk, i was just trying)
And it loaded but i got:
If anyone can give me a hint about where to look, i will test it and make the PR, i think this is a very very cheap board, you can find the basic schematics of the base board that i shared and Quartus II is free and does not require a license that i think its pretty cool.
Thanks for the time.
The text was updated successfully, but these errors were encountered: