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.

F2812的内部FLASH是否可以读写

Other Parts Discussed in Thread: SPRC125

现在想把大量参数写入内部FLASH来存储,在用的时候读出来,F2812的内部FLASH可以实现吗?如果能实现,怎么编程呢

  • 可以。需用专用flash api函数  

  • 现在想把大量参数写入内部FLASH来存储,在用的时候读出来,F2812的内部FLASH可以实现吗?如果能实现,怎么编程呢‘

    ERIC:

    首先是可以实现,只不过会比较麻烦,几点要注意的:1 flash擦除都是按这个扇区擦除的,擦除后才能进行单个字/位的写。2.在flash操作的时候,最好把系统的中断都关掉,不要打断flash操作。3,  所有和flash相关的函数代码,都必须要复制到RAM中运行。

    看一下这篇文档:

    http://www.ti.com/lit/an/spraab6/spraab6.pdf

    参考一下

    Complete documentation regarding the new API is provided as part of the API download file available at the C2000 Flash Programming Tools website (http://www.ti.com/c2000flashtools). The literature number of the API download is SPRC125 and this website can be found at http://focus.ti.com/docs/toolsw/folders/print/sprc125.html.


  • 您好!
    还可以参考以下文档:
    www.ti.com/lit/sprab69