Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21602 Discussions

JTAG Programing Cyclone III device

Altera_Forum
Honored Contributor II
2,221 Views

Hello, 

 

I`m new in developing boards with Altera, thus i tried to develop the simplest design: just Cyclone III, and a few leds. 

 

I`m going to program it with Usb blaster via JTAG, but when i`m starting programing in Quartus programmer it fails...  

 

I think the mistakes in scheme or during assembly.  

 

here is part scheme with JTAG port, can somebody review it, please?
0 Kudos
8 Replies
Altera_Forum
Honored Contributor II
1,105 Views

On CIII devices you have a 4th MSEL3 pin which must be tied to ground, too. 

Otherwise an AP configuration mode is selected, since MSEL pins have internal pull-ups
0 Kudos
Altera_Forum
Honored Contributor II
1,105 Views

 

--- Quote Start ---  

 

I`m going to program it with Usb blaster via JTAG, but when i`m starting programing in Quartus programmer it fails... 

 

--- Quote End ---  

 

 

What exactly "fails"? 

 

Do you get any error messages by the programming tool or does programming work without error messages but the HDL design does not work? 

 

In my case the programmer failed with the simple message "Failed" and no further information. I found out that in my case the network firewall blocked the programmer from accessing the "Altera JTAG server" service (which must be installed and running, too) ... 

 

Martin
0 Kudos
Altera_Forum
Honored Contributor II
1,105 Views

dedannan is using E144 device in the schematic, which doesn't have MSEL3. So I think the problem is caused by something else. It is better to show the actual error message in the post... 

 

One thing might need to be noticed: nStatus and CONF_DONE need to be connected to Vccio of the bank they belong to. I see all the Vccios are either 3.3 or 1.2, not 2.5. Could this be a problem?
0 Kudos
Altera_Forum
Honored Contributor II
1,105 Views

 

--- Quote Start ---  

nStatus and CONF_DONE need to be connected to Vccio of the bank they belong to. I see all the Vccios are either 3.3 or 1.2, not 2.5. Could this be a problem? 

--- Quote End ---  

 

As far as I see, the schematic is reproducing the device manual suggestion for JTAG voltages, except fot this two pull-ups. But I don't expect a problem. 

 

I guess, it's a more baisc problem. How about the ground connection of the exposed pad?
0 Kudos
Altera_Forum
Honored Contributor II
1,105 Views

thak you for paying attention to my post! 

 

I reminded shareholders about bottom pad a few times and it looks like fine. 

I don`t have any mistakes, just fail in programmer as in attached img. 

I don`t use JTAG server just usb blaster that works fine with starter board, but fails with my. 

 

A also attach full FPGA power connection sheme is there any problems? 

 

If no, i will think that there are troubles with assambly and will try one more time... 

 

thankq for your answers!!
0 Kudos
Altera_Forum
Honored Contributor II
1,105 Views

If I were you, I would try to pull up R6 and R7 to Vcc3.3, which is the Vccio voltage of bank 1. Anyway, this is the only place in the schematic which is not quite in line with the suggested circuit by Altera.  

 

I am not sure whether this can cause the problem. But this is the only aspect I can guess...
0 Kudos
Altera_Forum
Honored Contributor II
1,105 Views

When the Quartus Programmer failed, there will be messages displayed in the Quartus II console. So minimized Programmer so you can see what's displayed in the main Quartus II console. That may give you a clue. Also I've seen the same problem before and when I close Quartus II and/or reboot my PC and try again, it'll work. Have you tried that? Also, your JTAG voltage of 2.5V for Cyclone III is correct so do not change that to 3.3V. That'll kill the device. 

 

 

 

--- Quote Start ---  

thak you for paying attention to my post! 

 

I reminded shareholders about bottom pad a few times and it looks like fine. 

I don`t have any mistakes, just fail in programmer as in attached img. 

I don`t use JTAG server just usb blaster that works fine with starter board, but fails with my. 

 

A also attach full FPGA power connection sheme is there any problems? 

 

If no, i will think that there are troubles with assambly and will try one more time... 

 

thankq for your answers!! 

--- Quote End ---  

0 Kudos
Altera_Forum
Honored Contributor II
1,105 Views

Do you have the MSEL3 pin floating? That would be a problem. See attachment and footnote 7. 

 

 

 

--- Quote Start ---  

When the Quartus Programmer failed, there will be messages displayed in the Quartus II console. So minimized Programmer so you can see what's displayed in the main Quartus II console. That may give you a clue. Also I've seen the same problem before and when I close Quartus II and/or reboot my PC and try again, it'll work. Have you tried that? Also, your JTAG voltage of 2.5V for Cyclone III is correct so do not change that to 3.3V. That'll kill the device. 

--- Quote End ---  

0 Kudos
Reply