AnsweredAssumed Answered

linera ram paging doubt

Question asked by ruby krishna on Jun 19, 2012
Latest reply on Jun 22, 2012 by ruby krishna

Hi ,

 

       I have doubt in linear ram addresing

 

 for ex:

 Im using MC9S12XEQ512  microcontroller where the ram memory is 32kb.

 

where 8kb is non-paged ram and remaining 24kb belongs to paged ram

 

 

 my placement in linker file goes like this

 

case 1:

 

.stack,

.shared data,

.default ram

                               into RAM ,RAM FD

 

if i declare a huge array which is shared between both non-paged and paged ram?  my microcontroller is getting reset!!!

 

so my doubt whether a large array can share RAM ( WHICH IS NON PAGED) and RAM_FD( paged) ??.....

 

 

 

 

2. Whether ram jumping should be linear i.e

 

 

RAM FF (NON PAGED) - > RAM FE( NON PAGED) -> RAM FD(PAGED) ->RAM FC(PAGED). ->RAM FB(PAGED)....

Outcomes