This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CRC 觸發到 FLUNCERR NMI 中斷

我使用的是F280025開發

流程是 bootloader 一開始會做 flash API 燒錄的動作 ,使用的Fapi_issueProgrammingCommand() 做寫入的動作,最後一個參數是使用 Fapi_DataOnly。

燒錄完之後,我會做CRC的檢查部分,但是我跑到for(i=0;i<CRC_Table_read->num_recs;i++) 的時候,就觸發到 NMIFLG 裡面的 FLUNCERR bit 為1。

之後就jump 到Interrupt_nmiHandler()。

會不會跟燒錄的過程中有問題,還是說CRC read flash data 是有問題的??

  • 请问您使用的是TI开发板? control card?程序是使用例程还是自己的程序?

    若是自己程序的话,建议私信一下工程,我们具体看一下

    关于FLUNCERR ,您可以看一下 TRM内的说明

    www.ti.com/.../spruin7a.pdf

    Table 3-237. NMIFLG Register Field Descriptions

    Flash Uncorrectable Error NMI Flag: This bit indicates if an
    uncorrectable error occurred on a C28 Flash access and that
    condition is latched. This bit can only be cleared by the user writing
    to the corresponding clear bit in the NMIFLGCLR register or by an
    XRSn reset:
    0,No C28 Flash uncorrectable error condition pending
    1,C28 Flash uncorrectable error condition generated
  • 找到問題了,Flash_ECC_ENABLE Register 要disable 掉,因為她的預設是enable ,所以沒有要使用的話就要關掉就不會觸發 NMI

  • 谢谢分享解决方案!
x 出现错误。请重试或与管理员联系。