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