TI论坛
直播中

曾培中

8年用户 179经验值
私信 关注
[问答]

请教CCS4调试6748时的relocation from function ....overflow的warning问题的解决办法?

Hi all,
warning: relocation from function "main" to symbol "_close_flash" overflowed; the 31-bit relocated address 0xdffffb00 is too large to encode in the 21-bit signed PC-Relative field (type = 'R_C60PCR21' (82), file = "./main.obj", offset = 0x0000008c, section = ".text")
warning: relocation from function "main" to symbol    "_GPIO_Init" overflowed; the 31-bit relocated address 0xdffffb00 is too    large to encode in the 21-bit signed PC-Relative field (type = 'R_C60PCR21'    (82), file = "./main.obj", offset = 0x00000090, section = ".text")
。。。。。
在调试过程中遇到了很多这种relocation overflow的问题,不知该从何下手,请各位高手指教一下。谢谢!

回帖(4)

余少虹

2020-7-28 10:04:53
受到警告
提示: 作者被禁止或删除 内容自动屏蔽
举报

曾培中

2020-7-28 10:14:54
引用: vuywsdfwf 发表于 2020-7-28 10:04
看看下面的方法是否有用
http://processors.wiki.ti.com/index.php/Relocation_Overflow_Error

很有效。谢谢! 能不能再问你一个问题:我用CCS4,下了程序之后,debug的时候为什么不能进入主函数?谢啦~:)
举报

曾培中

2020-7-28 10:52:53
有时候也会出现这种情况:
举报

余少虹

2020-7-28 10:59:00
引用: 60user29 发表于 2020-7-28 10:52
有时候也会出现这种情况:

试试能不能运行下面rCSL库里的简单例程? 看看是程序问题还是板子的问题?
http://processors.wiki.ti.com/index.php/QuickStartOMAPL1x_rCSL
举报

更多回帖

发帖
×
20
完善资料,
赚取积分