0

I'm having trouble programming my DE1-SoC from the Quartus Programmer. The board is powered and connected correctly and I've managed to find and program it before, multiple times, but even then Quartus was very inconsistent in finding it. I tried to understand under what circumstances it finds the board but I really didn't do anything special in those times.

Under Hardware Setup --> Hardware Settings --> Currently selected hardware there only appears "No Hardware", and the DE1-SoC isn't listed: enter image description here

I don’t manage to take a screenshot when the dropdown is opened, but the only option is “No Hardware” and the board isn’t listed.

$ ~/intelFPGA_standard/24.1std/quartus/bin/quartus_sh --version
Quartus Prime Shell
Version 24.1std.0 Build 1077 03/04/2025 SC Lite Edition
Copyright (C) 2025 Altera Corporation. All rights reserved.

$ uname -a
5.15.0-124-generic #134-Ubuntu SMP Fri Sep 27 20:20:17 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/udev/rules.d/51-usbblaster.rules
BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6810", MODE="0666"

I run quartus using sudo. I tried Terasic support but they suggested to reinstall, I find it weird because the hardware will occasionally (very very rarely, and I don't know what determines it) be found.

Any help would be much appreciated

8
  • Did you check your project folder? Did it contain all the necessary files post synthesis, netlist, sof, pof? As your screenshot shows sof file is missing that could lead to the conclusion that your project was not successfully built. Commented Apr 30 at 12:49
  • @NaveedAhmed Info (293000): Quartus Prime Full Compilation was successful. 0 errors, 674 warnings This generates me a .sof file in the same folder in which I opened the .qar file (it's an existing project that I downloaded). as to *.pof files - I don't find any Commented Apr 30 at 13:05
  • Just to make sure, I created a .pof file manually using File --> Convert Programming File with the .sof as input and configuration device EPCQ128. I then restarted Quartus but still nothing. I'll mention that I never did this on previous times where it actually was detected Commented Apr 30 at 13:25
  • Did you try the board with any other project that was compiled successfully with all the files correctly generated? Commented Apr 30 at 13:27
  • Thank you. When I open quartus and go Open Project --> ~/DE1-SoC_v.6.0.0_HWrevH_SystemCD/Demonstrations/FPGA/my_first_fpga/my_first_fpga.qpf (Which is a trusted basic demonstration by Terasic) and compile it: Info (293000): Quartus Prime Full Compilation was successful. 0 errors, 32 warnings It still wouldn't detect the device. This is another project, in addition to the one before, that I previously managed to program to the fpga, on random scarce occasions Commented Apr 30 at 13:37

1 Answer 1

0

Like I said in the comments I have a script that handles this, but clearly it was easier than I thought:

killall -9 jtagd
echo Please remove the USB connector from the board
echo then powercycle the board
echo and reinsert the USB cable

As it already works for you sometimes, I assume you have fixed the usbblaster usb rules, but for completeness I give them anyway. These are my contents from /etc/udev/rules.d/51-usbblaster.rules:

# USB-Blaster
BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6001", MODE="0666"
BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6002", MODE="0666" 
BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6003", MODE="0666"   

# USB-Blaster II

BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6010", MODE="0666"
BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6810", MODE="0666"
Sign up to request clarification or add additional context in comments.

2 Comments

I appreciate your answer. I set my 51-usbblaster.rules with these rules, and follow the procedure you mentioned. jtagd will now be <defunct> but when I power the board up again and reconnect the USB cable, still nothing is showing on the Device Programmer, and there's no jtagd running on the system
But it worked sometimes before, can you test with the old usb blaster rules?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.