UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor vac620
Visitor
8,460 Views
Registered: ‎12-07-2010

ML605 USB-uart connectivity lost

Dear all,

 

I have an ML605 board bought through AVNET, UK in April 2010.  4 weeks ago, I re-arranged the USB cables and since then, there's no way i can re-establish connectivity (usb-serial) with my host system (laptop + ubuntu 10.04). The USB-jtag path however works  fine and I can run my code on the silicon IP on the board  - no stdio however...

 

I have tried everything. Even connected it to an old laptop running WinXP-pro - There's no way I can see the silicon labs CP2103 device on the device manager (WinXP) or ubuntu - my lsusb output is below:

 

Bus 002 Device 035: ID 03fd:0008 Xilinx, Inc.
Bus 002 Device 032: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 002 Device 031: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 002 Device 030: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 002 Device 002: ID 8087:0020  
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04f2:b128 Chicony Electronics Co., Ltd
Bus 001 Device 002: ID 8087:0020  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

I hope some of you out there have some suggestions on what to do. Lack of silicon is affecting our IP design schedules and I am at the point (already sent an email to AVNET UK) of returning the board for a replacement. To the best of my knowledge, the board is in perfect physical condition - no human contact whatsoever/no shocks/no static hazard - just been sitting swithced-on and running in the background. Lovingly looked after...

 

Many thanks - hope to get this resolved with the your help

 

vac620

Tags (1)
0 Kudos
8 Replies
Teacher eteam00
Teacher
8,453 Views
Registered: ‎07-21-2009

Re: ML605 USB-uart connectivity lost

According to the ML605 HW User Guide, there are 3 or 4 USB connectors on the board.  The connection to the SiLabs CP2103 USB-UART bridge is connector J21.   Right next  to J21 on the board is J22, which looks very similar to J21.  J22 is the connector for configuring the FPGA and memory (via JTAG).

 

The odds are very good that all will be well with your lovingly looked after board if you disconnect from J22 and re-connect to J21.  Give that a try.

 

-- Bob Elkind

SIGNATURE:
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369

Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
0 Kudos
Visitor vac620
Visitor
8,447 Views
Registered: ‎12-07-2010

Re: ML605 USB-uart connectivity lost

Thank you Bob for the answer. I have been running succesfully the board for a few months with both J22 (USB-Jtag) and J21 (USB-uart) connected and everything's been fine - configuration and stdio.

 

I disconnected J22 and lsusb (for J21, usb-uart) reports:

 

 

Bus 002 Device 032: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 002 Device 031: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 002 Device 030: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 002 Device 002: ID 8087:0020  
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04f2:b128 Chicony Electronics Co., Ltd
Bus 001 Device 002: ID 8087:0020  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

The green LED (close to both J21 and J22 is not on)

 

Now, disconnecting J21 (usb-uart) and connecting J22 (usb-jtag), I get:

Bus 002 Device 043: ID 03fd:0008 Xilinx, Inc.
Bus 002 Device 032: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 002 Device 031: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 002 Device 030: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 002 Device 002: ID 8087:0020  
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04f2:b128 Chicony Electronics Co., Ltd
Bus 001 Device 002: ID 8087:0020  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

Green LED is on

 

Finally, with both J21 and J22 connected to the host, here's lsusb:

Bus 002 Device 046: ID 03fd:0008 Xilinx, Inc.
Bus 002 Device 032: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 002 Device 031: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 002 Device 030: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 002 Device 002: ID 8087:0020  
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04f2:b128 Chicony Electronics Co., Ltd
Bus 001 Device 002: ID 8087:0020  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Green LED is on

 

In the latter two cases, /dev/ttyUSBx does not exist.

 

Any clues here? Much appreciated your input

 

vac620

 

 

 

0 Kudos
Teacher eteam00
Teacher
8,442 Views
Registered: ‎07-21-2009

Re: ML605 USB-uart connectivity lost

The green LED you mention is no doubt the JTAG status LED, DS23, which will be lit green with connection to J22.

 

There is no status LED for the USB connection to CP2103, J21.

 

You may want to check the presence of 5V power on your cable to J21.  I'm not sure, but it's possible that the CP2103 checks this voltage as affirmation of a USB connection.  If your USB interface (or hub or cable) isn't passing the USB 5V to J21, it's plausible that the CP2103 will imitate a mama brown bear hibernating in a warm cave for the winter after a very large meal.

 

I don't have an ML605 board with which to compare or guide you.  I am more or less 'flying blind' with the downloadable Xilinx docs and nothing else.  This probably explains the (lack of) usefulness of my comments (so far).

 

At least I tried...

 

- Bob Elkind

SIGNATURE:
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369

Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
0 Kudos
Xilinx Employee
Xilinx Employee
8,419 Views
Registered: ‎01-03-2008

Re: ML605 USB-uart connectivity lost

I don't recall anyone have problems with the USB-UART device before.

 

Basic items and you likely have already done them, but  just in case.

 

1) Disconnect USB cables

2) Power cycle board

3) Power cycle Linux

4) Re-attach USB-UART cable only, works?

 

5) Try a different USB cable for the the USB-UART

 

------Have you tried typing your question into Google? If not you should before posting.
Too many results? Try adding site:www.xilinx.com
0 Kudos
Visitor vac620
Visitor
8,413 Views
Registered: ‎12-07-2010

Re: ML605 USB-uart connectivity lost

Tried that as well; Powered up the box and the FPGA board (latter left un-connected). Then, connected only the USB-uart cable (swapped for the USB-jtag cable which I know it works). No /dev/ttyUSBx - lsusb output follows:

 

Bus 002 Device 007: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 002 Device 006: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 002 Device 005: ID 1058:1112 Western Digital Technologies, Inc.
Bus 002 Device 004: ID 07ab:fcfe Freecom Technologies
Bus 002 Device 003: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 002 Device 002: ID 8087:0020  
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04f2:b128 Chicony Electronics Co., Ltd
Bus 001 Device 002: ID 8087:0020  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

used the "old" usb-uart cable to connect the usb-jtag to the box - green LED on,  here's lsusb

 

Bus 002 Device 010: ID 03fd:0008 Xilinx, Inc.
Bus 002 Device 007: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 002 Device 006: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 002 Device 005: ID 1058:1112 Western Digital Technologies, Inc.
Bus 002 Device 004: ID 07ab:fcfe Freecom Technologies
Bus 002 Device 003: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 002 Device 002: ID 8087:0020  
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04f2:b128 Chicony Electronics Co., Ltd
Bus 001 Device 002: ID 8087:0020  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

And I can connect to the MB system with xmd.....

 

running out of ideas here...

 

thanks - vac620

 

PS: Bob, thanks for your help

 

 

 

0 Kudos
Teacher eteam00
Teacher
8,401 Views
Registered: ‎07-21-2009

Re: ML605 USB-uart connectivity lost

Have you checked the +5V on the CP2103 VBUS pin (or on the J21 connector)?  If your USB host is in SUSPEND or SLEEP mode, or otherwise does not provide USB +5V power, I believe the CP2103 device will consider the USB cable disconnected.

 

This would explain the results you are (not) seeing.

 

- Bob Elkind

SIGNATURE:
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369

Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
0 Kudos
Explorer
Explorer
8,002 Views
Registered: ‎05-22-2008

Re: ML605 USB-uart connectivity lost

I have a problem some what similar to this.

 

I'm using the ML605 board. I have J21 labeled "USB Uart" on the ML605 board connected to a USB cable which is connected to my workstation.  I have the Silabs USB_UART drivers installed and "Silicon Labs CP210X USB to UART Brdige (COM3) " Shows up in the device manager unders "Ports(COM & LPT)". I've built a processor system in EDK, and am using SDK to develop an application for said processor system.  I have terraterm (a terminal app) connected to COM3. I follow the instructions to have the SDK build "Hello World" for me. I execute Hello world and "Hello World!" is printed in my terminal window. All is well. I start trying to modify hello world to to make an interactive terminal using fflush and fscanf and printf. I'm debugging/developing away(modifying, building, debug as, modifying, building, debug as) and some time later, after clicking "debug as" I get nothing on the serial port. No text output. I revert my code to just print hello world.Nothing. I save off my source code, delete the application in SDK. create a new hello world. Nothing. I open and close SDK still nothing.

 

I go into the device manager COM3 is still there. I power cycle the Board. COM3 goes away and doesn't come back. The Workstation now finds an Unknown device. It's like somehow what I'm doing in SDK causes windows to "break" the driver or at least the driver installation.

 

And the only way I've been able to recover has been to uninstall and reinstall the USB-UART driver in conjunction with power cycles and most recently, changing the physical usb port on the workstation to which the USB cable is connected. Windows won't let me manually point this unknown device at the USB_UART driver files.

 

This has happened to me twice. I can understand bad programming messing up the UART on the ML605 board, but I really have trouble understanding how the USB side interface to the workstation can possibly become corrupted by poor software on the UART side. And I absolutely don't understand, however whatever is going wrong isn't fixed by a power cycle. EDK and SDK don't even interact with the USB_UART bridge chip. SDK interacts via the Xilinx JTAG with the ML605 board. If the USB_UART driver is providing a virtual serial port, then terraterm is interacting with the driver and the driver with the physical USB cable and subsequent bridge chip.

 

I'm very confused. Any insight would be greatly appreciated.

0 Kudos
Highlighted
Visitor jenjel
Visitor
7,217 Views
Registered: ‎05-30-2012

Re: ML605 USB-uart connectivity lost

hi,

 

i want to manipulate the ML605 board with linux installed in my workstation. Now, i'm working on an applictation based on UART. Everythting's ok with my UART with a workstation windows but i want to use linux, there's a problem.

i've developped the software side of my application and installed the driver of silicon labs. i wanted to know if i keep opening the serial port dev/ttys0 or i have to change it to  ttyUSB0 !? even if i tried to change it and started my application from my workstation, i still have an error which tells me invalid argument about the ttyUSB0.

 

Thank you for your help

0 Kudos