【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:

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

var code = “3ef4def3-9691-46ba-95c1-52327ddad252”

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值