【FPGA】記錄VIVADO SDK燒錄問題
周末把OV的CIS OV5640撿起來玩一玩,遇到點(diǎn)燒錄問題,記錄并分享一下,避免以后再遇到同樣問題,浪費(fèi)時(shí)間定位。
工具:VIVADO 2018
燒寫軟件時(shí)出現(xiàn)如下所示錯(cuò)誤提示:
Memory write error at 0x100000. APB AP transaction error, DAP status f0000021,網(wǎng)上遇到這個(gè)問題的朋友很多,無法就說下面幾個(gè)原因:
-
BOOT_CFG不對(duì)
-
PL設(shè)計(jì)有改動(dòng)、hdf文件不匹配
-
DDR3選型不對(duì),核對(duì)器件
特別是,很多人說是DDR3選型問題,至少我的case確認(rèn)不是DDR3選型配置問題,而是需要執(zhí)行下面2個(gè)步驟后再燒錄。具體解決如下:
1. Resets entire system. Clears the FPGA fabric (PL).
2. Program FPGA fabric (PL).
解決辦法:
打開Run Configuration:
勾上如下2個(gè)選項(xiàng):
勾上的兩項(xiàng)目是什么操作呢?
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!