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.
我使用3引脚 间谍 双向线连接通过启动板(MSP430FR2476)对原型板(MSP430FR2475)进行编程。
IDE:CCS 版本:11.1.0.00011
编译器版本:v21.6.0 LTS
我使用了不同的 USB 端口,不同的工作空间,但它们都不起作用
单击调试时,我在下面看到了这些错误;
MSP430:文件加载器:验证失败:地址0x08000处的值不匹配请验证目标内存和内存映射。
MSP430:GEL:文件:C:\Users\Pitstop\workspace_v11\AudioControls\Debuggion\AudioControls.out:发生数据验证错误,文件加载失败。
我将生成日志文件, .ccsproject, .cproject, .project, lnk_msp430fr2475.cmd,debug_config 等属性上载到 zip 文件中。
我只是尝试上传一个有缺陷的项目,以查看将发生的情况,但我遇到了相同的错误;
MSP430:在长度0x70的第0页上写入0x8000处的内存块时发生故障:无法擦除设备内存
MSP430:文件加载器:验证失败:目标写入0x08000失败
MSP430:GEL:文件:C:\Users\Pitstop\workspace_v11\emption\Debuggion\empty.out:加载失败。
您好,
间谍线包括测试和重置引脚。 您可能还需要连接 VCC 和 GND 引脚。
您使用哪三个针脚将您的主板连接到 Launchpad?
此致,
现金很好
您好,现金;
是的,我连接了 VCC 和接地引脚,否则会出现另一个错误“5V 未检测到”。 我检查了几次连接是否工作正常。 顺便说一句,我正在使用图片工具包4。
巴西(BR)...
埃尔坎
您好,埃尔坎,
好的。 您可以尝试将示例代码下载到您的主板吗? 您可以在此链接中找到示例代码。 https://dev.ti.com/tirex/explore/node?node=AFLMWoobNC-EFUiFlvqU9w__IOGqZri__LATEST
此致,
现金很好
您好,现金;
我曾尝试过一个示例代码,但遇到相同的错误;
MSP430:在长度0x70的第0页上写入0x8000处的内存块时发生故障:无法擦除设备内存
MSP430:文件加载器:验证失败:目标写入0x08000失败
MSP430:GEL:文件:C:\Users\Pitstop\workspace_v11\msp430fr267x_RTC_01\Debugged\msp430fr267x_RTC_01.out:加载失败。
您好,埃尔坎,
示例代码不应出现这些错误。 您是否可以尝试在 CCS 云上构建示例项目并重试? 您可以在此处找到 CCS 云链接。
https://dev.ti.com/tirex/wizard
此致,
现金很好
您好,现金;
我在 CCS Cloud 上遇到同样的错误。
提前感谢...
您好,埃尔坎,
好的。 您可以先尝试擦除设备。 MSP430FRxx MCU 可以通过 CCS ->项目属性->调试-> MSP43x 选项->连接时擦除用户代码并解锁设备。
此致,
现金很好
我逐一尝试所有擦除选项,但它们都不起作用。
我可以通过无限擦除内存,然后尝试上传程序,但再次出现相同的错误。
格式化我的 PC,创建新的不同工作区,从程序选项卡中重新选择程序对我不起作用。
我只能在选择了 debug conf-- program“load symbols only”而不是“load program”的情况下运行调试模式
我的 MSP430FR2475有什么问题?
奇怪的是它正在工作,但突然停止工作。
最后我发现了这个问题,我更改了链接器,如下所示;
-vmspx -O2 --opt_for_speed=0 --use_hw_mpy=F5 --advice:power=all --advice:hw_config=all --define=__MSP430FR2475__ --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 -z -m"AudioControls.map" --heap_size=160 --stack_size=160 --cinit_hold_wdt=on -i"C:/ti/ccs1110/ccs/ccs_base/msp430/include" -i"C:/ti/ccs1110/ccs/ccs_base/msp430/lib/FR2xx" -i"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-msp430_21.6.0.LTS/lib" -i"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-msp430_21.6.0.LTS/include" --priority --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="AudioControls_linkInfo.xml" --use_hw_mpy=F5 --rom_model
和编译器,如下所示;
-vmspx -O2 --opt_for_speed=0 --use_hw_mpy=F5 --include_path="C:/ti/ccs1110/ccs/ccs_base/msp430/include" --include_path="C:/Users/potstip/workspace_v11/AudioControls" --include_path="C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-msp430_21.6.0.LTS/include" --advice:power=all --advice:hw_config=all --define=__MSP430FR2475__ --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40
我从一个工作代码中得到了这些信息。
我不知道哪个部分解决了这个问题