【FPGA】记录VIVADO SDK烧录问题
扫描二维码
随时随地手机看文章
周末把OV的CIS OV5640捡起来玩一玩,遇到点烧录问题,记录并分享一下,避免以后再遇到同样问题,浪费时间定位。
工具:VIVADO 2018
烧写软件时出现如下所示错误提示:
Memory write error at 0x100000. APB AP transaction error, DAP status f0000021,网上遇到这个问题的朋友很多,无法就说下面几个原因:
-
BOOT_CFG不对
-
PL设计有改动、hdf文件不匹配
-
DDR3选型不对,核对器件
特别是,很多人说是DDR3选型问题,至少我的case确认不是DDR3选型配置问题,而是需要执行下面2个步骤后再烧录。具体解决如下:
1. Resets entire system. Clears the FPGA fabric (PL).
2. Program FPGA fabric (PL).
解决办法:
打开Run Configuration:
勾上如下2个选项:
勾上的两项目是什么操作呢?
Following operations will be performed before launching the debugger.
1. Resets entire system. Clears the FPGA fabric (PL).
2. Program FPGA fabric (PL).
3. Runs ps7_init to initialize PS.
4. Runs ps7_post_config. Enables level shifters from PL to PS. (Recommended to use this option only after system reset or board power ON).
5. All processors in the system will be suspended, and Applications will be downloaded to the following processors as specified in the Applications tab.
1) ps7_cortexa9_0
然后烧录成功,enjoy it!