欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 科技 > 能源 > 【TMS570LC4357】之相关问题及解决

【TMS570LC4357】之相关问题及解决

2025/3/16 11:58:14 来源:https://blog.csdn.net/qq_44704780/article/details/146190054  浏览:    关键词:【TMS570LC4357】之相关问题及解决

背景:

第一次接触TI的芯片,对其中遇见的问题或者不清楚的地方做个记录。


问题及解决方法

1.头文件未包含

添加对应头文件

解决方法

在这里插入图片描述


2. error #10008-D: cannot find file “C:/ti/Hercules/SafeTI Diagnostic Library/2.4.0/libs/SafeTILib_TMS570LC43_BE.lib”:

需要下载官方demo.exe,但是官方demo需要labview2010环境,笔者当时使用不了

解决方法

需要下载demo.exe,文件安装之后,对应文件在这个安装包里面
然后添加对应路径就行。
在这里插入图片描述


3.校验失败:

在这里插入图片描述

解决方法

在官网海淘解决方案:
在这里插入图片描述
n CCS “Flash Settings”, please check the following items:

  1. System Reset on Connect is checked
  2. Auto ECC Generation is unchecked
  3. Align program segments to 64-bit memory regions is checked
  4. Flash Verification Settings should be ‘None’
  5. Perform Blank Check before Program Load must be unchecked
    勾选图中选项

4. error #10234-D: unresolved symbols remain

error #10010: errors encountered during linking; “test.out” not built

在这里插入图片描述

解决方法

修改完图中提示的未定义部分,问题解决

5. Error connecting to the target:

(Error -151 @ 0x0)
One of the FTDI driver functions used during the connect
returned bad status or an error. The cause may be one or
more of: no XDS100 is plugged in, invalid XDS100 serial number,
blank XDS100 EEPROM, missing FTDI drivers, faulty USB cable.
Use the xds100serial command-line utility in the ‘common/uscif’

解决方法;修改仿真器

在这里插入图片描述

6.Error connecting to the target:

(Error -180 @ 0x0)
The controller has detected a target power loss.
The user must turn-on or connect the power supply for the target.
(Emulation package 20.0.0.3178)

解决方法

绿色板子必须用12V供电才好使

7.Error initializing emulator:

(Error -2083 @ 0x0)
Unable to communicate with the debug probe. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation.
(Emulation package 20.0.0.3178)

8.Printf 无法输出%d

解决方法:

重写printf函数

9.已使用RAM空间过大

解决方法:

修改前
source/HL_sys_link.cmd", line 86: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can’t be generated for this section. run placement with alignment fails for section “.bss” size 0x19334. Available memory ranges:

在这里插入图片描述
修改后:
在这里插入图片描述

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

热搜词