当前位置: 首页 > news >正文

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

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

相关文章:

  • Jupyter Notebook的介绍和使用
  • 正则表达式全解析 + Java常用示例
  • uniapp-x web 开发警告提示以及解决方法
  • 以太坊生态中有代币标准和协议,针对不同场景设计了丰富的功能
  • 深度学习-服务器训练SparseDrive过程记录
  • 【6】树状数组学习笔记
  • MobileNet家族:从v1到v4的架构演进与发展历程
  • python:数据类构建器
  • 单片机ADC+NTC温度采集电路学习
  • 计算机视觉cv2入门之边缘检测
  • 探索ima.copilot:个人知识库搭建的AI新利器
  • WSL2 Ubuntu安装GCC不同版本
  • 解锁C++:指针与数组、字符串的深度探秘
  • 【FC改版激龟快打】MUGEN 激龟快打-含下载地址、出招技能表
  • WSL2 Ubuntu安装Cuda 11.8
  • 蓝桥杯省赛真题C++B组-小球反弹
  • 利用Python爬虫根据关键词获取商品列表
  • 矫平机:工业制造的“误差归零者”,如何重塑智造新生态?
  • 深入理解 Qt 系统托盘图标:创建自定义的系统托盘图标类
  • 星越L_外后视镜使用讲解
  • 帮人做网站赚多少钱/百度认证怎么认证
  • 佛山网站建设设计/58同城如何发广告
  • 微官网免费制作平台/商丘seo教程
  • 南京建站方案/营销战略有哪些内容
  • 做旅游的网站 优帮云/seo分析及优化建议
  • 设备电商网站模板/网络工程师培训机构排名