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.

[参考译文] Linux/TM4C1294NCPDT:使用 UniFlash 命令行工具对 MAC 地址进行编程

Guru**** 2460850 points
Other Parts Discussed in Thread: UNIFLASH, TM4C1294NCPDT

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/651972/linux-tm4c1294ncpdt-programming-mac-addresses-with-uniflash-command-line-tool

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

工具/软件:Linux

您好!

我使用的是面向 Linux 的最新版本 UniFlash、能够顺利地刷写固件、但我想知道如何通过命令行将 MAC 地址编程到用户闪存寄存器中。 我当前使用此命令对应用程序进行编程:  

$sudo ./dslite.sh -f --config=tm4c1294ncpdt.ccxml -e ~/smartsense-bsp/Tiva/engineering/build/va.out

我找到了类似的帖子、但它似乎适用于较早版本的 UniFlash、用于 MAC 编程的其他选项不起作用。

谢谢、

Doug Burrell

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    下面是我提到的上一篇文章的链接: e2e.ti.com/.../371002
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Doug、

    您应该能够使用--settings (或-s)选项来设置 MAC 地址值

    -s [--setting]参数   使用 id=value 覆盖特定设置。

                  可以多次指定。

    您可以在 Uniflash 中找到该 ID

    --Setting FlashMACAddrInput=00-00-00-00-00-00

    对 MAC 地址进行编程的操作是"ProgramMACAddress"

    在您的情况下、我想您可以尝试如下操作:

    $sudo ./dslite.sh -f --config=tm4c1294ncpdt.ccxml-e --Setting FlashMACAddrInput=00-00-00-00-00 -a ProgramMACAddress ~/smartsense-bsp/Tiva/engineering/build/va.out

    加载后执行操作。 b 可用于之前执行它

    谢谢

    Ki

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