Forum Discussion
Cannot program cyclone IV with USB blaster
- 2 years ago
Hello, yes!
It turns out the USB blaster I ordered was defective, trying it with a replacement it worked no problem.
Additionally, for future reference, the defective one did not have a constant shining "ACT" light, and Windows event viewer reported status code 0 as problem starting.
Thanks!
Hello,
I am facing a very similar problem with my Cyclone IV FPGA board and would appreciate some guidance.
My hardware is:
- FPGA: Altera/Intel Cyclone IV E EP4CE6E22
- FPGA board: Cyclone IV development board
- Operating System: Windows 11 64-bit
- Quartus Prime / Quartus Programmer: 21.1
- Programmer: Altera USB-Blaster
The USB-Blaster is detected by Windows Device Manager. However, Quartus Programmer cannot detect the FPGA through JTAG.
When I run:
jtagconfig
I get:
Error when scanning hardware - Server error
Quartus Programmer also reports:
"Attempted to access JTAG server -- internal error code 82 occurred"
I checked the JTAG Server and found the following:
jtagserver --status
Server is running
Remote clients are disabled
However, when I run:
jtagserver.exe --foreground
I get:
Unable to bind changedetect socket: 10048
Can't bind to TCP port 1309 - exiting
I then checked port 1309 using:
netstat -ano | findstr 1309
and got:
TCP 0.0.0.0:1309 0.0.0.0:0 LISTENING 4928
UDP 127.0.0.1:1309 127.0.0.1:1309 4928
So port 1309 is currently being used by PID 4928.
I have already tried:
- Reinstalling the USB-Blaster driver
- Installing the driver manually from the Quartus driver directory
- Trying different USB ports
- Restarting the PC
- Disconnecting the FPGA and testing the USB-Blaster separately
- Reinstalling/restarting the JTAG Server
- Checking the JTAG Server status
- Checking TCP port 1309
- Running the commands as Administrator
The USB-Blaster is detected by Windows, but Quartus still cannot communicate with it through the JTAG Server.
I would like to know if anyone has experienced this issue with Cyclone IV EP4CE6E22 on Windows 11.
Could someone please advise me on:
1. What exactly could be using port 1309?
2. How can I safely identify and remove the process/service occupying port 1309?
3. Is there a known JTAG Server compatibility issue with Quartus Programmer 21.1 and Windows 11?
4. Should I use a different Quartus Programmer version?
5. Is there anything else I should check on the USB-Blaster/JTAG connection?
I would really appreciate any help or suggestions.
Thank you.