I guess its not working optimization is already enable :( On Thu, Dec 2, 2010 at 10:35 PM, Eric Decker <[email protected]> wrote:
> > > On Thu, Dec 2, 2010 at 12:22 PM, wasif masood <[email protected]> wrote: > >> >> Hi All, >> >> My code size exceeds upto 42k on telosb platform. During code execution I >> was facing some memory overlap problems, during the process of debuging, I >> tried compiling my code with safe deputy i.e. make telosb safe and suddenly >> I encoured this error: >> > > The telosb uses a msp430f1611 which has 48K of ROM (flash) and 10K RAM. > > >> >> msp430-ld: region text is full (build/telosb/main.exe section .text) >> msp430-ld: section .vectors [0000ffe0 -> 0000ffff] overlaps section .text >> [00004000 -> 000102ef] >> msp430-ld: build/telosb/main.exe: section .vectors lma 0xffe0 overlaps >> previous sections >> >> aparently memory full, but m code size is 42K. >> > > The code that the linker is putting into .text (ROM) has exceeded how much > space exists. You can actually have code > from 0x4000 to 0xffdf. The interrupt vectors live in .vectors from > 0xffe0 to 0xffff. > > >> What could possibly go wring here? I dont think "safe" consumes 6k memory? >> > > Doesn't matter that is what has happened. > > Do you have optimization turned on? If not turn that on. It should > already be on But if not try "make debugopt telosb". > > It is my understanding that safe generates run time code that does dynamic > checking of machine state. So it could generage > 6K. > > > >> -- >> Wasif Masood >> >> >> _______________________________________________ >> Tinyos-help mailing list >> [email protected] >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> > > > > -- > Eric B. Decker > Senior (over 50 :-) Researcher > > > -- Wasif Masood
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
