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: 
8,875 Views
Registered: ‎10-31-2013

SDK 2013.2 Program QSPI : Verify operation failed

Currently, I`m trying to do the booting from QSPI with the ZYNQ XC7Z030 board. I have done as following:

1.      Create FSBL project using Xilinx SDK 2013.

I haven’t done any modification to FSBL file. Actually, I`m wondering if I need to do any modification on FSBL.elf file.

2.      Create Boot Image: SDK -> Xilinx Tools -> Create Zynq Boot Image

a.      I added FSBL.elf, bitstream file, and application elf file as the partition of image file, respectively.

3.      Program QSPI flash

a.      Set the MIO pin as follow MIO [2] MIO [3] MIO[4] MIO[5] MIO[6] : 00000

b.      SDK -> Xilinx Tools -> Program Flash

c.      I select the .mcs file created in step 2 and set the offset as 0x00000000.

The report shows that it programmed the flash successfully, but however the verification operation is failed. I attach the report of flash programming below. Anybody knows why the verification is failed? Is it related to the MIO pin configuration that doesn’t allow the reading process from QSPI during the verification?

 

By assuming the flash programming run successfully, then I try the booting from QSPI flash. I set the MIO pin as follow MIO [2] MIO [3] MIO[4] MIO[5] MIO[6] : 00010. Then, I press reset button on the board. The FPGA INIT LED is lighted, but the FPGA DONE LED is still off. I assume the FPGA is not perfectly configured. Based on the FSBL flow chart that is shown on page 30 of UG-821 document, I guess the error happens in the process of “get the partition and validate the header” or the softreset (fallback) process because the FPGA initialization is already done, but not yet the configuration. Does anybody have any suggestion regarding my problem?

 

Thanks,

sergio

0 Kudos
8 Replies
Scholar sampatd
Scholar
8,855 Views
Registered: ‎09-05-2011

Re: SDK 2013.2 Program QSPI : Verify operation failed

Hi, 

 

You are following the correct procedure. 

 

Can you test this on SDK 2013.3 and see if this issue still persists?

 

Regards,

0 Kudos
8,828 Views
Registered: ‎10-31-2013

Re: SDK 2013.2 Program QSPI : Verify operation failed

Hi,

 

thanks for your kind reply.

 

I tried on SDK 2013.3, but the issue still persists with the same results.

 

Do you have other considerations regarding this problem?

 

Regards,

0 Kudos
Observer glester
Observer
8,511 Views
Registered: ‎03-04-2009

Re: SDK 2013.2 Program QSPI : Verify operation failed

We have the same problem, with the identical text output when programming the Flash from the SDK.

 

SDK version = 2013.4

Flash = N25Q00AA

Zynq = XC7Z045-1FFG900I

 

Verify fails almost as soon as it starts.

 

But here's the kicker -- the SPI bus is inactive throughout almost the entire programming process.  There are a few clock toggles at the beginning, then everything is quiet.  Yet the progress bar continues and the console output indicates that Flash erase and programming have all completed successfully.  Then the verify step fails as you would expect.  Apart from that there is absolutely no indication of any problem.

 

How is it possible for flash programming to proceed when there is no SPI clock activity?

 

Any help that anyone can give would be most appreciated.  Delays getting this Zynq running have really put us in a bind, and our customer is beating down the door!

 

Thanks,

Gerry

0 Kudos
Highlighted
Visitor vc-steinel
Visitor
8,433 Views
Registered: ‎04-04-2014

Re: SDK 2013.2 Program QSPI : Verify operation failed

Hello,

 

since yesterday we have the same issue with our zynq board

 

same procedure working hours before does not work anymore ...

 

QSPI chip is SPANSION FL512

 

log file is attached

 

any ideas ?

 

0 Kudos
Visitor vc-steinel
Visitor
8,382 Views
Registered: ‎04-04-2014

Re: SDK 2013.2 Program QSPI : Verify operation failed

Hello,

 

FL512 works now

 

the QSPI controller config register in u-boot driver had wrong entries for our PCB

 

Michael

0 Kudos
Adventurer
Adventurer
6,479 Views
Registered: ‎12-25-2012

Program QSPI : Verify operation failed

In my board , I have the same problem "Program QSPI : Verify operation failed"?, Do you have other suggestion about this problem?

##########################################################################################################

cmd /C zynq_flash -f T:\STEINEL\BOOT.mcs -offset 0 -flash_type qspi_single -verify
Info:Connecting to hw_server...
Info:Attempting to launch hw_server...
Info:

****** Xilinx hw_server v2013.4

  **** Build date : Dec  9 2013-17:47:52

    ** Copyright 1986-1999, 2001-2013 Xilinx, Inc. All Rights Reserved.



INFO: hw_server application started

INFO: Use Ctrl-C to exit hw_server application



Info:Connection established.
Info:Opened cable successfully
Info:Obtained cable lock
Info:idcode is 0x4ba00477
Info:idcode is 0x13722093
Info:Found 2 devices

JTAG chain configuration
--------------------------------------------------
Device   ID Code        IR Length    Part Name
 1       4ba00477           4        Cortex-A9
 2       13722093           6        XC7Z010

--------------------------------------------------
Enabling extended memory access checks for Zynq.
Writes to reserved memory are not permitted and reads return 0.
To disable this feature, run "debugconfig -memory_access_check disable".

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

CortexA9 Processor Configuration
-------------------------------------
Version.............................0x00000003
User ID.............................0x00000000
No of PC Breakpoints................6
No of Addr/Data Watchpoints.........4
Info:Firmware image : C:\Xilinx\SDK\2013.4\data\cse\cseflash\zynq7000\qspi_single.bin.
Downloading Program -- C:\Xilinx\SDK\2013.4\data\cse\cseflash\zynq7000\qspi_single.bin
    section, .text: 0xfffc4800-0xfffced9f
    section, .rodata: 0xfffceda0-0xfffd1c8d
    section, .hash: 0xfffd1c90-0xfffd1cbb
    section, .ARM.extab: 0xfffd1cbc-0xfffd1cd3
    section, .data: 0xfffd1cd4-0xfffd23d0
    section, .got.plt: 0xfffd23d4-0xfffd23df
    section, .u_boot_list: 0xfffd23e0-0xfffd25e7
    section, .rel.dyn: 0xfffd25e8-0xfffd41b7
    section, .bss: 0xfffd25e8-0xfffd36fb
Setting PC with Program Start Address 0xfffc4800
0% Info:Performing Erase operation.

100% Info:Erase operation completed successfully.
100%


JTAG chain configuration
--------------------------------------------------
Device   ID Code        IR Length    Part Name
 1       4ba00477           4        Cortex-A9
 2       13722093           6        XC7Z010

--------------------------------------------------
Enabling extended memory access checks for Zynq.
Writes to reserved memory are not permitted and reads return 0.
To disable this feature, run "debugconfig -memory_access_check disable".

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

CortexA9 Processor Configuration
-------------------------------------
Version.............................0x00000003
User ID.............................0x00000000
No of PC Breakpoints................6
No of Addr/Data Watchpoints.........4
Info:Firmware image : C:\Xilinx\SDK\2013.4\data\cse\cseflash\zynq7000\qspi_single.bin.
Downloading Program -- C:\Xilinx\SDK\2013.4\data\cse\cseflash\zynq7000\qspi_single.bin
    section, .text: 0xfffc4800-0xfffced9f
    section, .rodata: 0xfffceda0-0xfffd1c8d
    section, .hash: 0xfffd1c90-0xfffd1cbb
    section, .ARM.extab: 0xfffd1cbc-0xfffd1cd3
    section, .data: 0xfffd1cd4-0xfffd23d0
    section, .got.plt: 0xfffd23d4-0xfffd23df
    section, .u_boot_list: 0xfffd23e0-0xfffd25e7
    section, .rel.dyn: 0xfffd25e8-0xfffd41b7
    section, .bss: 0xfffd25e8-0xfffd36fb
Setting PC with Program Start Address 0xfffc4800
0% Info:Performing Program operation.
.............5% .............10% .............15% .............21% .............
26% .............31% .............36% .............42% .............47% .............
52% .............57% .............63% .............68% .............73% .............
78% .............84% .............89% .............94% ......100% 100%

Info:Programmed flash successfully

JTAG chain configuration
--------------------------------------------------
Device   ID Code        IR Length    Part Name
 1       4ba00477           4        Cortex-A9
 2       13722093           6        XC7Z010

--------------------------------------------------
Enabling extended memory access checks for Zynq.
Writes to reserved memory are not permitted and reads return 0.
To disable this feature, run "debugconfig -memory_access_check disable".

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

CortexA9 Processor Configuration
-------------------------------------
Version.............................0x00000003
User ID.............................0x00000000
No of PC Breakpoints................6
No of Addr/Data Watchpoints.........4
Info:Firmware image : C:\Xilinx\SDK\2013.4\data\cse\cseflash\zynq7000\qspi_single.bin.
Downloading Program -- C:\Xilinx\SDK\2013.4\data\cse\cseflash\zynq7000\qspi_single.bin
    section, .text: 0xfffc4800-0xfffced9f
    section, .rodata: 0xfffceda0-0xfffd1c8d
    section, .hash: 0xfffd1c90-0xfffd1cbb
    section, .ARM.extab: 0xfffd1cbc-0xfffd1cd3
    section, .data: 0xfffd1cd4-0xfffd23d0
    section, .got.plt: 0xfffd23d4-0xfffd23df
    section, .u_boot_list: 0xfffd23e0-0xfffd25e7
    section, .rel.dyn: 0xfffd25e8-0xfffd41b7
    section, .bss: 0xfffd25e8-0xfffd36fb
Setting PC with Program Start Address 0xfffc4800
0% Info:Performing Verify operation. Please wait.
.......Info:Verify operation failed.
100%

Info:Closed cable successfully
#################################################################################

0 Kudos
Observer trilok_4
Observer
2,664 Views
Registered: ‎05-30-2016

Re: SDK 2013.2 Program QSPI : Verify operation failed

Hi @glester@sergionicosta@wandtdk@vc-steinel@sampatd I have same problem. Flash verification and blank check is unsuccessful.  Any solution?

 

I'm using QSPI Parallel Flash

 

Part No : N25Q128A

Tool       : SDK 2016.3/Vivado 2016.3

 

 Thanks/Regards

 

  Trilok

 

0 Kudos
Visitor pilotai
Visitor
1,905 Views
Registered: ‎12-01-2017

Re: SDK 2013.2 Program QSPI : Verify operation failed

I'm having this same problem on ZCU102 using the .mcs and .elf from RDF0383.  Erase and program steps complete successfully, but verify fails immediately.  Has anyone figured anything out on this?

0 Kudos