[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问题解决方案_第1张图片

下载的内容:

[zedboard学习笔记1]关于zedboard固化程序到flash问题解决方案_第2张图片
[zedboard学习笔记1]关于zedboard固化程序到flash问题解决方案_第3张图片
[zedboard学习笔记1]关于zedboard固化程序到flash问题解决方案_第4张图片

你可能感兴趣的:(Zedboard学习笔记,sdk)