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-FET:'Exit:60 Verification Error'with MSP430Flasher and MSP-FET

Guru**** 2223470 points
Other Parts Discussed in Thread: MSP-FET, MSP430FR5969
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1044986/msp-fet-exit-60-verification-error-with-msp430flasher-and-msp-fet

器件型号:MSP-FET
主题中讨论的其他器件: MSP430FR5969

我在这里查看了两个处理类似退出的主题:60、验证错误问题、但这两个主题对我都没有太大帮助。

我正在尝试使用 MSP430Flasher 通过 MSP-FET 将文件(Blblink.hex)加载到 MSP430FR5969、但遇到验证错误。

  • 代码是一个简单的 LED 闪烁脚本、我已经验证了它的工作原理。 我使用 mspdebug 通过电路板的 ez-FET 调试器加载了它以进行验证。

 

问题

我可以加载 MSP430Flasher 安装随附的 Firmware.txt 文件、而不会出现任何问题。 但是、运行我的.hex 文件会生成:

出口:60

错误:验证错误

我试图弄清楚是什么使一个工作,而另一个工作不是。

 

成功加载与未成功加载之间的关系

成功:使用 MSP430Flasher 加载 Firmware.txt

使用 Firmware.txt 文件可以完美地工作:

MSP430Flasher.exe -e ERASE_ALL -w Firmware.txt -v  -z [VCC]

得出结果:

 

失败:使用 MSP430Flasher 加载 blink.hex

我使用以下命令将 blink 可执行文件转换为.hex:

msp430-elf-objcopy -O ihex blink.o blink.hex

然后尝试加载代码:

MSP430Flasher.exe -e erase_all -w blink.hex -v  -z [vcc]

还可以获得输出:

提前感谢您。

爵士杰克逊

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

    在发布此帖子之前、我应该花更多的时间来解决该问题。

    我发现问题是我使用的 Makefile (尤其是 CC Flags)。 我创建了一个新的、现在一切都很完美。

    我对这一草率的帖子表示歉意。