AnsweredAssumed Answered

clarification on Paged RAM

Question asked by rahul krishna on Jan 30, 2015
Latest reply on Feb 1, 2015 by ZhangJennie

Hi everyone,

 

There is a fixed 8k RAM from 0x2000 to 0x4000. Iam using S12xEQ512 in which 32k is available. My doubt is let us say i have allocted a stack of 0x200. So it will occupy from 0x2000 to 0x2200 for stack allocation. And i keep on using my data memory and i exceed 8k RAM. What does the controller do? I think it will start occupying the paged RAM starting from lowest location. My main question is let us say the compiler has put an array of some 30 in the paged memory and i am not aware of it, While accessing the data should i treat it as same as data put in non paged ram or some special treatment is required i mean to say everyone time i have to see the map file?

 

Thanks and regards,

Outcomes