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.

[参考译文] MSP430F5309:编译后在 ARM 架构上运行的 MSPFlaser

Guru**** 2551110 points
Other Parts Discussed in Thread: MSPDS

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/591449/msp430f5309-mspflasher-compiled-to-run-on-arm-architecture

器件型号:MSP430F5309
Thread 中讨论的其他器件:MSP-Flaser

您好!

在我们的应用中、我们希望运行应用 MSPFlasher、以便从 Raspberry Pi (Linux、ARM 架构)自动对 MSP430进行编程。

在 TI 网站上、我只能找到用于 Linux 32/64位的软件、我认为该软件仅适用于 x86架构、因为在 Raspberry PI 上安装失败、提示"无法执行二进制文件:EXEC 格式错误"。

是否有人有 为 ARM 编译的 MSPFlasher 的版本或开发代码? 您能否共享项目源代码以便我们可以为 ARM 重新编译?

 

感谢你的帮助、

M.

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

    您好!

    有关您的信息、我尝试从 mspflaser 软件包源进行构建、并收到一条错误消息、指出编译器无法找到 lmsp430库文件。

    G++-std=c++0x -i/Inc -c MSP430_Flasher.cpp -o MSP430_Flasher.o
    g++-std=c++0x -i/Inc -c Support.cpp -o Support.o
    G++-std=c++0x -I./Inc -c StdUseCase.cpp -o StdUseCase
    G++-o ./MSP430Flasher -std=c++0x -I./Inc MSP430_Flasher.o Support.o StdUseCase.o -L../-lmsp430
    /usr/bin/ld:找不到-lmsp430
    collect2:错误:LD 返回1退出状态
    Makefile:11:目标‘…/MSP430Flasher’的配方失败
    制造:***[../ MSP430Flasher]错误1.


    谢谢你

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

    通过在 Win 上调用 dll 函数、使用开源 MSP 调试堆栈(http://www.ti.com/tool/mspds)的 MSP-Flasher。 不知道与 MSP 调试堆栈和 Linux 相关的故事。

    我不熟悉 R-Pi、但在您的解决方案中、您仍需要额外的硬件(FET)来对器件进行编程。 也许无需任何额外的硬件即可直接从 Pi 刷写 MSP430器件。

    http://forum.43oh.com/topic/10035-4-wire-jtag-with-mspdebug-and-raspberry-pi-gpio/

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

    感谢您提供信息。 我们将直接探索和测试通过 MSPDebug 进行的编程。


    谢谢你