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: 
Contributor
Contributor
1,444 Views
Registered: ‎05-03-2016

ZCU102 PMU firmware update to 2018.2 failed & Ethernet is not working/detecting

Jump to solution

Environment info:
-------------------------
1. Board                 ---  ZCU102
2. Device ID code  ---  24738093 which is Production Silicon
3. PMU firmware    ---  rdf0382-zcu102-system-controller-c-2018-2 (flash_restore)
4. BIST Flash         ---  rdf0383-zcu102-restoring-flash-c-2018-2
5. CP2108 Driver   ---  6.7.4.216 (updated)
6. SDx Vivado        ---  2018.2
7. Jumper Setup    ---  Default
8. Host Computer  ---  Windows 10 pro

 

Problem - 1: [BIST does not run]
-----------------
When restoring flash from zcu102_restore_flash
a text file is generated named hs_err_pid8380.txt
which contains -
    #
    # An unexpected error has occurred (EXCEPTION_ACCESS_VIOLATION)
    #
    Stack:
    no stack trace available, please use hs_err_<pid>.dmp instead.


When running BIST firmware from QSPI Flash, serial terminal tera term shows

    Xilinx Zynq MP First Stage Boot Loader
   Release 2018.2 Aug 3 2018 - 10:28:01
   PMU-FW is not running, certain applications may not be supported.

And hangout here without showing the test manu.
Then gone for PMU Firmware updating...

 

Problem - 2: [PMU-FW update failed]
-----------------
When go for updating PMU firmware to latest version 2018.2

zcu102_scui -> flash_restore -> tests -> ZCU102 -> bat
firmware_flash_gui_070517.bat file is edited (CP210x -> CP2108)
Vivado path is set to "vivado path": "C:\\Xilinx\\Vivado\\2018.2"
Setup is done as directed when run bit.exe of flash_restore

When click on SYS_CTRL_v1.50 RESTORE button,

Board: ZCU102
Serial Number: 881419981751-78044
Mac Address: 00:0A:35:04:9F:6D


Info: SYS_CTLR v1.50 RESTORE test started...

Info: The test will take 0 hours, 01 minutes, and 23 seconds. 0:01:23

Info: This step started at: 2018-12-14 15:59:18

Info: This step started at: 2018-12-14 15:59:18

User has confirmed: "Turn ZCU102 Board Power Off.
Set mode switch SW6 to "0" (Up,Up,Up,Up)
Connect two jumpers across J164 as shown in XTP433
Turn ZCU102 Power On"

step finished

Info: This step started at: 2018-12-14 15:59:36

!! Press ESC to enter System Controller mode.
after 2000

catch { disconnect }
1
after 2000

connect -url tcp:127.0.0.1:3121
attempting to launch hw_server

****** Xilinx hw_server v2018.2
**** Build date : Jun 14 2018-20:42:52
** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.

INFO: hw_server application started
INFO: Use Ctrl-C to exit hw_server application

 

****** Xilinx hw_server v2018.2

**** Build date : Jun 14 2018-20:42:52

** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.

 

INFO: hw_server application started

INFO: Use Ctrl-C to exit hw_server application

 


INFO: To connect to this hw_server instance use url: TCP:127.0.0.1:3121

 

tcfchan#0
targets -set -filter {name =~"*APU*"}

rst -srst

after 3000

targets -set -filter {name =~"*APU*"}

fpga -no-revision-check -file C:/zcu102_scui/flash_restore/tests/ZCU102/bitstream/boot_strap_loader.bit

initializing
0% 0MB 0.0MB/s ??:?? ETA
4% 1MB 2.1MB/s ??:?? ETA
7% 1MB 1.8MB/s ??:?? ETA
10% 2MB 1.7MB/s ??:?? ETA
14% 3MB 1.8MB/s ??:?? ETA
17% 4MB 1.7MB/s ??:?? ETA
20% 5MB 1.7MB/s 00:11 ETA
24% 6MB 1.7MB/s 00:11 ETA
27% 7MB 1.7MB/s 00:10 ETA
31% 7MB 1.7MB/s 00:10 ETA
34% 8MB 1.7MB/s 00:09 ETA
38% 9MB 1.7MB/s 00:09 ETA
41% 10MB 1.7MB/s 00:08 ETA
44% 11MB 1.7MB/s 00:08 ETA
48% 12MB 1.7MB/s 00:07 ETA
51% 13MB 1.7MB/s 00:07 ETA
55% 13MB 1.7MB/s 00:06 ETA
58% 14MB 1.7MB/s 00:06 ETA
62% 15MB 1.7MB/s 00:05 ETA
65% 16MB 1.7MB/s 00:05 ETA
69% 17MB 1.7MB/s 00:04 ETA
72% 18MB 1.7MB/s 00:04 ETA
75% 19MB 1.7MB/s 00:03 ETA
79% 20MB 1.7MB/s 00:03 ETA
82% 20MB 1.7MB/s 00:02 ETA
86% 21MB 1.7MB/s 00:02 ETA
89% 22MB 1.7MB/s 00:01 ETA
93% 23MB 1.7MB/s 00:01 ETA
96% 24MB 1.7MB/s 00:00 ETA
99% 25MB 1.7MB/s 00:00 ETA
100% 25MB 1.7MB/s 00:15

targets -set -filter {name =~"*APU*"}

source C:/zcu102_scui/flash_restore/tests/ZCU102/tcl/bsl_psu_init.tcl

psu_init

after 1000

psu_ps_pl_isolation_removal

after 1000

psu_ps_pl_reset_config

targets -set -filter {name =~"*A53*0"}

rst -processor

dow C:/zcu102_scui/flash_restore/tests/ZCU102/elf/boot_strap_loader.elf

Downloading Program -- C:/zcu102_scui/flash_restore/tests/ZCU102/elf/boot_strap_loader.elf
section, .text: 0x00000000 - 0x0001442f
section, .init: 0x00014440 - 0x00014473
section, .fini: 0x00014480 - 0x000144b3
section, .note.gnu.build-id: 0x000144b4 - 0x000144d7
section, .rodata: 0x000144d8 - 0x00014dcf
section, .rodata1: 0x00014dd0 - 0x00014dff
section, .sdata2: 0x00014e00 - 0x00014dff
section, .sbss2: 0x00014e00 - 0x00014dff
section, .data: 0x00014e00 - 0x00015fe7
section, .data1: 0x00015fe8 - 0x00015fff
section, .ctors: 0x00016000 - 0x00015fff
section, .dtors: 0x00016000 - 0x00015fff
section, .eh_frame: 0x00016000 - 0x00016003
section, .mmu_tbl0: 0x00017000 - 0x0001700f
section, .mmu_tbl1: 0x00018000 - 0x00019fff
section, .mmu_tbl2: 0x0001a000 - 0x0001dfff
section, .preinit_array: 0x0001e000 - 0x0001dfff
section, .init_array: 0x0001e000 - 0x0001e007
section, .fini_array: 0x0001e008 - 0x0001e047
section, .sdata: 0x0001e048 - 0x0001e07f
section, .sbss: 0x0001e080 - 0x0001e07f
section, .tdata: 0x0001e080 - 0x0001e07f
section, .tbss: 0x0001e080 - 0x0001e07f
section, .bss: 0x0001e080 - 0x0011e2bf
section, .heap: 0x0011e2c0 - 0x001262bf
section, .stack: 0x001262c0 - 0x0012f2bf

0% 0MB 0.0MB/s ??:?? ETA
53% 0MB 0.1MB/s ??:?? ETA
100% 0MB 0.2MB/s 00:00

Setting PC to Program Start Address 0x00000000
Successfully downloaded C:/zcu102_scui/flash_restore/tests/ZCU102/elf/boot_strap_loader.elf

con

step finished

Info: This step started at: 2018-12-14 16:00:06

Error: Could not find regular expression in step 3 of test 0 - "(.*)File\s+sent\s+successfully"

Info: This step started at: 2018-12-14 16:00:06
:R

!! Press ESC to enter System Controller mode.

User has confirmed: "Remove the jumpers and cycle ZCU102 Board Power."

step finished

Info: This step started at: 2018-12-14 16:00:19

****** Vivado v2018.2 (64-bit)
**** SW Build 2258646 on Thu Jun 14 20:03:12 MDT 2018
**** IP Build 2256618 on Thu Jun 14 22:10:49 MDT 2018
** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.

source {tcl\five_second_delay.tcl}
# after 5000
INFO: [Common 17-206] Exiting Vivado at Fri Dec 14 16:00:30 2018...
step finished

Info: This step started at: 2018-12-14 16:00:30
Writing: '\x1b'
:R
Writing: '\x08'
[('', 'VRN', '', '')]Writing: '\t'
:R
Writing: 'VRN\r\t'
'\r\n!! Press ESC to enter System Controller mode.\r\n:R\r\r\n!! Press ESC to enter System Controller mode.\r\n:R\r\x08:R\r'VRN
:P
MSP v1.50 I2C Bridge v1.50

step finished

Info: Result for step 0: Pass
Info: Result for step 1: Pass
Info: Result for step 2: Pass
Info: Result for step 3: Fail
Info: Result for step 4: Pass
Info: Result for step 5: Pass
Info: Result for step 6: Pass

Info: The test took 0 hours, 00 minutes, and 48 seconds. 0:00:48

 

Don't know why "Error: Could not find regular expression in step 3 of test 0 - "(.*)File\s+sent\s+successfully"" is generated that's why status show failed

 

Problem - 3: [Ethernet is not found]
-----------------
When running linux image from SD Card
Show this near the boot starting log


Xilinx Zynq MP First Stage Boot Loader
Release 2018.2 May 29 2018 - 10:50:24
NOTICE: ATF running on XCZU9EG/silicon v4/RTL5.1 at 0xfffea000
NOTICE: BL31: Secure code at 0x0
NOTICE: BL31: Non secure code at 0x8000000
NOTICE: BL31: v1.4(release):xilinx-v2018.1-4-g93a69a5a
NOTICE: BL31: Built : 02:21:54, May 23 2018
PMUFW: v1.0


U-Boot 2018.01 (May 29 2018 - 10:50:14 -0700) Xilinx ZynqMP ZCU102 rev1.0

I2C: ready
DRAM: 4 GiB
EL Level: EL2
Chip ID: zu9eg
MMC: sdhci@ff170000: 0 (SD)
SF: Detected n25q512a with page size 512 Bytes, erase size 128 KiB, total 128 MiB
*** Warning - bad CRC, using default environment

In: serial@ff000000
Out: serial@ff000000
Err: serial@ff000000
Model: ZynqMP ZCU102 Rev1.0
Board: Xilinx ZynqMP
Bootmode: LVL_SHFT_SD_MODE1
Net: ZYNQ GEM: ff0e0000, phyaddr c, interface rgmii-id
PHY is not detected
GEM PHY init failed
No ethernet found.
U-BOOT for zcu102


Ehternet is not detected in any linux image (Like TRD image) & can not use ethernet.
Is it the cause of PMU Firmware update failure ???
LED_0 and LED_2 of RJ45 jack is always off though blink once at powerup time.


Problem - 4: [PING test failed]
-----------------
When running bit.exe from rdf0377-zcu102-bit-c-2018-2
All tests pass without PING test showing these error


Info: PING test started...

Info: The test will take 0 hours, 00 minutes, and 36 seconds. 0:00:36

Info: This step started at: 2018-12-14 18:08:10

Info: This step started at: 2018-12-14 18:08:10

catch { disconnect }
1

connect -url tcp:127.0.0.1:3121
tcfchan#0
targets -set -filter {name =~"*APU*"}

rst -srst


fpga -state
FPGA is not configured

targets -set -filter {name =~"*APU*"}

source {C:/zcu102_bit/tests/ZCU102/../tcl/ipi_psu_init.tcl}

psu_init

after 1000

psu_ps_pl_isolation_removal

after 1000

psu_ps_pl_reset_config

catch { psu_protection }
0
targets -set -filter {name =~"*A53*0"}

rst -processor

dow {C:/zcu102_bit/tests/ZCU102/../elf/lwip_echo_server.elf}

Downloading Program -- C:/zcu102_bit/tests/ZCU102/elf/lwip_echo_server.elf
section, .text: 0x00000000 - 0x00018fcb
section, .init: 0x00019000 - 0x00019033
section, .fini: 0x00019040 - 0x00019073
section, .note.gnu.build-id: 0x00019074 - 0x00019097
section, .rodata: 0x00019098 - 0x00019daf
section, .rodata1: 0x00019db0 - 0x00019dbf
section, .sdata2: 0x00019dc0 - 0x00019dbf
section, .sbss2: 0x00019dc0 - 0x00019dbf
section, .data: 0x00019dc0 - 0x0001bc07
section, .data1: 0x0001bc08 - 0x0001bc3f
section, .ctors: 0x0001bc40 - 0x0001bc3f
section, .dtors: 0x0001bc40 - 0x0001bc3f
section, .eh_frame: 0x0001bc40 - 0x0001bc43
section, .mmu_tbl0: 0x0001c000 - 0x0001c00f
section, .mmu_tbl1: 0x0001d000 - 0x0001efff
section, .mmu_tbl2: 0x0001f000 - 0x00022fff
section, .preinit_array: 0x00023000 - 0x00022fff
section, .init_array: 0x00023000 - 0x00023007
section, .fini_array: 0x00023008 - 0x00023047
section, .sdata: 0x00023048 - 0x0002307f
section, .sbss: 0x00023080 - 0x0002307f
section, .tdata: 0x00023080 - 0x0002307f
section, .tbss: 0x00023080 - 0x0002307f
section, .bss: 0x00200000 - 0x0061013f
section, .heap: 0x00610140 - 0x0061a13f
section, .stack: 0x0061a140 - 0x0062513f

0% 0MB 0.0MB/s ??:?? ETA
68% 0MB 0.2MB/s ??:?? ETA
100% 0MB 0.2MB/s 00:00

Setting PC to Program Start Address 0x00000000
Successfully downloaded C:/zcu102_bit/tests/ZCU102/elf/lwip_echo_server.elf

targets -set -filter {name =~"*A53*0"}

con

after 2000
IIC PHY reset on ZCU102 successful

 

-----lwIP TCP echo server ------

TCP packets sent to port 6001 will be echoed back

Start PHY autonegotiation

disconnect


Info: This step started at: 2018-12-14 18:08:27

Info: This step started at: 2018-12-14 18:09:28

Error: Stopped because step 0 failed in test 6

step finished

Error: Could not find regular expression in step 0 of test 6 - "(.*)Waiting\s+for\s+PHY\s+to\s+complete\s+autonegotiation"

Error: Could not find regular expression in step 0 of test 6 - "(.*)[Aa]utonegotiation\s+complete"

Error: Could not find regular expression in step 0 of test 6 - "(.*)link\s+speed\s+for\s+phy\s+address\s+\d+\:\s+1000"

Error: Could not find regular expression in step 0 of test 6 - "(.*)DHCP\s+Timeout"

Error: Could not find regular expression in step 0 of test 6 - "(.*)Configuring\s+default\s+IP\s+of\s+192\.168\.1\.10"

Error: Could not find regular expression in step 0 of test 6 - "(.*)Board\s+IP:\s+192\.168\.1\.10"

Error: Could not find regular expression in step 0 of test 6 - "(.*)Netmask\s+:\s+255\.255\.255\.0"

Error: Could not find regular expression in step 0 of test 6 - "(.*)Gateway\s+:\s+192\.168\.1\.1"

Error: Could not find regular expression in step 0 of test 6 - "(.*)TCP\s+echo\s+server\s+started\s+@\s+port\s+7"

Info: Result for step 0: Fail
Info: Result for step 1: Pass
Info: Result for step 2: Fail
Info: The test took 0 hours, 01 minutes, and 20 seconds. 0:01:20

 

Is PMU Firmware update failure the cause of PING test failure or ethernet not founding???

 

I have tried these linked solution but failed ...

1. https://forums.xilinx.com/t5/Evaluation-Boards/ZCU102-firmware-not-updating/m-p/914160#M19897
2. https://forums.xilinx.com/t5/Evaluation-Boards/ZCU102-System-Controller-firmware-update-to-2017-4-failed/m- p/844985/highlight/true#M17544

[All CP210x is replaced with CP2108 on respective test as directed]


I have also tried for 2017.4 version for both firmware update and BIST flash but failed the same way.
I am stuck with this issue for 4/5 days.

My main focus is accessing and using Ethernet of the ZCU102 board. Other peripherals work fine.

Please correct me if I am missing anything and help me resolving this problem.

Thanks in Advance ...

 

0 Kudos
1 Solution

Accepted Solutions
Visitor efridman
Visitor
1,157 Views
Registered: ‎05-29-2018

Re: ZCU102 PMU firmware update to 2018.2 failed & Ethernet is not working/detecting

Jump to solution

Hi,

I have a firmware from May 17 2017 and Vivado 2018.2. How can i upgrade the firmware in this case?

0 Kudos
3 Replies
Xilinx Employee
Xilinx Employee
1,428 Views
Registered: ‎06-06-2018

Re: ZCU102 PMU firmware update to 2018.2 failed & Ethernet is not working/detecting

Jump to solution

Hi @ruhul,

Note: Vivado 2018.2 supports Windows 10.0 Fall Creators update (version 1709), 10.0 Version 1803 (64-bit), English/Japanese only.

Please go through this Debug Checklist of ZCU102., and confirm me once till step4 you are fine?

1. Please share the HD clear snapshot of Power Good LEDS. Please share the HD clear snapshots of board both front and back, at Power OFF and Power ON.

2. Revision Version of the board?

3. Since you have provided the IDCODE of the device, I believe board is getting detected through Vivado Hardware manager. Please confirm me the same.

4. Regarding BIST Test, which step you are facing the issue? Please share the complete log file, when you are performing Flash Restoration? Are you using JTAG or Platform usb cable?

Note: While performing BIST Test and Flash Restoration, I belive you have kept the SW6 position in correct position has mentioned in the guide/tutorial. 

5.  Can you recheck the USB UART Driver Version, you have specified CP2108 Driver   ---  6.7.4.216. Since in Windows 10, 6.7 version is not supported officially. If you have installed 6.7 version, 10.1 version will try to override the previous version drivers.

6.Please share me the Timestamp of firmware, which can be got through Tera Term. 

7.If the Time Stamp is May 17 2017 or earlier, you cant use 2018.2 to update the firmware and SCUI GUI will be unresponsive. You should use 2016.4. refer this AR#69640. If you still want to proceed with firmware update, I will give you further instructions.

Regards,

Deepak D N

------------------------------------------------------------------------------------------------------------------------------

Please reply or give kudo or mark it as an Accepted Solution.

------------------------------------------------------------------------------------------------------------------------------

 

Highlighted
Contributor
Contributor
1,397 Views
Registered: ‎05-03-2016

Re: ZCU102 PMU firmware update to 2018.2 failed & Ethernet is not working/detecting

Jump to solution

Thank you sir to reply.

According to your reply queries, information is provided below with attached snapshot in a zip file...

0. I am using windows 10 and it's language is US Engilsh (snapshot is attached)

1. 4 snapshot of the board is attached as directed in the zip file.

   -  Have carefully done default jumper and switch setting as directed in Debug Checklist of ZCU102

   - All power LEDs are good and green without Ethernet LED (DS27). This LED Lit at power start but stay off all           the  time.

2. Board Revision Version = 1.1

3. Yes, board is getting detected through Vivado Hardware manager. I got device ID using this tool.

4. Flash programming completed successfully of BIST test to QSPI but when run BIST shows this

    Xilinx Zynq MP First Stage Boot Loader
    Release 2018.2 Aug 3 2018 - 10:28:01
    PMU-FW is not running, certain applications may not be supported.

but can done all the test without any problem. And kept the SW6 position to JTAG mode when programming.

5. have attached snapshot of Device Manager tree and USB Driver. (there is a mismatch between mine and step 3)

6. Timestamp of firmware = Jul  5 2017 11:32:33

7. EEPROM data from SCUI is attached as snapshot. SCUI is unresponsive to Power but responsive to Voltage.

 

Please inform me if PMU-FM is already updated/latest, can't update again to latest or earlier version of production.

I am failing in both cases.

The big problem is Ethernet is not working. It's power LED is not green after power up. 

Is this the cause of PMU-FM issue or  Maxim Integrated Power Controllers issue not power up Ethernet PHY??

Please let me know how can I solve it...

Thanks 

0 Kudos
Visitor efridman
Visitor
1,158 Views
Registered: ‎05-29-2018

Re: ZCU102 PMU firmware update to 2018.2 failed & Ethernet is not working/detecting

Jump to solution

Hi,

I have a firmware from May 17 2017 and Vivado 2018.2. How can i upgrade the firmware in this case?

0 Kudos