Items with no label
3338 討論

How to access the UART on Euclid?

CLiu36
新貢獻者 I
4,208 檢視

I tried `find /dev/tty*`, which doesn't seems to show any port looks like uart.

Any suggestions?

1 解決方案
MPall2
新貢獻者 I
2,271 檢視

Here's what worked.

Used the following items.

https://www.sparkfun.com/products/10031 SparkFun USB MicroB Plug Breakout - BOB-10031 - SparkFun Electronics

https://www.adafruit.com/product/954 https://www.adafruit.com/product/954

TX out of USB UART (Green) -> D-

RX into USB UART (White)-> D+

GND of USB UART (Black)-> GND

Don't connect Vcc.

Terminal settings -115200/8/N/1

在原始文章中檢視解決方案

8 回應
idata
員工
2,271 檢視

Hi Chang1,

 

 

Thank you for getting in contact, let's see if we can help you.

 

Which port of the device are you using to connect to UART? Could you please show us a picture of your UART connection?

 

 

Regards,

 

Pablo M.
Amit_M_Intel
員工
2,271 檢視

Hi,

It should be /dev/ttyS0.

can you try?

thanks,

Amit

CLiu36
新貢獻者 I
2,271 檢視

Hi Pablo and Amit,

Thank you very much for your reply.

As shown in the image, I am trying to access the UART port at the bottom of Euclid, which is a micro USB port labeled as 'UART'.

I assume if I cut the usb cable, I can directly access the UART.

Before testing the /dev/ttyS0, I need to confirm the pin-out of the UART, and the voltage level it is operating (5V? 3.3V? 1.8V?). do not want to fry it.

I couldn't find any information on this.

Thank you very much for your time.

Kind Regards,

Chang

idata
員工
2,271 檢視

Hi Chang,

 

 

Some other users have also asked for this information, so we are already looking into it. We are waiting for the details from our HW engineer, so we would really appreciate your patience in the meantime.

 

 

Regards,

 

Pablo M.
Bo_J_Intel
員工
2,271 檢視

You can use a UART-USB cable to access this debug UART port. It is for kernel log output by default.The pin out definition is {VCC, TX, RX, NC, GND}, VCC is 3.3V.

We bought the cable from the following link. Pls pay attention that the default pin out is not correct (TX and RX are inversed). So remember to tell the vendor about the correct pin out you need.

https://world.taobao.com/item/6302450202.htm?fromSite=main&_u=e27u36ua0bce https://world.taobao.com/item/6302450202.htm?fromSite=main&_u=e27u36ua0bce

聪马1
初學者
2,271 檢視

突然发现淘宝

idata
員工
2,271 檢視

These are the connector types used in Euclid:

- UART connector info: Manufacturer: JAE, Part number: DX4R005HJ5

 

- Power adapter plate interface info: Pogo pins, Pin outs: PAD1---+VBATTERY, PAD2---BATT_ID, PAD3---BATT_GND

 

And this is the pinout for Euclid's power adapter:

/servlet/JiveServlet/showImage/2-482259-379133/Euclid Power Adapter PinOut.png

Pablo M.

MPall2
新貢獻者 I
2,272 檢視

Here's what worked.

Used the following items.

https://www.sparkfun.com/products/10031 SparkFun USB MicroB Plug Breakout - BOB-10031 - SparkFun Electronics

https://www.adafruit.com/product/954 https://www.adafruit.com/product/954

TX out of USB UART (Green) -> D-

RX into USB UART (White)-> D+

GND of USB UART (Black)-> GND

Don't connect Vcc.

Terminal settings -115200/8/N/1

回覆