I code on Quartus prime and compiled it successfully and am trying to upload the code to my board.
Usually, I reverse the .ttf file and push it into the app.h file which will then be sent to the FPGA via JTAG using some commands written in the Arduino IDE.
This time, however, when I compile the Quartus program, I do not find a .ttf file to follow my usual procedure. and I was wondering if there is another method to work around this problem?
Is there another way to program the FPGA? Why is Quartus not generating an .ttf file for this program? Does Quartus only produce .ttf files for smaller programs, because that has been the case with me?
The normal way of getting .ttf is through "File->Convert Programming Files" .
Select the desired output format to "Tabular Text File", select your flash chip type (or close compatible), add the compiled .sof to pages in "Input files to convert" section in the bottom.
Another possibility is using USBBlaster library. This will make SAMD run a bit of Altera's USB Blaster functionality that allows you to program FPGA as if you had direct link via real USB Blaster. It's not entirely compatible, or rather incomplete (at least it was some years ago), so you won't be able to program attached flash chip using factory default sfl directly from the Quartus Programmer, only .sof files work. But that's a start anyways.
Hi, I just finished my JTAG_Interface library and it seems like it is exactly what you need: A simple and straight-forward way to upload the FPGA code and besides that a way to talk to the FPGA while the code is running.
Best of all is the bitstream conversion utility with a user-friendly GUI. Regarding your .ttf problem, are you sure this is the right folder? It almost doesn*t seem like it. You should try and clean the project, delete any intermediate files and the output folder and rebuild and check that there is no compile error for sure. I have never had the case where there was no .ttf file after a successful compilation, so there must be an error somewhere.
This library does not use USB-Blaster at all, it embeds the bitstream in the Arduino code and then seamlessly uploads it when the program starts (In my opinion the way to go). Besides the nice conversion GUI, the most important feature is the communication at runtime, because I assume you currently have no way to exchange data with the FPGA chip.
Here is my post announcing the library (which is now even part of the library manager):