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.

[参考译文] TMS320F28069:Uniflash 4.2.1命令行界面、可对二进制文件进行编程

Guru**** 2581345 points
Other Parts Discussed in Thread: UNIFLASH, TMS320F28069

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/650469/tms320f28069-uniflash-4-2-1-command-line-interface-programming-a-binary-file

器件型号:TMS320F28069
主题中讨论的其他器件:UNIFLASH

您好!

我使用 的是 TMS320F28069、Uniflash 4.2.1和 XDS100v2 USB 调试探针。

我 需要刷写两个文件:一个是 COFF (a.out) 文件、另一个是 二进制格式文件。 它在 Uniflash GUI 中工作正常、 我只需选择 文件并为二进制文件指定偏移量。

在 Uniflash CLI 中、我可以   使用 以下 命令对 COFF 文件进行编程:dslite --mode flash --config=%configs%\f28069.ccxml --load-settings %settings\genered.ufsettings --flash %images%\bootloader_28069f.out  

但是 、Uniflash CLI 不允许我对二进制文件进行编程。

命令:dlite --mode flash --config=%configs%\f28069.ccxml --load-settings %settings\genered.ufsettings --flash %images%\serial_number.bin 0x3D7800  

返回 以下 错误:“Failed:encountered a problem loading file:...\serial_number.bin Internal error (失败:加载文件时遇到问题:...\内部 错误)”

为  二进制文件指定偏移量的正确语法是什么?

谢谢、

Dmitry

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

    您好 Dmitry、

    尝试在二进制文件名和地址之间添加一个逗号:

    dlite --mode flash --config=%configs%\f28069.ccxml --load-settings %settings\genered.ufsettings --flash %images%\serial_number.bin0x3D7800  

    谢谢

    Ki

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

    非常感谢、这很有用!

    Dmitry