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: 
Highlighted
Visitor wazzanan
Visitor
1,523 Views
Registered: ‎12-29-2017

how to connect Zedboard with raspberry pi 3 using uart

Jump to solution

Hi,

I am traying to connect my Zedboard  with raspberry pi 3 using uart

I use for it uart cable that I use to connect with my pc

but it does not work.

In Pc I connect the cable to usb at my pc and I use ttyACM0 to check the output using minicom and it works

but in  raspberry pi 3  I connect the cable to usb at raspberry pi and I use ttyAMA0 but it does not work

do u hav any suggestion ??

 

thank u very much

 

0 Kudos
1 Solution

Accepted Solutions
Visitor wazzanan
Visitor
2,204 Views
Registered: ‎12-29-2017

Re: how to connect Zedboard with raspberry pi 3 using uart

Jump to solution

@hbucher Thanks I got it but there is sth so funny maybe u could explain to me that

I change the file /boot/cmdline.txt from console= serial0 to console =/dev/ttyUSB0

and I restarted rpi

after I excute "dmesg"

I got sth else not what I posted in my previous post and it say that

[ 556.205238] usb 1-1.5: Product: Cypress-USB2UART-Ver1.0G
[ 556.205251] usb 1-1.5: Manufacturer: 2012 Cypress Semiconductor
[ 556.205263] usb 1-1.5: SerialNumber: 86500BD72E26
[ 556.210264] cdc_acm 1-1.5:1.0: ttyACM0: USB ACM device
[ 896.128703] usb 1-1.5: USB disconnect, device number 11
[ 896.128992] cdc_acm 1-1.5:1.0: failed to set dtr/rts

 

I wrote

minicom -b 115200 -D /dev/ttyACM0

It works perfect

any explain !!!!!!!!!!!

View solution in original post

0 Kudos
5 Replies
Scholar hbucher
Scholar
1,518 Views
Registered: ‎03-22-2016

Re: how to connect Zedboard with raspberry pi 3 using uart

Jump to solution

@wazzanan  

Boot Raspberry Pi

Disconnect cable from Pi

Connect it back

run "dmesg"  on command line

Tell me what are the last lines

vitorian.com --- We do this for fun. Always give kudos. Accept as solution if your question was answered.
I will not answer to personal messages - use the forums instead.
0 Kudos
Visitor wazzanan
Visitor
1,478 Views
Registered: ‎12-29-2017

Re: how to connect Zedboard with raspberry pi 3 using uart

Jump to solution

@hbucher Hi I think there is sth wrong I change the setting from rom ttyAMA0 to ttyUSB0

I hav not got any message on the minicom but when I check the led in Zedboard

it seems that It works very well 

when when I write the instruction like u said I got error 

I post what I got

do u hav any sugesstion about what could i do ??


[ 154.840094] usb 1-1.5: USB disconnect, device number 6
[ 307.929693] usb 1-1.5: new full-speed USB device number 7 using dwc_otg
[ 308.045039] usb 1-1.5: New USB device found, idVendor=04b4, idProduct=0008
[ 308.045054] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=4
[ 308.045061] usb 1-1.5: Product: Cypress-USB2UART-Ver1.0G
[ 308.045068] usb 1-1.5: Manufacturer: 2012 Cypress Semiconductor
[ 308.045074] usb 1-1.5: SerialNumber: 86500BD72E26
[ 308.049442] cdc_acm 1-1.5:1.0: ttyACM0: USB ACM device
[ 315.373389] usb 1-1.5: USB disconnect, device number 7
[ 315.373604] cdc_acm 1-1.5:1.0: failed to set dtr/rts
[ 323.549686] usb 1-1.5: new high-speed USB device number 8 using dwc_otg
[ 323.654493] usb 1-1.5: New USB device found, idVendor=0403, idProduct=6014
[ 323.654507] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 323.654514] usb 1-1.5: Product: Digilent USB Device
[ 323.654520] usb 1-1.5: Manufacturer: Digilent
[ 323.654526] usb 1-1.5: SerialNumber: 210248A49BD6
[ 324.726673] usbcore: registered new interface driver usbserial
[ 324.726729] usbcore: registered new interface driver usbserial_generic
[ 324.726777] usbserial: USB Serial support registered for generic
[ 324.734584] usbcore: registered new interface driver ftdi_sio
[ 324.734655] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 324.734917] ftdi_sio 1-1.5:1.0: FTDI USB Serial Device converter detected
[ 324.735045] usb 1-1.5: Detected FT232H
[ 324.736601] usb 1-1.5: FTDI USB Serial Device converter now attached to ttyUSB0
[ 513.800562] usb 1-1.5: USB disconnect, device number 8
[ 513.800901] ftdi_sio ttyUSB0: error from flowcontrol urb
[ 513.801248] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[ 513.801302] ftdi_sio 1-1.5:1.0: device disconnected
[ 517.109726] usb 1-1.5: new high-speed USB device number 9 using dwc_otg
[ 517.214754] usb 1-1.5: New USB device found, idVendor=0403, idProduct=6014
[ 517.214777] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 517.214790] usb 1-1.5: Product: Digilent USB Device
[ 517.214804] usb 1-1.5: Manufacturer: Digilent
[ 517.214816] usb 1-1.5: SerialNumber: 210248A49BD6
[ 517.218024] ftdi_sio 1-1.5:1.0: FTDI USB Serial Device converter detected
[ 517.218280] usb 1-1.5: Detected FT232H
[ 517.218864] usb 1-1.5: FTDI USB Serial Device converter now attached to ttyUSB0
[ 533.003225] usb 1-1.5: USB disconnect, device number 9
[ 533.003559] ftdi_sio ttyUSB0: error from flowcontrol urb
[ 533.004476] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[ 533.004535] ftdi_sio 1-1.5:1.0: device disconnected
[ 555.509729] usb 1-1.5: new high-speed USB device number 10 using dwc_otg
[ 555.614760] usb 1-1.5: New USB device found, idVendor=0403, idProduct=6014
[ 555.614785] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 555.614798] usb 1-1.5: Product: Digilent USB Device
[ 555.614811] usb 1-1.5: Manufacturer: Digilent
[ 555.614823] usb 1-1.5: SerialNumber: 210248A49BD6
[ 555.617966] ftdi_sio 1-1.5:1.0: FTDI USB Serial Device converter detected
[ 555.618238] usb 1-1.5: Detected FT232H
[ 555.618774] usb 1-1.5: FTDI USB Serial Device converter now attached to ttyUSB0
[ 1053.264739] usb 1-1.5: USB disconnect, device number 10
[ 1053.265077] ftdi_sio ttyUSB0: error from flowcontrol urb
[ 1053.265458] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[ 1053.265516] ftdi_sio 1-1.5:1.0: device disconnected
[ 1449.481215] IPv6: ADDRCONF(NETDEV_CHANGE): enxb827eb287fcf: link becomes ready
[ 1449.482071] smsc95xx 1-1.1:1.0 enxb827eb287fcf: link up, 100Mbps, full-duplex, lpa 0x41E1
[ 1503.353058] usb 1-1.4: new high-speed USB device number 11 using dwc_otg
[ 1503.458062] usb 1-1.4: New USB device found, idVendor=0403, idProduct=6014
[ 1503.458077] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1503.458084] usb 1-1.4: Product: Digilent USB Device
[ 1503.458090] usb 1-1.4: Manufacturer: Digilent
[ 1503.458097] usb 1-1.4: SerialNumber: 210248A49BD6
[ 1503.461697] ftdi_sio 1-1.4:1.0: FTDI USB Serial Device converter detected
[ 1503.461803] usb 1-1.4: Detected FT232H
[ 1503.462094] usb 1-1.4: FTDI USB Serial Device converter now attached to ttyUSB0

0 Kudos
Scholar hbucher
Scholar
1,476 Views
Registered: ‎03-22-2016

Re: how to connect Zedboard with raspberry pi 3 using uart

Jump to solution

@wazzanan So it is ttyUSB0

You can give persistent names for specific devices using udev

http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/

 

Be sure you are using the right speed with your device. It is usually 115200 but minicom I think defaults to 9600. I use like

 

$ minicom -b 115200 -D /dev/ttyUSB0

 

 

 

vitorian.com --- We do this for fun. Always give kudos. Accept as solution if your question was answered.
I will not answer to personal messages - use the forums instead.
0 Kudos
Newbie wazzan
Newbie
1,469 Views
Registered: ‎01-02-2018

Re: how to connect Zedboard with raspberry pi 3 using uart

Jump to solution

@hbucher Thanks I got it but there is sth so funny maybe u could explain to me that

I change the file /boot/cmdline.txt from console= serial0 to console =/dev/ttyUSB0

and I restarted rpi

after I excute "dmesg"

I got sth else not what I posted in my previous post and it say that

......

I wrote

minicom -b 115200 -D /dev/ttyACM0

It works perfect

any explainations !!!!!!!!!!!

0 Kudos
Visitor wazzanan
Visitor
2,205 Views
Registered: ‎12-29-2017

Re: how to connect Zedboard with raspberry pi 3 using uart

Jump to solution

@hbucher Thanks I got it but there is sth so funny maybe u could explain to me that

I change the file /boot/cmdline.txt from console= serial0 to console =/dev/ttyUSB0

and I restarted rpi

after I excute "dmesg"

I got sth else not what I posted in my previous post and it say that

[ 556.205238] usb 1-1.5: Product: Cypress-USB2UART-Ver1.0G
[ 556.205251] usb 1-1.5: Manufacturer: 2012 Cypress Semiconductor
[ 556.205263] usb 1-1.5: SerialNumber: 86500BD72E26
[ 556.210264] cdc_acm 1-1.5:1.0: ttyACM0: USB ACM device
[ 896.128703] usb 1-1.5: USB disconnect, device number 11
[ 896.128992] cdc_acm 1-1.5:1.0: failed to set dtr/rts

 

I wrote

minicom -b 115200 -D /dev/ttyACM0

It works perfect

any explain !!!!!!!!!!!

View solution in original post

0 Kudos