ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

Zynq NOR FLASH 烧写失败

2020-12-25 12:01:34  阅读:1685  来源: 互联网

标签:FLASH addr READ FSBL 烧写 Zynq mrd PLL data


界面报错如下:

Retrieving Flash info...

Initialization done, programming the memory
===== mrd->addr=0xF800025C, data=0x00000000 =====
BOOT_MODE REG = 0x00000000
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

 

If that FSBL fails (example hangs in DDR Init) the your u-boot under the hood won't work (Problem in running uboot).

In the FSBL you pass to the Programmer, enable all the UART log and see if it fails.

 

If the error is "Problem in running uboot", I suspect the FSBL specified to the flash programmer is NOT executing properly.

Best way to debug this is to enable all the FSBL prints log and check the UART print out during flash programmer.

Does the FSBL handoff properly or the prints are incomplete?

Please report the UART log in this post so I can take a look.

 

Project Explorer 展开 fsbl - src,打开 fsbl_debug.h,添加调试宏

#define FSBL_DEBUG_INFO

 

可以看到是DDR初始化失败了。

 

DDR勾选 internal vref

 

标签:FLASH,addr,READ,FSBL,烧写,Zynq,mrd,PLL,data
来源: https://www.cnblogs.com/idyllcheung/p/14188219.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有