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.

[参考译文] TM4C1294NCPDT:如何读取和写入 TM4C1294NCPDT 板的闪存?

Guru**** 2530350 points
Other Parts Discussed in Thread: TM4C1294NCPDT

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1136372/tm4c1294ncpdt-how-to-read-and-write-the-flash-of-the-tm4c1294ncpdt-board

器件型号:TM4C1294NCPDT

大家好、我想我需要你们的帮助。

一般来说、TM4C1294NCPDT 通过读取和写入 EEPROM 来保存参数。 但目前、由于 EEPROM 容量不足、我需要知道如何读取和写入 TM4C1294NCPDT 的闪存。 有人能给我一些建议或相关文档吗? 非常感谢。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

     是的、有用于对闪存进行编程的 API。 请参阅第12.3节、其中提供了如何使用 TivaWare 闪存 API 对闪存进行编程和擦除的示例。  

    https://www.ti.com/lit/ug/spmu298e/spmu298e.pdf

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Charles。

    非常感谢您的帮助!

    此致、

    CTC

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Charles。

    我发现上述文档中的闪存操作内容只包括擦除和写入部分、而不包括读取部分。 函数 FlashUsecGet ()和 FlashUsecGet ()是否与读取相关函数? 没有找到这两个函数的特定 API。有关详细信息、请参阅下图。

    此致、

    CTC

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [引用 userid="4696641" URL"~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1136372/tm4c1294ncpdt-how-to-read-and-write-the-flash-of-the-tm4c1294ncpdt-board/4360463 #4360463"]我发现,上述文档中的闪存操作内容仅包括擦除和写入部件,而不包括读取部件。

    中的片上闪存映射到 CPU 的存储器映射中、并且无需使用闪存 API 即可读取:

    [引用 userid="4696641" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1136372/tm4c1294ncpdt-how-to-read-and-write-the-flash-of-the-tm4c1294ncpdt-board/4360463 #4360463]FlashUsecGet ()和 FlashUsecGet ()函数是否已读取相关函数? 并且找不到这两个函数的特定 API。

    对  FlashUsecGet ()和 FlashUsecSet ()的引用 在文档中看起来像一个拼写错误,实际函数被命名为 FlashUserGet ()和 FlashUserSet () ,只用于访问用于64位数据(例如以太网 MAC 地址)的用户寄存器0和1。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    大家好、切斯特。

    非常感谢您的帮助!

    此致、

    CTC