Author Topic: DE10-Nano JTAG broken?  (Read 415 times)

0 Members and 1 Guest are viewing this topic.

Offline IndependenceDue

  • Newbie
  • Posts: 3
  • Country: 00
DE10-Nano JTAG broken?
« on: September 20, 2020, 11:06:38 pm »
Disclaimer: I'm crossposting this from Reddit since I didn't get too many replies there. Hopefully someone here encountered this issue before and can provide more input.  |O

I recently got an Altera DE10-Nano board. Everything on it (USB-OTG, remote desktop'ing into the board, serial, LEDs, accelerometer) works, except the JTAG Mini USB. I tried on 3 computers, and on both Windows and Linux.

I started by removing the SD Card as the guide suggested, connecting the Mini USB cable, then plugging the board in.

In Windows, no new USB device appears in device manager. Quartus Prime doesn't detect anything. I've tried this many times and tried to install drivers to no avail. I don't even get the Windows "device plugged in" sound.

In Linux, nothing appears under lsusb or dmesg. jtagconfig doesn't find anything. I tried running it and the service both as root to no effect. It's like nothing got plugged in at all, just like in Windows. I also made sure to follow the relevant instructions in Arch Wiki to get it to work, but that failed too.

I've tried both with MSEL set to the factory config and with all 1's. I've also tried the AS x1 mode (10010) to no success. The JTAG port appears completely dead. I've verified continunity on the port and that the port at least isn't phyiscally broken or badly soldered. Anyone know what I could check next to make sure the USB Blaster circuitry isn't dead?

Am I missing something with the configuration switches on the board, or is it just broken? I have no idea what's wrong. Please help.
 

Offline tru

  • Contributor
  • Posts: 37
  • Country: gb
Re: DE10-Nano JTAG broken?
« Reply #1 on: September 21, 2020, 07:23:15 am »
There is nothing special to configure, you just plug in power to the power jack and plug in a USB cable into the USB Blaster II mini USB socket (the one next to the HDMI port).

During the installation of Quartus Prime there is a prompt at the end asking permission to install the USB Blaster II drivers, but even if you didn't opt to install them you will see it listed under the yellow icon "Other devices" tree in Windows Device Manager.

I attach picture of my Device Manager when the device is plugged in and as you can see it is listed under "JTAG cables" tree.

One thing I did notice is that when the USB-OTG micro cable is left plugged in (other USB socket) the USB Blaster II device is not recognised.

It looks like you've already tried so I think your board is broken, i.e. USB Blaster circuitry section as you've mentioned.
« Last Edit: September 22, 2020, 01:04:11 pm by tru »
 

Online Daixiwen

  • Regular Contributor
  • *
  • Posts: 201
  • Country: no
Re: DE10-Nano JTAG broken?
« Reply #2 on: September 22, 2020, 07:18:32 am »
If you don't even hear the connection sound or see a device with a yellow exclamation point in the device manager (in Windows) then it is a problem very near the USB connector. Either the USB connector itself or the chip connected to it (is it an FTDI chip? I don't remember). I would check the soldering on the USB connector first.
The MSEL setting will not affect the connection between the USB device and the PC host, so as long as you don't see the USB device from the PC you don't need to try and change those settings.
 

Offline tru

  • Contributor
  • Posts: 37
  • Country: gb
Re: DE10-Nano JTAG broken?
« Reply #3 on: September 22, 2020, 01:11:16 pm »
Btw, the schematic is downloadable:
https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=205&No=1046&PartNo=4

The USB Blaster II section is on page 10 and 11.  There is
1. a CY7C68013A (Cypress USB 2.0 controller) which provides the USB support
2. an EPM570GF100C5N (Altera CLPD) which provides the USB Blaster II proprietary Altera JTAG protocol

Since you don't even get a device connection I guess the Cypress circuitry section is dead.

It looks like there is a JTAG header that connects directly to the CPLD (JTAG controller) and so bypasses the USB, but a 2x5 pin header is not soldered in.  This header is located next to the 5V power jack.
« Last Edit: September 22, 2020, 01:16:15 pm by tru »
 

Offline mikerj

  • Super Contributor
  • ***
  • Posts: 2572
  • Country: gb
Re: DE10-Nano JTAG broken?
« Reply #4 on: September 22, 2020, 01:40:41 pm »
Have you tried a different USB cable?
 

Offline IndependenceDue

  • Newbie
  • Posts: 3
  • Country: 00
Re: DE10-Nano JTAG broken?
« Reply #5 on: September 22, 2020, 08:01:51 pm »
Have you tried a different USB cable?

The USB cable that came with the board works perfectly with the serial port. I've also tested continuity on the cable and the port. There's no issue with the port or cable as far as I can tell.

Btw, the schematic is downloadable:
https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=205&No=1046&PartNo=4

The USB Blaster II section is on page 10 and 11.  There is
1. a CY7C68013A (Cypress USB 2.0 controller) which provides the USB support
2. an EPM570GF100C5N (Altera CLPD) which provides the USB Blaster II proprietary Altera JTAG protocol

Since you don't even get a device connection I guess the Cypress circuitry section is dead.

It looks like there is a JTAG header that connects directly to the CPLD (JTAG controller) and so bypasses the USB, but a 2x5 pin header is not soldered in.  This header is located next to the 5V power jack.

I figured it would be the Cypress chip that was dead, though I'm not sure why it would arrive dead randomly. I planned to try buying a standard USB Blaster next, but I'm going to try to return it first since it was DOA. For now unless I can revive it I'll just use the SD card.

If you don't even hear the connection sound or see a device with a yellow exclamation point in the device manager (in Windows) then it is a problem very near the USB connector. Either the USB connector itself or the chip connected to it (is it an FTDI chip? I don't remember). I would check the soldering on the USB connector first.
The MSEL setting will not affect the connection between the USB device and the PC host, so as long as you don't see the USB device from the PC you don't need to try and change those settings.

As said above it's a Cypress chip and I already tested the USB port's and cable's continuity. The FTDI chip was at the serial port iirc.

I've also tested both USB 2.0 and 3.0, which obviously made no difference.

I think it's really just dead. If anyone has suggestions to potentially revive/debug the cypress chip that would be great.
 

Offline tru

  • Contributor
  • Posts: 37
  • Country: gb
Re: DE10-Nano JTAG broken?
« Reply #6 on: September 22, 2020, 09:34:00 pm »
Had a relook at the schematics and the Cypress is using 3.3V.  There is a blue LED that should light up as soon as you apply power to the power jack, yours is lit?
 

Offline IndependenceDue

  • Newbie
  • Posts: 3
  • Country: 00
Re: DE10-Nano JTAG broken?
« Reply #7 on: September 22, 2020, 09:36:50 pm »
Had a relook at the schematics and the Cypress is using 3.3V.  There is a blue LED that should light up as soon as you apply power to the power jack, yours is lit?

Yup. And the other green LEDs are also dimly lit as in your picture. Literally everything on the board (HDMI, Serial, Power, USB-OTG, accelerometer, GPIO, etc, etc) works except the JTAG which is completely dead.
 

Offline Dmeads

  • Regular Contributor
  • *
  • Posts: 137
  • Country: us
  • who needs deep learning when you have 555 timers
Re: DE10-Nano JTAG broken?
« Reply #8 on: September 26, 2020, 02:39:29 am »
I had a similar issue with a DE10-lite.

All my classmates had the same board and mine was the only one bugging out. unlike yours, mine would show up, but disappear when I tried to program it. There was nothing going through the JTAG chain when I tried to test continuity and it said the JTAG ID didnt match up.

Even though I knew the cable was fine, I swapped it out and I was able to program the board like 5 times before the same issue started happening, then it wouldn't program any more. If youre really in a pinch, I would just try a bunch of cables, even if they might only work once or twice. (Also a complete reinstall of quartus worked for a very short time). Basically no long term fix  |O

Don't even try asking the question on the intel forums, total waste of time. Im pretty sure my issue was with the USB-blaster chip.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf