Hey guys, what's up?
My last experience with an FPGA board was with a kiddies' Spartan 3E learning board (no USB PHY, no Ethernet PHY, no HDMI PHY and so on ...) from school days. So I decided to buy myself a ZCU104 as my first real life FPGA board with countless of good features (in comparison with my last experience). Also I bought a SmartLynq programmer to program the chip much faster.
I tried to find a good "Hello World" type document to learn how to use the board and the nearest one I found was "Embedded Design Tutorial" which is all about ZCU102 board but I tried to do the instructions step by step and make them compatible with my ZCU104 board. Everything was going fine until page 24 which described how to run the "Hello World" app on the Cortex-A53 processor (i.e. how to program and use the Zynq chip).
The problem is there are two USB micro connectors on the ZCU102 (one on J2 and the other on J83) so the user can use one of them for JTAG and the other for serial connection. But there is only one USB micro connector on the ZCU104 so I tried to use my SmartLynq programmer for JTAG connection on PC4 Header (J180) and use USB micro connector (J164) as my serial transceiver. After programming the chip in Xilinx SDK via the remote connection to my SmartLynq (I use USB connector to connect the programmer to my laptop, not the ethernet), I see a bunch of junks on my serial connection monitor screen.
@ €˜ A ‚a €$ @ @ )P†C @@ @`D 0€ €@ ˆ I% @ € ( @ (0
@ € ` €@D€€@ @ € @` R€@ ‚P `A€€ ` €P ¡€
€ @B@ €€ à A P À€ € € 2 @ € €
€$À D ( Œ ` @ € ˆ €PI)( €@I "€ ("€ˆ @ ¢ „ @ € ‰B 0€„D @%
@ € € @ p€ € € )€@ € @ €
€,€ € (€€ @
”"€
@€ F H @ à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 @ `D0 00 A)@F@`$ @
ˆ@ R $ @@ @ @€ €€@À0 A
`(° ` €À " œ# A’ ~ `€XH @ Å €€8 @ 0 Á !€ À@D ˆ€H@ H’
$ € ‚$ @I €€( H
(
ˆ„ @@@! ¡„" B B$@ € ( H$@ 0 ˆ ˆ"DÁ
@"€ @€ @ ‚‚ @ @ € € D € ˆ€ I I À Á @@ B A @ 0 €0 €€ Xð
B0 3 @ "I $A P ! "À !€ À€ †D ň€B@åd@€€ È f B € ˆ € $I€0@Ð( @ !Æ'4î
@ €¢ €$ € 0€ @
There is much more of this kind of characters! The funny thing is as I disconnect the SmartLynq from my computer or from the board, the serial monitor stops showing junk characters on the screen. So I think it looks like the serial monitor is reading the SmartLynq datas not the Hello World app running on the chip (i.e. Cortex-A53)!
I asked this question in Xilinx forum but nobody answered that so I hope this community could help me just like before.
P.S. I set all SW6 switches up.
P.S. My laptop is MacBook Pro so I installed Win10 on Parallels desktop, however I tried to monitor the serial port via Raspbian with no luck.
Best regards,
Mohammad