这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 综合技术 » 基础知识 » Too,much,object,code,produced,more,than,

共3条 1/1 1 跳转至

Too,much,object,code,produced,more,than,0x1000,byt 【求助】Too much object code prod

院士
2006-09-17 18:14:16     打赏
Too,much,object,code,produced,more,than,0x1000,byt 【求助】Too much object code produced (more than 0x1000 bytes) for this package问题



关键词: object     produced     0x1000     求助    

院士
2006-12-22 22:43:00     打赏
2楼
我使用IAR430 C语言开发MSP430F149程序,出现以下问题Too much object code produced (more than 0x1000 bytes) for this package 。那位大大知道问题出现在哪?

Rebuilding configuration: lici - Debug
D:\MSP430\励磁\Debug\Obj\dat.r43
D:\MSP430\励磁\Debug\Obj\main.r43
D:\MSP430\励磁\Debug\Obj\math.r43
D:\MSP430\励磁\Debug\Obj\func.r43

4 file(s) deleted.

dat.c
icc430.exe -I C:\Program Files\IAR Systems\Embedded Workbench 4.0\430\INC\ -I C:\Program Files\IAR Systems\
Embedded Workbench 4.0\430\INC\CLIB\ -o D:\MSP430\励磁\Debug\Obj\ -z2 --no_cse --no_unroll --no_inline
--no_code_motion --no_tbaa --debug -e --enable_multibytes --double=32 D:\MSP430\励磁\dat.c

IAR MSP430 C/C++ Compiler V3.21A/W32 [Kickstart]
Copyright 1996-2004 IAR Systems. All rights reserved.

216 bytes of CONST memory
8 bytes of DATA memory

Errors: none
Warnings: none

func.s43
a430.exe -OD:\MSP430\励磁\Debug\Obj\ -s+ -M<> -w+ -IC:\Program Files\IAR Systems\Embedded Workbench 4.0\430\
INC\ -r D:\MSP430\励磁\func.s43
Errors: 0
Warnings: 0
Bytes: 162

main.c
icc430.exe -I C:\Program Files\IAR Systems\Embedded Workbench 4.0\430\INC\ -I C:\Program Files\IAR Systems\
Embedded Workbench 4.0\430\INC\CLIB\ -o D:\MSP430\励磁\Debug\Obj\ -z2 --no_cse --no_unroll --no_inline
--no_code_motion --no_tbaa --debug -e --enable_multibytes --double=32 D:\MSP430\励磁\main.c

IAR MSP430 C/C++ Compiler V3.21A/W32 [Kickstart]
Copyright 1996-2004 IAR Systems. All rights reserved.
Warning[Pe177]: variable "lk" was declared but never referenced D:\MSP430\励磁\main.c 84
Warning[Pe001]: last line of file ends without a newline D:\MSP430\励磁\main.c 648
Warning[Pe177]: variable "tmp" was declared but never referenced D:\MSP430\励磁\main.c 635

2 468 bytes of CODE memory
18 bytes of CONST memory (+ 18 bytes shared)
215 bytes of DATA memory (+ 155 bytes shared)

Errors: none
Warnings: 3

math.c
icc430.exe -I C:\Program Files\IAR Systems\Embedded Workbench 4.0\430\INC\ -I C:\Program Files\IAR Systems\
Embedded Workbench 4.0\430\INC\CLIB\ -o D:\MSP430\励磁\Debug\Obj\ -z2 --no_cse --no_unroll --no_inline
--no_code_motion --no_tbaa --debug -e --enable_multibytes --double=32 D:\MSP430\励磁\math.c

IAR MSP430 C/C++ Compiler V3.21A/W32 [Kickstart]
Copyright 1996-2004 IAR Systems. All rights reserved.
Warning[Pe001]: last line of file ends without a newline D:\MSP430\励磁\math.c 392

2 064 bytes of CODE memory
66 bytes of CONST memory
94 bytes of DATA memory (+ 16 bytes shared)

Errors: none
Warnings: 1

Linking
xlink.exe D:\MSP430\励磁\Debug\Obj\dat.r43 D:\MSP430\励磁\Debug\Obj\func.r43 D:\MSP430\励磁\Debug\Obj\main.r43
D:\MSP430\励磁\Debug\Obj\math.r43 -o D:\MSP430\励磁\Debug\Exe\lici.d43 -IC:\Program Files\IAR Systems\
Embedded Workbench 4.0\430\LIB\ -f C:\Program Files\IAR Systems\Embedded Workbench 4.0\430\CONFIG\
lnk430F149.xcl -f C:\Program Files\IAR Systems\Embedded Workbench 4.0\430\config\multiplier.xcl
-D_STACK_SIZE=50 -rt C:\Program Files\IAR Systems\Embedded Workbench 4.0\430\LIB\CLIB\cl430f.r43
-D_HEAP_SIZE=50 -s __program_start

IAR Universal Linker V4.59F/386
Copyright 1987-2004 IAR Systems. All rights reserved.
Warning[w6]: Type conflict for external/entry "Rom_Para", in module main against external/entry in module dat; types
have different type attributes
/* In module main: */
unsigned int Rom_Para[3][36];
/* In module dat: */
unsigned int (const Rom_Para)[3][36];
Fatal Error[e89]: Too much object code produced (more than 0x1000 bytes) for this package

Fatal! Execution terminated...

Total number of errors: 1
Total number of warnings: 5 1: C语言有4k限制

菜鸟
2010-10-27 10:48:59     打赏
3楼
149的RAM是2K,0X1000为8K,超出了RAM容量,需要外加RAM扩展

共3条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]