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.

[参考译文] CCS/MSP430G2553:无法在闪烁示例上进入调试

Guru**** 2589275 points


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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/611973/ccs-msp430g2553-cannot-enter-debug-on-blink-example

器件型号:MSP430G2553

工具/软件:Code Composer Studio

我是一名试图熟悉 Code Composer Studio 的学生。 我尝试进入调试模式、但未成功。 我正在尝试我的第一个闪烁示例。 编译成功、并且也会创建.out 文件。 但调试会产生程序加载错误。

数据快照查看器设置为连接。

CCSv5.5

****为项目 b 构建配置调试**** 
"d:\\System\\Installations\\TI\\ccsv5\\utils\\bin\\gmake"-k 所有
'building file:./blink.c'
'inverting:MSP430 Compiler'"D
:/System/Installations/TI/ccsv5/tools/compiler/msp430_4.2.1/bin/cl430 -vmsp -abi=eabi --include_path="D:/System/Installations/TI/ccsv5/ccs_base/msp430/include -include_path="d_path="d="d_blink="-out_exclus_binding_decome.come.come.come=d_probind_board-out_bind_supertion.c /System/Installations/TI/ccsv5/tools/compiler/msp430_4.2.1/include
:-out_blink_binding_decome.come.c:-out_suppremotion.c:-out_bind_bind_bind_probind_probe.come.come.come.c:-out_proc:-out_probind_probe.com/support/d_probind_probe.c:-out_probind_probe.c:-out_probe.c:-out_pro


b.out'
调用:MSP430 Linker'
"D:/System/Installations/TI/ccsv5/tools/compiler/msp430_4.2.1/bin/cl430 /System/Installations/TI/ccsv5/ccs_base/msp430/include /System/Installations/TI/ccsv5/tools/compiler/msp430_4.2.1/include "-vmsp --abi=eabi --advice:power=all -g -define=__MSP430G2553__--xml_warning=225 --display_error_number --diag_warn=off --eref_support=minimal -z -m"bm"b"-xml_warnate-d"-link_ram_ram_out-"-d"-line-d_ram_ram_ram_ram_ram_ram_ram_ram_ram_off-"-"-"-line_info-mode.d_ram_ram_ram_ram_ram_ram_ram_ram_ram_ram_ram_ram_off-"-"-"-"-"-line_info-mode"-msp80_ram_ram_ram_ram_ram_ram_ram_ram_ram_ram_info-out.cn"-"-"-"-line_remot_remote_remote_inf /System/Installations/TI/ccsv5/tools/compiler/msp430_4.2.1/lib

备注#10371-D:(ULP 1.1)在此项目中使用 LPMx 或_Bis_SR_register ()或_ low_power_mode_x ()未检测到低功耗模式状态更改的使用。
备注#10372-D:(ULP 4.1)在此项目中检测到未初始化的端口2。 建议初始化所有未使用的端口、以消除未使用引脚上浪费的电流消耗。
备注#10372-D:(ULP 4.1)在此项目中检测到未初始化的端口3。 建议初始化所有未使用的端口、以消除未使用引脚上浪费的电流消耗。
'已完成的建筑目标:B.out '
'

'****已完成构建****

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

在进入调试时、以下是错误说明:

MSP430:在长度为 bbb8的第0页0xc000处写入内存块时遇到问题:此驱动程序不支持此操作
MSP430:GEL:文件:D:\Docs\Workspace\MSP430\Code Composer Studio\b\Debug\b.out:加载失败。

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

    您好!

    eshwar jorvekar 说:
    数据快照查看器设置为连接。

    这是错误的连接类型。 您是否拥有实际的 MSP430硬件? 如果是、是什么类型的电路板?

    谢谢

    Ki

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我没有任何硬件板。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    如果没有硬件、您将无法进行调试。 CCS 不再支持仿真器。 Data Snapshot Viewer 不是有效的模拟器、而是用于完全不同的用例。

    谢谢
    Ki
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    是否有任何旧的 CCS 版本支持仿真而无需目标硬件?
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    较旧的 CCS 版本支持一些仿真器、但从未支持 MSP430。

    如果您正在寻找 MSP430仿真器支持、我相信 IAR EW 支持它。

    谢谢
    Ki