Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Accessing usb uart from linux

Status
Not open for further replies.

gary36

Full Member level 4
Joined
Mar 31, 2018
Messages
208
Helped
0
Reputation
0
Reaction score
0
Trophy points
16
Activity points
1,806
Hi
I have a custom made legacy power pc board which has a dedicated serial (DB9) and UART-USB bridge from FTDI. I am able to send data from uboot prompt in both to DB9 and UART-USB(accessed via VCOM in PC). When I run an application (linux), I can see data through DB9 (by sending data stream to tty0). However I am unclear about sending the same data stream over UART-USB. I guessed as tty1, but the system crashes. Any clues?
 

Hi,

I could not locate ttyUSB1 in the dev directory. Perhaps the preloaded os does not contain this driver.
 

Did you try lusb to list all detected USB devices on your computer ? In addition, are you aware that each USB/Serial adaptor has its own device driver, and the most commonly used are not installed by default at some Linux distros ?
 

Hi andre
I did try and could not locate the driver. This preloaded linux does not have this driver in place. Now, what is the workaround? FTDI driver has been installed in my host PC.
 

Show us what 'lsusb tells you.

If you can see the UART in the list, type this:

"lsusb -v -s xxx:yyy" where xxx:yyy is the Bus number and the Device number (not the hex ID numbers) then show us the result.

"lsusb" means 'LiSt USB devices", the '-v' means be verbose and '-s' list the descriptor and information table for the named device. As far as I know, all FTDI drivers have been built into the Linux kernel for several years now so you probably don't need any additional drivers.

Brian.
 

hi betwixt

Surely I will try the option you suggested. In the meantime, I would like to inform that originally this board did not have an USB interface (it had only UART). FTDI chip was added later as a piggy back to interface a PC due to legacy issues.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top