[zedboard学习笔记1]关于zedboard固化程序到flash问题解决方案

Posted 高山流水123a s d

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[zedboard学习笔记1]关于zedboard固化程序到flash问题解决方案相关的知识,希望对你有一定的参考价值。

问题现象:

cmd /C program_flash -f
C:\\Users\\Administrator\\Desktop\\zedboard\\PS_PL_LED_SW\\LED_SW\\LED_SW.sdk\\SDK\\SDK_Export\\boot_img\\BOOT.mcs
-offset 0 -flash_type qspi_single -fsbl
C:\\Users\\Administrator\\Desktop\\zedboard\\PS_PL_LED_SW\\LED_SW\\LED_SW.sdk\\SDK\\SDK_Export\\boot_img\\zynq_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-Zed-210248686555
Device 0: jsn-Zed-210248686555-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.
READ: ARM_PLL_CFG (0xF8000110) = 0x30800100
READ: ARM_PLL_CTRL (0xF8000100) = 0x30800100
READ: ARM_CLK_CTRL (0xF8000120) = 0x00000000
READ: IO_PLL_CFG (0xF8000118) = 0x00000000
READ: IO_PLL_CTRL (0xF8000108) = 0x00000000
Info: Remapping 256KB of on-chip-memory RAM memory to 0xFFFC0000.
MASKWRITE: addr=0xF8000008, mask=0x0000FFFF, newData=0x0014DF0D
MASKWRITE: addr=0xF8000004, mask=0x0000FFFF, newData=0x0268767B
Problem in running uboot
Flash programming initialization failed.

ERROR: Flash Operation Failed

固化到flash中,首先要在硬件上把模式设置成jtag模式,因为你是在往里面烧东西,将mio2-mio6全部跳线到地,然后再进行下载;下载完了,记得断电,将模式切换到qspi模式,即只有mio5接高电平。然后上电重启就ok了。

Flash Operation Successful

模式设置:

下载的内容:



以上是关于[zedboard学习笔记1]关于zedboard固化程序到flash问题解决方案的主要内容,如果未能解决你的问题,请参考以下文章

[zedboard学习笔记1]关于zedboard固化程序到flash问题解决方案

[zedboard学习笔记1]关于zedboard固化程序到flash问题解决方案

petalinux&zedboard(自定义IP学习笔记)

zedboard学习第一篇(未完成)

一步一步学ZedBoard & Zynq:制作ZedBoard上linux根文件系统(ramdisk)

发送文件到zedboard