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.

[参考译文] TMS320F280025C:EERPOM/闪存读取/调优参数存储的写入示例

Guru**** 2445440 points
Other Parts Discussed in Thread: C2000WARE

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1474223/tms320f280025c-eerpom-flash-read-write-examples-for-tuning-parameters-storage

器件型号:TMS320F280025C
Thread 中讨论的其他器件:C2000WARE

工具与软件:

您好!

  在 车辆上首次安装控制器期间、需要将大约30个参数存储在内部闪存位置。

我已将所有电机调谐(Rs LS Cal、Hall_cal、Hall/phase wire sequence)集成到一个由 板载跳线控制的程序中。   这些参数需要存储到 EEPROM 中才能在下次上电时使用。

将内部闪存用作 EEPROM。   请建议几个简单的 写和读 exmamples。

谢谢、此致、

Anil

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

    Anil:

    有关内部 EEPROM 仿真的应用手册可在此处找到: 用于第3代 C2000实时控制器的 EEPROM 仿真(修订版 A)

    这里有 F28003x 和 F28P65x 的代码示例、移植这些示例应该相对简单:

    • C2000Ware > driverlib > f28003x > examples > flash > f28003x_eeprom_example、f28003x_eeprom_pingpong_example  
    • C2000Ware > driverlib > f28p65x > examples > c28x > flash > f28p65x_eeprom_example、f28p65x_eeprom_pingpong_example  

    有关读取/写入 f28002x 闪存的基本示例:

    • C2000Ware > driverlib > f28002x> examples > flash > flashapi_ex1_programming

    此致!

    Alex