Jump to content
  • 0

Can't program flash in Arty Z7-20


rsold

Question

Hi guys,

I did some project for an old Spartan 3E in ISE 14.7 some time ago, it worked good and now I had to port it to the Arty Z7-20. ISE supports this board so I completed the new design and tested it just programing througt JTAG, all fine.

The problem came when I tried to program the flash memory to boot from it. I've tried to do it with ISE tools but there weren't a lot of resources to understand how to do it. All I've tried were unsuscesful, and now I've tried to do the same process in Vivado (2018.2) but I still cant get it. I followed this guide from some other answer thread.

I've created some .bin file with FSBL and bit but it doesn't complete the Flash Flash process. There's the console output:

cmd /C program_flash -f C:\Users\beca_pl7\Downloads\VIVADO\vib\BOOT.bin -offset 0 \
-flash_type qspi_single -fsbl \
C:\Users\beca_pl7\Downloads\VIVADO\vib\vib.sdk\FSBL\Debug\FSBL.elf -cable type xilinx_tcf \
url TCP:127.0.0.1:3121 

****** Xilinx Program Flash
****** Program Flash v2018.2 (64-bit)
  **** SW Build 2258646 on Thu Jun 14 20:03:12 MDT 2018
    ** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.


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

Connected to hw_server @ TCP:127.0.0.1:3121
Available targets and devices:
Target 0 : jsn-Arty Z7-003017A5C7D4A
	Device 0: jsn-Arty Z7-003017A5C7D4A-4ba00477-0

Retrieving Flash info...

Initialization done, programming the memory
===== mrd->addr=0xF800025C, data=0x00000001 =====
BOOT_MODE REG = 0x00000001
WARNING: [Xicom 50-100] The current boot mode is QSPI.
If flash programming fails, configure device for JTAG boot mode and try again.
===== mrd->addr=0xF8007080, data=0x30800100 =====
===== mrd->addr=0xF8000B18, data=0x80000000 =====
Downloading FSBL...
Running FSBL...
Finished running FSBL.
===== mrd->addr=0xF8000110, data=0x000FA220 =====
READ: ARM_PLL_CFG (0xF8000110) = 0x000FA220
===== mrd->addr=0xF8000100, data=0x00028008 =====
READ: ARM_PLL_CTRL (0xF8000100) = 0x00028008
===== mrd->addr=0xF8000120, data=0x1F000200 =====
READ: ARM_CLK_CTRL (0xF8000120) = 0x1F000200
===== mrd->addr=0xF8000118, data=0x001452C0 =====
READ: IO_PLL_CFG (0xF8000118) = 0x001452C0
===== mrd->addr=0xF8000108, data=0x0001E008 =====
READ: IO_PLL_CTRL (0xF8000108) = 0x0001E008
Info:  Remapping 256KB of on-chip-memory RAM memory to 0xFFFC0000.
===== mrd->addr=0xF8000008, data=0x00000000 =====
===== mwr->addr=0xF8000008, data=0x0000DF0D =====
MASKWRITE: addr=0xF8000008, mask=0x0000FFFF, newData=0x0000DF0D
===== mwr->addr=0xF8000910, data=0x000001FF =====
===== mrd->addr=0xF8000004, data=0x00000000 =====
===== mwr->addr=0xF8000004, data=0x0000767B =====
MASKWRITE: addr=0xF8000004, mask=0x0000FFFF, newData=0x0000767B
Problem in running uboot
Flash programming initialization failed.

ERROR: Flash Operation Failed

 

Any help with that would be great.

Thank you.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Hey guys, I've just achieved to boot my program from flash memory.

The solution was always in those guides for Zynq processors, the problem is that there are bad organized, never explained for what boards it would work, and some of the Vivado/ISE project steps (like include IP zynq or top wrapper) were often omitted. I'm very new in all of this matters but I think the information can be explained better, just suggesting.

Thank you all, cheers!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...