Info: Quartus Prime Shell was successful. 0 errors, 352 warnings Info: Peak virtual memory: 4626 megabytes Info: Processing ended: Sat Jun 22 02:28:30 2019 Info: Elapsed time: 00:06:33 Info: Total CPU time (on all processors): 00:00:05create ram + flash app.ttfJun 22, 2019 2:28:30 AM - (INFO) elf2flash: args = --input=build/software/MKRVIDOR4000_graphics/MKRVIDOR4000_graphics_lite.elf --output=build/output_files/MKRVIDOR4000_graphics_lite.flash --base=0x008E0000 --end=0x008FFFFF --verbose --saveJun 22, 2019 2:28:30 AM - (FINE) elf2flash: StartingJun 22, 2019 2:28:30 AM - (FINE) elf2flash: Doneprojectsipcp: omitting directory './ip/GFX/arduino/Vidor_GFX/examples'cp: omitting directory './ip/QUAD_ENCODER/arduino/VidorEncoder/examples'cp: omitting directory './ip/NEOPIXEL/arduino/VidorNeopixel/examples'cp: omitting directory './ip/MIPI_RX_ST/arduino/VidorCamera/examples'
Ok, now I'm really confused. I did a really basic test to see that my app.ttf is loaded correctly:1) Installed precompiled VidorGraphics from Library Manager2) Flashed the QR example to the board - QR recognition works3) Built the *VidorPeripherals* app.ttf from source (e.g: NOT the VidorGraphics app.ttf)4) Put my custom-built *VidorPeripherals* app.ttf into the *VidorGraphics* precompiled library's folder (overwriting the precompiled app.ttf for *VidorGraphics*)5) Once again flashed the QR example to the board6) QR recognition is STILL WORKING?!But - I flashed the sketch using the wrong app.ttf (VidorPeripherals), which should not contain the necessary things for camera + QR recognition??So why is QR recognition still working? Has the app.ttf not been flashed to the FPGA at all?Can someone please describe how they got the VidorBitstream workflow to work correctly? Am I missing something obvious?
Hi,Thanks for the updated files, the Quartus patches seem to work fine now!I am having problems running the example files however (starting with a slightly modified bare example that should set an output pin to 1 lighting up an LED). If I merely create an Arduino library (as is suggested in the github readme), the Arduino IDE complains that FPGA is defined twice (once in the VidorFPGA.cpp file in the VidorPeripherals library and once in my test library). I can comment out the offending lines in either of the libraries, but I am not certain how to figure out which app.ttf gets loaded in the end.I have not yet managed to turn the output LED on through code written in Quartus. It seems to me that no matter what app.ttf I try to load, the example sketches from VidorPeripherals (setting outputs to on and off) seem to work. This indicates to me that I am always just loading the pre-compiled FPGA code, am I misunderstanding something?I have also tried running the blinking example sketch written by Philippe which was posted here earlier and while Quartus indicates that everything compiles fine, the LED connected to port 6 never blinks. Is there a way for me to debug whether I have a problem with my FPGA? (The VidorPeripheral examples work!)EDIT: Turns out I had screwed up something during my early debugging attempts, restoring the bootloader (according to the other thread) fixed my issue.
I have not tried flashing an empty app.ttf, but it sounds like storage isn't cleared before the new bitstream is written to it... Could it be that flashing an empty file causes *nothing* to be written, which leaves the old bitstream in place? Whereas flashing a new (potentially smaller) bitstream might still leave old data around, but it will never be read, and so it won't matter?Could an Arduino employee please confirm whether it is possible to build a working camera or QR example from the VidorBitstream source?That would be super helpful, so that we know whether to press on or not.Thanks!
I will try to look these. I just updated my computer so I have to reinstall all tool chains.Also that Arduino team radio silence is not what I like. At least Vidor4000 have moved to normal branch. Earlier it was only in Beta devices.Also remember you can only use one FPGA image at time.IMO:I think currently Vidor is ok for basic FPGA learning with Quartus Lite and USB Blaster sketch.I would recommend to use serial or SPI for data transfer to FPGA and USB Blaster sketch for debugging FPGA.Currently biggest problem is missing documentation of mailbox system and no select for VCCIO for banks (no LVDS in mini PCIe connector).