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
Observer agary
Observer
1,037 Views
Registered: ‎05-17-2018

How to make "Embedded Design Tutorial" article compatible with ZCU104?

Jump to solution

Hi all,

 

I recently bought a ZCU104 board and I want to get started with Zynq UltraScale+ MPSoC family. The nearest "Hello World" document I found, was "UG1209 - Embedded Design Tutorial". Everything went fine till Page 24 which I need two micro-USB ports on the board (one for JTAG and one for Serial Transfer) but ZCU104 only has one micro-USB port.

 

I have a SmartLynq programmer, so I set the Xilinx SDK to program the board via SmartLynq and use the micro-USB as a serial port. The result is a bunch of non-stoppable junks from the serial output:

 

@€˜        A       ‚a     €$ @     @)P†C@@@`D0€€@ ˆI%@€(@(0
@€`€@D€€@ @ € @`   R€@ ‚P`A€€`€P¡€
                                                            €@B@€€àAP À€ €€2@ €€
€$À D(Œ`@€ˆ        €PI)(€@I "€("€ˆ@¢ „@€       ‰B0€„D@%
@€€ @p€€€)€@€ @€
                              €,€€ (€€@
                                              ”"€
                                                   @€FH @àD` H€@
 
€"€h@E"!€‰€`&@€@€A@B€¤€`b$EA@€@  @B‚€Ã(„$€R†2
€c€$(”ˆ„ €Â@`PĨ% €€ˆ"€€€`„€@€º` B€À€( €0€€! ‚€€(€$ €  0
(€"€H€‚f€  ee 
‚"° €!˜H€H€ €°`0@"€"ÄÈ   (€" B 
                                               9(
                                                  €
                                                   ¡1!€€!D€0@‚@‚@  @ @1ˆ@`ÀF B€B€
@€„€"€@ˆ+@@€ˆ"€"€Àˆ  „ €€@ˆ €""„b $B„#€B€@" @  ˆ& @€
                                                                                        €
À  @  @€D "@@ 
                            Š Äb@"D@`D000A)@F@`$ @
                                                                  ˆ@R $@@ @ @€€€@À0A
 `(°`€À"œ#   A’ ~`€XH @Å  €€8@0Á  !€À@Dˆ€H@ H’ 
$€ ‚$@I€€(H
                         ( 
                            ˆ„  @@@!¡„"BB$@€(H$@      0   ˆˆ"DÁ 
@"€ @€@ ‚‚@@€ €D€ˆ€I       I ÀÁ@@      B A@0    €0€€ Xð
B03@"I$AP! "À!€À€†Dň€B@åd@€€È  fB € ˆ€$I€0@Ð(@!Æ'4î
                                                                @€¢€$€ 0€@

Any idea to solve this problem? Also is there any similar documents for ZCU104?

 

Thanks.

 

P.S. I set the SW6 to On, On, On, On.

P.S. I removed a lot of serial output results to make my post shorter.

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
1,310 Views
Registered: ‎02-09-2017

Re: How to make "Embedded Design Tutorial" article compatible with ZCU104?

Jump to solution

Hi @agary,

 

I haven't used the ZCU104 myself yet, but after you question I was looking at the board's User Guide an Software Install and Board Setup, and it looks like the one single USB will do both JTAG and UART communication.

 

Looking at the document ZCU104 Board User Guide - UG1267, pg. 51, I see the following information:

 

UART_USB_ZCU104.JPG

 

And looking at the document ZCU104 Board Interface Test - XTP498 and ZCU104 Software Install and Board Setup - XTP504 I see a script that must be run to correctly map the three UART ports to your PC. I think that's what you might have to do to get to run the example design you are trying too.

 

ZCU104 - Config1.JPG

ZCU104 - Config2.JPG

Andre Guerrero

Product Applications Engineer

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
3 Replies
Observer agary
Observer
1,009 Views
Registered: ‎05-17-2018

Re: How to make "Embedded Design Tutorial" article compatible with ZCU104?

Jump to solution

I think maybe it's better to change my question:

 

Is there a way to use micro-USB connector (i.e. the USB/JTAG UART at J164) as a serial transceiver, and the JTAG connector (i.e. the PC4 Header at J180) as boot-loader using SmartLynq?

 

P.S. @Xilinx Support Team: PLEASE provide ZCU104 users with new tutorial docs! Right now almost all tutorials are about ZCU102!

0 Kudos
Moderator
Moderator
1,311 Views
Registered: ‎02-09-2017

Re: How to make "Embedded Design Tutorial" article compatible with ZCU104?

Jump to solution

Hi @agary,

 

I haven't used the ZCU104 myself yet, but after you question I was looking at the board's User Guide an Software Install and Board Setup, and it looks like the one single USB will do both JTAG and UART communication.

 

Looking at the document ZCU104 Board User Guide - UG1267, pg. 51, I see the following information:

 

UART_USB_ZCU104.JPG

 

And looking at the document ZCU104 Board Interface Test - XTP498 and ZCU104 Software Install and Board Setup - XTP504 I see a script that must be run to correctly map the three UART ports to your PC. I think that's what you might have to do to get to run the example design you are trying too.

 

ZCU104 - Config1.JPG

ZCU104 - Config2.JPG

Andre Guerrero

Product Applications Engineer

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Observer agary
Observer
950 Views
Registered: ‎05-17-2018

Re: How to make "Embedded Design Tutorial" article compatible with ZCU104?

Jump to solution

Dear @anunesgu,

 

Thanks a lot for the reply. The answer is exactly as you mentioned. I also provided an answer here.

 

P.S. I think it would be a great idea to provide a simple "Hello World" doc for each evaluation board.