AnsweredAssumed Answered

What are the differences between S12G and S12DG memory mapping?

Question asked by Ganesh Vijaya Kumar Puppala on Jun 10, 2016
Latest reply on Jun 15, 2016 by Radek Sestak

Hi,

 

I am facing problem while porting a project from S12DG to S12G micro and not able to correlate the address used between the projects linker .prm files.

 

In S12G linker prm file I have a section PAGE 8 defined as mentioned below,

ROM_PAGE08 = READ_ONLY 0x00088000 TO 0x0008BFFF;

But in S12DG linker prm file the same PAGE 0x8 is defined as section mentioned below,

PAGE38 = READ_ONLY 0x388000 TO 0x38BFFF;

 

So, I am not able to understand why it is mentioned PAGE 0x38 instead of PAGE 0x8?

 

I want to know how the local address is resolved from the Global address or alternative addressing in S12DG micro.

 

Thanks in advance,

 

Regards,

Ganesh Vijaya Kumar P

Outcomes