Thank you very much for your help!
 
I had found these scripts, and I tried an "easy" solution, I modified the 
lenght of different sections in order to "lie" the linker and not to get the 
error message, but it doesn´t work. 
But your answer has clarified that only the linker controls the memory size, I 
wasn´t sure if there was other scripts to control it.
 
I will try to look for more information about using  a fake platform, I haven´t 
found any solution in the forum at all, but I will go on. 
 
Thank you!

________________________________

De: Eric Decker [mailto:[EMAIL PROTECTED] 
Enviado el: jueves, 05 de junio de 2008 8:14
Para: Gracinda García Lago
CC: [email protected]
Asunto: Re: [Tinyos-help] RAM size memory


Actually, it isn't the compiler that knows about memory but rather the linker.  
It is the linker that is generating the error message.

Anyway the way the linker knows where things live is via linker scripts.  For 
example the linker script for the MSP430F1611 is 
/opt/msp430/msp430/lib/ldscripts/msp430x1611.x and it defines where the 
different memory regions live.

eric


On Tue, Jun 3, 2008 at 1:38 AM, Gracinda García Lago <[EMAIL PROTECTED]> wrote:


        Eric, thank you for your answers!
         
        But, maybe you can clarify something more.
         
        You have told me that the compiler doesn´t control the memory size, it 
only counts bytes, but... how can the compiler know if it is out of memory or 
not?If the compiler knows that it is out of memory I think that it has to know 
something about limits for memory size...
        Sorry if I am insisted on this doubt but I am trying to know how the 
compiler works... 
        I have found some files (msp430x16x.h...) where the interrupt vectors, 
flags, SFR...are defined for every model for msp430 family, but I din´t find 
any information related to limits for memory size. 
         
        We are trying to compile a profile, but we think that we don´t have 
enough memory because when we make it, an error message appears,  it has been 
reported before " ...build/tmote/main.exe: section vectors lma 0xffe0 overlaps 
previous sections..." 
        I have read about this ,  and people has solved this problem removing 
some components, we know that the component that is increasing the memory size 
is Deluge component, but we need it and we can´t remove it...so I have read 
about doing a fake platform that could give us information about how much 
memory we need. (we are thinking about choosing a micro with higher ram memory 
but we need more information about memory requirements)
        
http://www.mail-archive.com/[email protected]/msg03045.html
        Do you know how can I do that? how can I define a fake platform with 
other memory size limits and the same hardware characteritics? 
         
        I am reading about Deluge and TSync components in order to know if we 
can remove something more, or we need to get a higher RAM memory.
         
        Thank you very much for your help.
         
        Graci

        _______________________________________________
        Tinyos-help mailing list
        [email protected]
        https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
        




-- 
Eric B. Decker
Senior (over 50 :-) Researcher
Autonomous Systems Lab
Jack Baskin School of Engineering
UCSC

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to