AnsweredAssumed Answered

MPC57xx Linker m_dflash and m_text

Question asked by Christopher Holland on Aug 30, 2018

I am trying to understand the linker file.

I am curious to know why m_dflash and m_text are only certain sizes.

 

1. m_text

 

In the linker file, I see m_text defined as:

m_text : org = 0x01000000, len = 1280K

1280K : 1280 * 1024 = 1310720d = 0x140000

So, that would mean m_text only covers Read Partition 6 and not Read Partition 7.

I would think its supposed to cover all of Read Partition 6 and Read Partition 7?

 

2. m_dflash 

In the linker file, I see data flash defined as: 

m_dflash :  org = 0x00F90000, len = 96K    /* data flash memory segment */   

96 * 1024 = 98304 = 0x180000

So F90000 + 180000 = FA8000

That means m_dflash covers all of partition 2 and half of partition 3.

Shouldn't m_dflash cover all of partition 3?

 

 

Thank you,

Outcomes