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!

Showing results for 
Search instead for 
Did you mean: 
Observer gosha-z
Registered: ‎09-07-2018

SDK 2018.3, program_flash fails


  Dealing with custom board, containing ZU3CG, 2GB RAM (two 512Mx16 DDR4 Micron chips), Micron NAND memory. Boot mode can be switched between NAND and JTAG. Mode doesn't really matters, program_flash always fail with the following screen

D:\ULTRASCALE+\LINUX\dd2008\2>program_flash -f boot.bin -fsbl fsbl.elf -flash_type nand-x8 -target_id 3

****** Xilinx Program Flash
****** Program Flash v2018.3 (64-bit)
  **** SW Build 2405991 on Thu Dec  6 23:38:27 MST 2018
    ** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.

WARNING: Failed to connect to hw_server at TCP:localhost:3121
Attempting to launch hw_server at TCP:localhost:3121

Connected to hw_server @ TCP:localhost:3121
Available targets and devices:
Target 0 : jsn-JTAG-HS2-210249A14DD6
        Device 0: jsn-JTAG-HS2-210249A14DD6-14710093-0
        Device 1: jsn-JTAG-HS2-210249A14DD6-5ba00477-0

Retrieving Flash info...

Initialization done, programming the memory
===== mrd->addr=0xFF5E0204, data=0x00000444 =====
BOOT_MODE REG = 0x0444
WARNING: [Xicom 50-100] The current boot mode is NAND.
If flash programming fails, configure device for JTAG boot mode and try again.
Downloading FSBL...
Running FSBL...
Finished running FSBL.

U-Boot 2018.01-00073-g63efa8c-dirty (Oct 04 2018 - 08:28:44 -0600)

Board: Xilinx ZynqMP
DRAM:  16 MiB
EL Level:       EL3
"Synchronous Abort" handler, esr 0x96000210
ELR:     11cdc
LR:      2695c
x0 : 00000000ff5e0128 x1 : 0000000000000301
x2 : 0000000000fdac08 x3 : 0000000000fb1cc4
x4 : 00000000007a03b0 x5 : fffffffffffffff8
x6 : 0000000000000000 x7 : 00000000007a03c0
x8 : 00000000000000f4 x9 : 000000000000000c
x10: 000000000079fc8c x11: 0000000000fcf0a0
x12: 00000000000000fc x13: 00000000000000f4
x14: 000000000079fcec x15: 0000000000fcf0a0
x16: 0000000000000000 x17: 0000000000000000
x18: 000000000079fe10 x19: 0000000000fcf930
x20: 0000000000fcf8b0 x21: 0000000000fa0000
x22: 00000000ff5e0220 x23: 0000000000000004
x24: 00000000fffda138 x25: 0000000000000000
x26: 0000000000000000 x27: 0000000000000000
x28: 0000000000000000 x29: 000000000079fdc0

Resetting CPU ...

### ERROR ### Please RESET the board ###

I understand, why U-Boot (AFAIU, special version exclusively for flash programming) fails, but have no idea how to resolve this issue. Any advice will be greatly appreciated. fsbl.elf built by SDK from HW design

0 Kudos
1 Reply
Xilinx Employee
Xilinx Employee
Registered: ‎09-01-2014

Re: SDK 2018.3, program_flash fails

do you enable DDR ECC? if so, try to disable DDR ECC.
and also check the checklist
0 Kudos