[En-Nut-Discussion] area 'text' not large enough

Brett Abbott Brett.Abbott at digital-telemetry.com
Thu Jul 20 00:13:37 CEST 2006


Per

Please try it with the ICC compression option turned on.  
(Project->Options->Compiler Tab-> Enable Compression)

ICCAVR demo version doesnt support 128K (just 64K) but with compress 
option on it is thought to be ok.

Please post a reply to the list if this works so others can know.

Cheers
Brett

Per Eklund wrote:
> Hi all!
>
> This is my first post to this forum but I have been reading it for a while now and I have fond the EtherNut "concept" very interesting.
>
>
> I got my first board today (1.3g) and I have tested almost the whole day :-) 
> It works perfekt with AVR-GCC but I have problem to compile with ICCAVR and I would like to use this compiler because of the debugging with AVR JTAG ICE. It is the Demo-version of ICCAVR by the way.
>
> I have read http://www.ethernut.de/en/iccavr/index.html and gone throu the setup several times now, but I always end up with this:
>
> C:\iccv7avr\bin\imakew -f HTTPD.mak
> iccavr -c -Ic:\ethernut-4.0.3\nutbld_icc\include -Ic:\ethernut-4.0.3\nut\include -e -D__ICC_VERSION="7.06B" -DETHERNUT1 -D_MCU_enhanced -D__HARVARD_ARCH__ -DATMEGA -DATMega128 -l -g -Mavr_enhanced C:\ethernut-4.0.3\nutapp_icc\httpd\urom.c
> iccavr -c -Ic:\ethernut-4.0.3\nutbld_icc\include -Ic:\ethernut-4.0.3\nut\include -e -D__ICC_VERSION="7.06B" -DETHERNUT1 -D_MCU_enhanced -D__HARVARD_ARCH__ -DATMEGA -DATMega128 -l -g -Mavr_enhanced C:\ethernut-4.0.3\nutapp_icc\httpd\httpserv.c
> iccavr -o HTTPD -Lc:\ethernut-4.0.3\nutbld_icc\lib -g -ucrtatmegaram.o -bfunc_lit:0x8c.0x10000 -dram_end:0x10ff -bdata:0x1100.0x7fff -dFRAM:1 -dhwstk_size:16 -beeprom:0.4096 -fihx_coff -ucrtenutram.o c:\ethernut-4.0.3\nutbld_icc\lib\nutinit.o -S2 @HTTPD.lk -lnutpro -lnutfs -lnutnet -lnutos -lnutdev -lnutcrt -lnutarch -lcatmega
> want size 8778
> lo 59110 hi 65535 size 6426
> lo 65536 hi 65536 size 1
> !E <library>(12127): area 'text' not large enough
> want size 806
> lo 65332 hi 65535 size 204
> lo 65536 hi 65536 size 1
> !E <library>(12127): area 'text' not large enough
> want size 996
> lo 65332 hi 65535 size 204
> lo 65536 hi 65536 size 1
> !E <library>(12127): area 'text' not large enough
> want size 990
> lo 65332 hi 65535 size 204
> lo 65536 hi 65536 size 1
> !E <library>(12127): area 'text' not large enough
> C:\iccv7avr\bin\imakew.exe: Error code 1
> Done: there are error(s). Exit code: 1
>
>
> Does any one of you know how to fix this problem?
> I would be very greatful if there is a solution. 
>
> Regard Per Eklund
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>
>
>   

-- 
-----------------------------------------------------------------
Brett Abbott, Managing Director, Digital Telemetry Limited
Email: Brett.Abbott at digital-telemetry.com
PO Box 24 036 Manners Street, Wellington, New Zealand
Phone +64 (4) 5666-860  Mobile +64 (21) 656-144
------------------- Commercial in confidence --------------------





More information about the En-Nut-Discussion mailing list