News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

Windows cannot detect TE0703 - Carrier board

Started by dbayoxy, April 27, 2020, 02:10:05 AM

Previous topic - Next topic

dbayoxy

I have SoC Module with Xilinx Zynq XCZ7020-1CLG484C on TE0703 - Carrier board, and I am running Windows 10 64bits.

I am new to SoM, however, I connected my PC to the carrier board with cables to these ports:
1. Mini USB connector
2. Barrel jack for 5 V* power supply

The problem I am having is that Windows cannot detect the new hardware, I have even installed Arrow_USB_Programmer_2.4_win64 but it still cannot detect the new hardware.
I will appreciate some help with this. Thanks

JH

Hi,
at first please use always TE Article number, Xilinx device name is not always unique. We have more than one module series and also different assembly option.
https://shop.trenz-electronic.de/de/Produkte/Trenz-Electronic/TE07XX-Zynq-SoC/

With TE0703 carrier you use one of the TE0720 modules. Can you tell me the exact article name (or send me the serial number of the module)?

" Arrow_USB_Programmer_2.4_win64" are drivers for Inteldevices and JTAG with Quartus. You has Xilinx device, you must only install Vivado (with JTAG drivers).

What's the max. current of your power supply unit? Some current limit?
There are some LEDs on the module and the carrier, can you tell me the LED status of all LEDs?
LED position and description:
https://wiki.trenz-electronic.de/display/PD/TE0720+TRM#TE0720TRM-MainComponents
https://wiki.trenz-electronic.de/display/PD/TE0720+CPLD#TE0720CPLD-LEDStatusCodes

https://wiki.trenz-electronic.de/display/PD/TE0703+TRM#TE0703TRM-MainComponents
https://wiki.trenz-electronic.de/display/PD/TE0703+CPLD+-+CC703S#TE0703CPLD-CC703S-LED
Can you tell me DIP settings and Jumper setting of the carrier? --> Or send a picture.

br
John

dbayoxy

Hi John,
Thank you for your response. The maximum voltage of my power unit is 5v, and my correct module is TE0720-03-1CR and I have Vivado Design Suite 2019.2 (Vivado HL WebPACK Edition -free version) installed. I am using the DIP switches in their default states - S2-1: ON, S2-2: ON, S2-3: ON, and S2-4: OFF.
VCCIO voltage selection jumpers are all set to 1.8 V (default)

When powered, Red LED (D5), and Green LED (D2) on the SoM blinks continuously. Also, only the LED(D2) on the carrier board shows green.

Regards
Bayo

JH

Hi,
DIP and jumper looks OK.
Did you install also JTAG drivers with Vivado?

QuoteThe maximum voltage of my power unit is 5v,
Not voltage, I mean current limit of your external power supply.

Can you download Windows USB viewer
https://www.ftdichip.com/Support/Utilities.htm#MicrosoftUSBView
Open USB Viewer and connect JTAG/UART USB Cable (board must be powered). Can you tell me what you see in the tool --> it should be appear a new device.

Can you also open windows device manager, and check if you see some new usb device or unkown device when you connect the usb cable.

br
John

dbayoxy

Hallo,

The maximum current is 2.1A. I have scanned for new hardware with Windows device manager and also used the MicrosoftUSBView tool you provided but no new device is found. It is neither recognized nor found and I have tried it with another Windows PC.  I hope its not board defect, should I uninstall Vivado HL WebPACK Edition (Vivado Design Suite - HLx Editions - 2019.2 ) and try another option like the Vivado Lab Solutions - 2019.2?

Regards
Bayo

JH

Hi,

you should see some new device on Windows device manager and also used the MicrosoftUSBView (minimum unknown device ) when you connect USB for JTAG/UART and the board is powered. This is independent from Vivado driver installation.

Can you remove the module from the carrier and check again with Windows device manager and also used the MicrosoftUSBView tool , please.

br
John

dbayoxy

Hi,

When I removed the module, the carrier board was immediately detected by Windows, but when the module is plugged nothing is detected. I am suspecting the power adapter (5V, 2.1A) that I am using cannot power both. I will get a new adapted and let you know if this is really the cause of the problem.

Regards
Bayo

JH

#7
Hi,
do you have a multimeter on place? So that you can measure 3.3V which is generated on the carrier from the 5V and is used for FTDI

I would be expect some voltages, because you also wrote:
QuoteWhen powered, Red LED (D5), and Green LED (D2) on the SoM blinks continuously. Also, only the LED(D2) on the carrier board shows green.
an module use 3.3V also, but maybe this voltages is drop down to much....its very strange.

So let me know if you has some multimeter and I can tel you where you can measure.
PS: in case you has altium and  you want to search a measurement point by yourself: https://shop.trenz-electronic.de/de/Download/?path=Trenz_Electronic/Modules_and_Module_Carriers/4x5/4x5_Carriers/TE0703/REV06/HW_Design
br
John

dbayoxy

Hello,

It's frustrating, I do not have a multimeter and I recently bought a 5v 3A adapter and it is still not working(the manual says a minimum of 3A should be provided).

I noticed that when power without the SoM the ethernet port on the carrier board and led are green(which shows everything is okay). When the SoM is plugged, the ethernet port turns to faded yellow and blinking continuously, the red and green led on the SoM blinks forever.
I have tried a second carrier board and SoM, it's still the same!

I'm stuck at the moment and I can't proceed with my project.

Kind regards
Bayo

JH

Hi,
5V 3A is sufficient. Theoretical in case the line resistance of your power cable is too high, the 5V will be drop to much, the under voltage protection will power on/off the board permanently, but threshold was changed with serials above 571113:
https://wiki.trenz-electronic.de/display/PD/PCN-20190826+TE0703-06+Under+Voltage+Protection+Change
--> So I don't think this is your problem, when you has TE0703 above this serial.


LED: https://wiki.trenz-electronic.de/display/PD/TE0703+CPLD+-+CC703S#TE0703CPLD-CC703S-LED
--> it has problems to power up your module.

Either your module or your carrier has a problem. When you test also a second carrier, I would say the module or the module connectors.
I don't know at the moment, how this influence the 3.3V voltage, in this way that the FTDI is down, but the CPLD on the carrier is still running.

I think the module or module and carrier must be checked. I will write you on your email.

br
John


dbayoxy

Hi,

I have sent you an email as I can now detect the board as diligent usb device but with no corresponding COM port.

Regards,
Bayo

dbayoxy

Hi,

I have two new COM ports appearing as diligent USB devices. Is there something I must do so that the Xilinx board / ARM core can be detected?

Regards
Bayo

JH

Hi,
I've answered you also on your email.  For completeness now also here:

Can you tell me the name of the old power supply unit and the new one, please?

What did you done as  you get 2 COM visible? Last Screenshot was zero.
When you connect UART/JTAG USB, you should see normally 1 new COM port  (depending on driver installation sometimes also 2, in this case use the second one). I see normally only the COM Port Number, not additional information of Digilent Device, you installed only digilent drivers?

On your SDK, you used ZC702 BSP, but you has TE0720. It's a different, with complete other PS setup.
We provide reference designs with board part files, to get valid PS setup. Newest one is 2019.2:

    https://wiki.trenz-electronic.de/display/PD/TE0720+Test+Board
    https://wiki.trenz-electronic.de/display/PD/TE0720+Test+Board#TE0720TestBoard-Download

Reference Design include prebuilt Boot.bin (Hello TE0720 or Uboot for Linux), use this at first. Put Boo.bin on SD (fat32 partition), set Boot Mode to SD an power up. you should see Hello TE0720 in endless loop.

Us Putty for UART. COM depends on your WIN OS (I would expect COM17 now), and speed is default 115200
br
John

dbayoxy

#13
Hi,

I only have the name of the new power supply unit as I have returned the old one. The new one is Beris power adapter.

Also, you are right, neither COM was visible initially, I replace WinUSB with usbser for the interface in Zadig.  However, they are only recognized as diligent usb devices which I think is strange.

I installed the drivers during installation of Vitis/Vivado and I have also tried to manually re-installed from the C:\Xilinx\Vivado\2019.2\data\xicom

Just as you instructed I copied the Boot.bin from TE0720\test_board\prebuilt\boot_images\1cr_256mb\hello_te0720 into an SD Card and but nothing happened when I changed the DIP switched to boot from SD.

I tried the two COM ports with putty but there was nothing. I have restored the DIP switches to their default states, kindly let me know why the SoM is not working

Best regards

Bayo

P.S I just want to give it a lot of tries before returning the board to Trenz.

JH

Hi
Quote
Also, you are right, neither COM was visible initially, I replace WinUSB with usbser for the interface in Zadig.
this was not necessary.

QuoteHowever, they are only recognized as diligent usb devices which I think is strange.
FTDI was programmed as digilent USB devices, this was OK! It's need to make JTAG visible on Vivado --> also a hidden digilent licence key (So never try to change FTDI config with FTDI tools, otherwhise this key can be lost and JTAG is not longer visible on Vivado!) FTDI has 2 ports one is configured for JTAG and the second one for UART. Depending on your installed drivers, either they check FTDI configure from EEPROM (that's normally the way) or they ignore the content (this can also happens)

Digilent device was also visible on your picture "two.PNG " but as USB, but no additional COM port, so as you installed Zadig drivers, you saw the two COM Ports from your * five.PNG which named Digilent USB device?


Quote
Just as you instructed I copied the Boot.bin from TE0720\test_board\prebuilt\boot_images\1cr_256mb\hello_te0720 into an SD Card and but nothing happened when I changed the DIP switched to boot from SD.
Did you reboot? Or power off/ON? Change DIP only will not restart. And SD Card is formatted as fat32.
There are some LEDs on the module, did they changed?
https://wiki.trenz-electronic.de/display/PD/TE0720+TRM#TE0720TRM-MainComponents
https://wiki.trenz-electronic.de/display/PD/TE0720+CPLD#TE0720CPLD-LEDStatusCodes

There are also some LEDs on the TE0703, can you tell me also the state:
https://wiki.trenz-electronic.de/display/PD/TE0703+TRM#TE0703TRM-MainComponents
https://wiki.trenz-electronic.de/display/PD/TE0703+CPLD+-+CC703S#TE0703CPLD-CC703S-LED


Do you have a second Win10 PC, where you can check one time device manager.
---> please try not to install or deinstall any driver manually, only open device manager and connect the board and power on. What did you see, maybe wait shortly because windows installed maybe default ftdi drivers?

On your PC:
1: install one time FTDI drivers manually:
---> https://www.ftdichip.com/Drivers/D2XX.htm
   64bit Win10 version --> https://www.ftdichip.com/Drivers/CDM/CDM%20v2.12.28%20WHQL%20Certified.zip
2: install Vivado jtag driver again:
--> https://www.xilinx.com/support/answers/59128.html
    C:\Xilinx\Vivado\2019.2\data\xicom\cable_drivers\nt64\install_drivers_wrapper.bat
3: Reboot PC
4: open device manager, connect board and tell me what you see.

And please do not install any strange drivers again, this does not make it easier to find out your problem with JTAG/USB

At the moment I think not longer that you has an HW problem, it's more an driver problem on your PC

br
John

dbayoxy

Hi,

Thanks so much for the detailed explanation.

I just restarted my PC now and everything seems working. I can now run the hello_trenz sample from SD, viewed the output on the COM port etc. The picture of my device manager is attached.

Booting from SD is working perfectly but I am trying to complete the example project by running Boot.bin on QSPI Flash. However, vivado could not find hardware target e.g when I opened the project in vivado and run TE::pr_program_flash_binfile -swapp u-boot (TE::pr_program_flash is recognized instead).

the error ERROR: (TE_PR-106) Script (TE::VLAB::hw_open_jtag) failed: ERROR: [Labtoolstcl 44-469] There is no current hw_target.

Could you give me some tips on how to open or connect to the target in vivado?

Kind regards
Bayo

P.S. I was able to login through the petalinux for the remaining part of the example.






JH

Hi,

can you open Vivado HW manager manually and send me a picture what you see.
--> HW manager -->  Autoconnect

br
John

dbayoxy

HW Manager -> Auto connect

JH

Hi,

JTAG is not visible....so we are nearly at the beginning(not quite :-) ).



Can you download Windows USB viewer
https://www.ftdichip.com/Support/Utilities.htm#MicrosoftUSBView
and send me a picture.

And do following (I think you didn't done on the last time or (you wrote only "I just restarted my PC now and everything seems working.")?):
1: install one time FTDI drivers manually:
---> https://www.ftdichip.com/Drivers/D2XX.htm
   64bit Win10 version --> https://www.ftdichip.com/Drivers/CDM/CDM%20v2.12.28%20WHQL%20Certified.zip
2: install Vivado jtag driver again:
--> https://www.xilinx.com/support/answers/59128.html
    C:\Xilinx\Vivado\2019.2\data\xicom\cable_drivers\nt64\install_drivers_wrapper.bat
3: Reboot PC
4: open Vivado and connect HW manager.
Vivado generates a vivado.log file, can you send me this also.

br
John


dbayoxy

Hi,

I have attached the pictures after following the steps you prescribed, but where do I find vivado.log?

Kind regards
Bayo

dbayoxy

#20
Hi,

Looks like I have it now, Is this correct?
Thank you so much for your time

Best regards
Bayo

JH

Hi,
yes now it looks good.
What has you done? Reinstall driver like I has suggested?
br
John