国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

關(guān)于xilinx fpga flash燒錄失敗報錯cannot set write enable bit or block(s) protected

這篇具有很好參考價值的文章主要介紹了關(guān)于xilinx fpga flash燒錄失敗報錯cannot set write enable bit or block(s) protected。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

關(guān)于xilinx fpga flash燒錄失敗報錯cannot set write enable bit or block(s) protected

最近買了塊新板子,固化程序一次就燒錄不了,報錯ERROR: [Labtools 27-3347] Flash Programming Unsuccessful: cannot set write enable bit or block(s) protected
記錄一下如何解決的吧。

字面意思,flash寫保護了。用的開發(fā)板上的flash是MX25L25645G,先看手冊status register。關(guān)于xilinx fpga flash燒錄失敗報錯cannot set write enable bit or block(s) protected,fpga開發(fā)
如圖保護是bit5到bit0。
讀一下該寄存器值,時序和手冊一致:關(guān)于xilinx fpga flash燒錄失敗報錯cannot set write enable bit or block(s) protected,fpga開發(fā)
關(guān)于xilinx fpga flash燒錄失敗報錯cannot set write enable bit or block(s) protected,fpga開發(fā)
發(fā)現(xiàn)全是1
再看一下修改寄存器的流程還挺多的關(guān)于xilinx fpga flash燒錄失敗報錯cannot set write enable bit or block(s) protected,fpga開發(fā)
反正跟著流程圖操作就行了,給status register改成0就可以了。最后讀出驗證下有無更改成功
關(guān)于xilinx fpga flash燒錄失敗報錯cannot set write enable bit or block(s) protected,fpga開發(fā)
這時候再打開另一個vivado固化就可以了關(guān)于xilinx fpga flash燒錄失敗報錯cannot set write enable bit or block(s) protected,fpga開發(fā)控制臺打印出Flash programming completed successfully。重新上電后程序也運行了。

用的是7系列開發(fā)板,所以代碼要用到的STARTUPE2原語,u系列是STARTUPE3,用法如下。
STARTUPE2 #(
.PROG_USR(“FALSE”), // Activate program event security feature. Requires encrypted bitstreams.
.SIM_CCLK_FREQ(10.0) // Set the Configuration Clock Frequency(ns) for simulation.
)
STARTUPE2_inst(
.CFGCLK ( ), // 1-bit output: Configuration main clock output
.CFGMCLK ( ), // 1-bit output: Configuration internal oscillator clock output
.EOS ( ), // 1-bit output: Active high output signal indicating the End Of Startup.
.PREQ ( ), // 1-bit output: PROGRAM request to fabric output
.CLK (1’b0 ), // 1-bit input: User start-up clock input
.GSR (1’b0 ), // 1-bit input: Global Set/Reset input (GSR cannot be used for the port name)
.GTS (1’b0 ), // 1-bit input: Global 3-state input (GTS cannot be used for the port name)
.KEYCLEARB (1’b0 ), // 1-bit input: Clear AES Decrypter Key input from Battery-Backed RAM (BBRAM)
.PACK (1’b0 ), // 1-bit input: PROGRAM acknowledge input
.USRCCLKO (sclk ), // 1-bit input: User CCLK input
// For Zynq-7000 devices, this input must be tied to GND
.USRCCLKTS (1’b0 ), // 1-bit input: User CCLK 3-state enable input
// For Zynq-7000 devices, this input must be tied to VCC
.USRDONEO (1’b0 ), // 1-bit input: User DONE pin output control
.USRDONETS (1’b0 ) // 1-bit input: User DONE 3-state enable output
);
然后cs_n,mosi,miso接到專用接口去就可以了。

總結(jié)

用的SDK燒錄bit文件到flash出現(xiàn)的問題,莫名其妙有點太坑了文章來源地址http://www.zghlxwxcb.cn/news/detail-714556.html

到了這里,關(guān)于關(guān)于xilinx fpga flash燒錄失敗報錯cannot set write enable bit or block(s) protected的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費用

相關(guān)文章

  • 03_Quartus將程序燒錄到FPGA的Flash中

    03_Quartus將程序燒錄到FPGA的Flash中

    .sof 文件不能燒錄進flash中,導(dǎo)致掉電程序丟失 進入 Convert Programming Files 中 配置輸出文件類型 選擇輸出 .jic 文件 根據(jù)flash的具體型號選擇 Configuration Device 的類型(EPCS16) 輸出路徑可默認 選擇芯片器件 選擇 Flash Loader ,再點擊右側(cè) Add Device 選擇具體的芯片,再點擊 OK 添加

    2024年02月11日
    瀏覽(22)
  • 關(guān)于hadoop報錯ERROR: Cannot set priority of namenode process與jps僅有自身的某類解決辦法

    關(guān)于hadoop報錯ERROR: Cannot set priority of namenode process與jps僅有自身的某類解決辦法

    運行start-sh.all發(fā)現(xiàn)了如圖的問題 也是搞了很久搜了很多教程,發(fā)現(xiàn)很多人并不是大毛病而是很多小細節(jié)出了錯誤。 首先檢查如下hadoop-env.sh ,core-site.xml ,hdfs-site.xml ,mapred-site.xml ,yarn-site.xml 內(nèi)容是否有配置錯誤 下圖這種明顯的錯誤一定要注意 “-”不要用錯符號 若均正確

    2024年02月08日
    瀏覽(31)
  • 【Hadoop】關(guān)于Hadoop集群HDFS啟動問題:DataNode啟動報錯ERROR: Cannot set priority of namenode process

    出了問題第一步一定要先看日志!看日志!看日志! DataNode日志文件在Hadoop目錄下的logs文件夾 以下列舉兩種問題的解決方法: 1.最常見的就是對NameNode進行了多次格式化操作,格式化NameNode,會產(chǎn)生新的集群id,導(dǎo)致NameNode和DataNode的集群id不一致,集群找不到已往數(shù)據(jù)。如果

    2024年02月06日
    瀏覽(26)
  • xilinx7系列FPGA上電flash模式選擇,及CFGBVS管腳電平選擇

    xilinx7系列FPGA上電flash模式選擇,及CFGBVS管腳電平選擇

    xilinx7系列FPGA上電flash模式選擇,主要是控制mode管腳電平。詳情見下圖: ?若FPGA配置flash為spi flash類型,mode【2:0】=001;FPGA配置flash為bpi flash類型,mode【2:0】=010。 FPGA上電讀bpi flash時序如圖: FPGA上電讀spi flash x1模式時序如圖: Configuration Banks Voltage Select ( CFGBVS ) 配置組電壓

    2024年02月16日
    瀏覽(97)
  • [] FPGA的JTAG燒錄不穩(wěn)定或燒錄失敗原因分析

    一、電路故障背景 打板回來常會出現(xiàn)燒錄不良,調(diào)試是一個技術(shù)活,如果燒錄不過關(guān),一切白搭。 二、常見JTAG故障原因如下: 1、ESD防護器件焊接不良; 電路板給生產(chǎn)部分焊接,發(fā)現(xiàn)元器件虛焊,特別是需要烘烤的元器件,更是要注意,極容易虛焊。 2、FPGA的JTAG引腳,焊接

    2024年02月02日
    瀏覽(26)
  • ESP32-C3燒錄后打印報錯invalid header: 0xffffffff【flash_download_tool_3.9.3.exe工具燒錄】

    ESP32-C3燒錄后打印報錯invalid header: 0xffffffff【flash_download_tool_3.9.3.exe工具燒錄】

    ESP32-C3沒有一鍵下載電路的情況下是使用的樂鑫官方下載工具flash_download_tool_3.9.3.exe 【工具 | 樂鑫科技 (espressif.com.cn)】 在下載工具中,你選擇你的下載地址非常重要。 如果你是ESP32其他系列,你需要選擇你的bootloader.bin是0x1000開始 如果你是ESP32-C3系列,你需要選擇你的bootlo

    2024年02月07日
    瀏覽(48)
  • vivado FPGA燒錄報錯

    vivado FPGA燒錄報錯

    ERROR: [Labtools 27-3165] End of startup status: LOW ERROR: [Common 17-39] \\\'program_hw_devices\\\' failed due to earlier errors. 在燒錄bit流文件時,出現(xiàn)燒錄不進去,報以上的錯誤。問題情況不分先后順序,自行測試 首先排查焊接問題。 降低JTAG下載速率。 重啟Vivado/ISE。 下載器不適配,試試相同屬性板子

    2024年02月08日
    瀏覽(21)
  • 關(guān)于FPGA遠程更新bpi flash中multiboot的實現(xiàn)

    關(guān)于FPGA遠程更新bpi flash中multiboot的實現(xiàn)

    關(guān)于FPGA遠程更新bpi flash中multiboot的實現(xiàn) : 遠程固化、flash固化、multiboot實現(xiàn)、bpi flash 一.什么叫multiboot ? multiboot 即 flash多重啟動加載方式 ,常用于遠程加載場景中,當(dāng)遠程加載失敗時,flash會啟動應(yīng)急預(yù)案,將另一塊地址的備用程序拿來作為加載FPGA的程序,防止由

    2024年02月15日
    瀏覽(24)
  • 關(guān)于xilinx使用PCIE實現(xiàn)FPGA的部分重配置實現(xiàn)(MCAP)

    關(guān)于xilinx使用PCIE實現(xiàn)FPGA的部分重配置實現(xiàn)(MCAP)

    平臺:vivado21018.3 芯片:xcku115-flva1517-2-i (active) 本文官方文檔:Xilinx_Answer_64761_Ultrascale_Devices 本文驅(qū)動下載地址:64761 - Bitstream Loading across the PCI Express Link in UltraScale and UltraScale+ Devices for Tandem PCIe and Partial Reconfiguration (xilinx.com) 本文參考:Xilinx基于PCIE的部分重配置實現(xiàn)(一)

    2024年02月01日
    瀏覽(98)
  • 關(guān)于hadoop的Cannot set priority of datanode process

    關(guān)于hadoop的Cannot set priority of datanode process

    關(guān)于使用Hadoop3.1.2安裝時的報錯,在進行start-dfs.sh發(fā)生了Cannot set priority of datanode process xxx的報錯。 之前搜索了很多文章一直沒有效果,用了一個下午的時間。最后我思考是不是我的初始化操作有問題。因為之前我用root賬戶進行了初始化操作,后來又用個人賬號又進行了一次

    2024年02月07日
    瀏覽(17)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包