TI中文支持网
TI专业的中文技术问题搜集分享网站

TMS320F28335 编译问题

请问专家:

我用样板工程Example_28335_Flash 加入程序文件.编译出错如下:

"C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/cmd/F28335.cmd", line 144: error: 

run placement fails for object ".ebss", size 0x3089 (page 1). Available
ranges:
RAML4 size: 0x1000 unused: 0x1000 max hole: 0x1000 .ebss : > RAML4 PAGE = 1 /* */
warning: entry-point symbol other than "_c_int00" specified: "code_start"
error: errors encountered during linking; "Example_28335_Flash.out" not built

如果我把 F28335.cmd 中   .ebss               : > RAML4      PAGE = 1  改为   .ebss               : > FLASHB      PAGE = 1

编译能通过.只有提示:warning: entry-point symbol other than "_c_int00" specified:  "code_start"

但仿真运行时出现下面问题:

C28xx: AutoRun: Target not run as breakpoint could not be set: Error programming AET Job: This task cannot be accomplished with the existing AET resources.

code_start:
.if WD_DISABLE == 1
LB wd_disable ;Branch to watchdog disable code   —–程序进入到这个位置
.else
LB _c_int00 ;Branch to start of boot.asm in RTS library
.endif

再往下就不确定了.应怎么解决呢?

Ivy lin:

回复 Eric Ma:

怎么合并RAM

请问专家:

我用样板工程Example_28335_Flash 加入程序文件.编译出错如下:

"C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/cmd/F28335.cmd", line 144: error: 

run placement fails for object ".ebss", size 0x3089 (page 1). Available
ranges:
RAML4 size: 0x1000 unused: 0x1000 max hole: 0x1000 .ebss : > RAML4 PAGE = 1 /* */
warning: entry-point symbol other than "_c_int00" specified: "code_start"
error: errors encountered during linking; "Example_28335_Flash.out" not built

如果我把 F28335.cmd 中   .ebss               : > RAML4      PAGE = 1  改为   .ebss               : > FLASHB      PAGE = 1

编译能通过.只有提示:warning: entry-point symbol other than "_c_int00" specified:  "code_start"

但仿真运行时出现下面问题:

C28xx: AutoRun: Target not run as breakpoint could not be set: Error programming AET Job: This task cannot be accomplished with the existing AET resources.

code_start:
.if WD_DISABLE == 1
LB wd_disable ;Branch to watchdog disable code   —–程序进入到这个位置
.else
LB _c_int00 ;Branch to start of boot.asm in RTS library
.endif

再往下就不确定了.应怎么解决呢?

Ivy lin:

回复 Ivy lin:

我的意思是这个在.cmd文件中要怎么样改写啊,完全没有概念啊

请问专家:

我用样板工程Example_28335_Flash 加入程序文件.编译出错如下:

"C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/cmd/F28335.cmd", line 144: error: 

run placement fails for object ".ebss", size 0x3089 (page 1). Available
ranges:
RAML4 size: 0x1000 unused: 0x1000 max hole: 0x1000 .ebss : > RAML4 PAGE = 1 /* */
warning: entry-point symbol other than "_c_int00" specified: "code_start"
error: errors encountered during linking; "Example_28335_Flash.out" not built

如果我把 F28335.cmd 中   .ebss               : > RAML4      PAGE = 1  改为   .ebss               : > FLASHB      PAGE = 1

编译能通过.只有提示:warning: entry-point symbol other than "_c_int00" specified:  "code_start"

但仿真运行时出现下面问题:

C28xx: AutoRun: Target not run as breakpoint could not be set: Error programming AET Job: This task cannot be accomplished with the existing AET resources.

code_start:
.if WD_DISABLE == 1
LB wd_disable ;Branch to watchdog disable code   —–程序进入到这个位置
.else
LB _c_int00 ;Branch to start of boot.asm in RTS library
.endif

再往下就不确定了.应怎么解决呢?

Eric Ma:

回复 Ivy lin:

lvy,lin 关于合并RAM的某些段,例如

 RAMM0 : origin = 0x000050, length = 0x0003B0 /* on-chip RAM block M0 */

RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */

合并后就是

RAMM0M1 : origin = 0x000050, length = 0x0007B0 /* on-chip RAM block M0M1 */

即是把两段地址合在一起。

 

Eric

 

请问专家:

我用样板工程Example_28335_Flash 加入程序文件.编译出错如下:

"C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/cmd/F28335.cmd", line 144: error: 

run placement fails for object ".ebss", size 0x3089 (page 1). Available
ranges:
RAML4 size: 0x1000 unused: 0x1000 max hole: 0x1000 .ebss : > RAML4 PAGE = 1 /* */
warning: entry-point symbol other than "_c_int00" specified: "code_start"
error: errors encountered during linking; "Example_28335_Flash.out" not built

如果我把 F28335.cmd 中   .ebss               : > RAML4      PAGE = 1  改为   .ebss               : > FLASHB      PAGE = 1

编译能通过.只有提示:warning: entry-point symbol other than "_c_int00" specified:  "code_start"

但仿真运行时出现下面问题:

C28xx: AutoRun: Target not run as breakpoint could not be set: Error programming AET Job: This task cannot be accomplished with the existing AET resources.

code_start:
.if WD_DISABLE == 1
LB wd_disable ;Branch to watchdog disable code   —–程序进入到这个位置
.else
LB _c_int00 ;Branch to start of boot.asm in RTS library
.endif

再往下就不确定了.应怎么解决呢?

Ivy lin:

回复 Eric Ma:

非常感谢,解决了

请问专家:

我用样板工程Example_28335_Flash 加入程序文件.编译出错如下:

"C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/cmd/F28335.cmd", line 144: error: 

run placement fails for object ".ebss", size 0x3089 (page 1). Available
ranges:
RAML4 size: 0x1000 unused: 0x1000 max hole: 0x1000 .ebss : > RAML4 PAGE = 1 /* */
warning: entry-point symbol other than "_c_int00" specified: "code_start"
error: errors encountered during linking; "Example_28335_Flash.out" not built

如果我把 F28335.cmd 中   .ebss               : > RAML4      PAGE = 1  改为   .ebss               : > FLASHB      PAGE = 1

编译能通过.只有提示:warning: entry-point symbol other than "_c_int00" specified:  "code_start"

但仿真运行时出现下面问题:

C28xx: AutoRun: Target not run as breakpoint could not be set: Error programming AET Job: This task cannot be accomplished with the existing AET resources.

code_start:
.if WD_DISABLE == 1
LB wd_disable ;Branch to watchdog disable code   —–程序进入到这个位置
.else
LB _c_int00 ;Branch to start of boot.asm in RTS library
.endif

再往下就不确定了.应怎么解决呢?

Mingxing yue:

回复 Eric Ma:

C28xx: AutoRun: Target not run as breakpoint could not be set: Error enabling this function: This task cannot be accomplished with the existing AET resources.

也出现类似错误,这是什么情况,我要是重启CCS就可以继续调试了

赞(0)
未经允许不得转载:TI中文支持网 » TMS320F28335 编译问题
分享到: 更多 (0)