TMS570LC4357之相关问题及解决

目录

【TMS570LC4357】之相关问题及解决

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


添加对应头文件

https://i-blog.csdnimg.cn/direct/8dbc804e6e8346b6ba5069b04c79df53.png


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

需要下载demo.exe,文件安装之后,对应文件在这个安装包里面

然后添加对应路径就行。

https://i-blog.csdnimg.cn/direct/bb57397d40794dfe9ea6c828b50a0352.png


https://i-blog.csdnimg.cn/direct/38627400f15349fe92c2fb875e8a22b9.png

在官网海淘解决方案:

https://i-blog.csdnimg.cn/direct/230efba0b58c4ccf98cc56ba997665fe.png

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

    勾选图中选项

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

https://i-blog.csdnimg.cn/direct/2d4619767a4440d390829f46c4d62d8d.png

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

(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’

https://i-blog.csdnimg.cn/direct/05af47a394774ced9b93ea42160b96d9.png

(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供电才好使

(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)

重写printf函数

修改前

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:

https://i-blog.csdnimg.cn/direct/38a82d8397ad4007bd3668deff273c7d.png

修改后:

https://i-blog.csdnimg.cn/direct/a6fec8dead13419084c9d7da85186837.png