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.

[参考译文] MSP-GANG:从文件中加载有关 API 的映像(MSP-GANG.dll)

Guru**** 2532330 points
Other Parts Discussed in Thread: MSP-GANG

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/955300/msp-gang-loading-image-from-file-about-api-msp-gang-dll

器件型号:MSP-GANG

您好!

我们在  应用程序中使用 MSP-GANG.dll。

对于我们的刷写策略、我们希望使用" 从映像文件"模式。  

图像文件(.mspgangimage、mspgangbin、.mspgangproj)将存储 在 数据库中并进行管理

根据生产顺序、映像应加载并刷写到目标器件。 (目标器件可能会有所不同)

我们不会避免 在 与10000个寿命周期相关的情况下将映像存储在闪存中。

示例代码

string imageFilePath =/.../.../imageName.mspgangimage

MSPGANG.SetConfig (ConfigIndexes.CFG_PROJECT_SOURCE、ConfigIndexes.fin_image_file_mode);

MSPGANG.ImageFileLoad (imageFilePath、空、0);

现在呢?

 

问题1.   ImageFileLoad(.)之后,将调用哪种 methdoe?

如果 MSP_GANG.dll 中不支持,建议使用哪种刷写策略?

此致、

Paul

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

    尊敬的 Paul:

    您可以使用独立模式吗? 您可以在 MSP-GANG 的内部存储器中为不同器件添加多达96个独特的映像。 每个图像加载一次、因此不需要担心闪存的磨损。

    您仍然可以在数据库中存储所有映像文件、然后使用交互模式添加更多映像或更新存储在 MSP-GANG 内部存储器中的现有映像。

    此致、

    James

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    尊敬的 James:
    独立模式当前 正在使用。  背景是、我们必须确保
    编程器的调试功能。 编程器应在 生产现场运行
    黑色框。 没有工具、没有手动 活动、只是一个自动过程。
    目前我们已经找到了这种解决方案、 它似乎是按照我们希望的方式工作的。

    string imageFilePath =/.../.../imageName.mspgangimage

    MSPGANG.SetConfig (ConfigIndexes.CFG_PROJECT_SOURCE、ConfigIndexes.fin_image_file_mode);

    MSPGANG.SetConfig (ConfigIndex.FROMIMAGE_BIT、0x1000);

    MSPGANG.ImageFileLoad (imageFilePath、空、0);

    MSPGANG.InteractiveProcess (1000);

    MSPGANG.GetProgressStatus (pnt);

    如果此 策略正确、将显示一个长期测试。

    我将关闭 TT。

    感谢您的快速响应和 有趣的方法。

    此致
    Paul