AnsweredAssumed Answered

Twofold SRAM memory in K64

Question asked by Andreas Schmidt on Jan 26, 2015
Latest reply on Dec 4, 2015 by Mark Butcher

Hi,

 

I found in the MQX 4.1.1 linker the following definition:

 

MEMORY

{

    vectorrom   (RX): ORIGIN = 0x00000000, LENGTH = 0x00000400

    cfmprotrom  (R): ORIGIN = 0x00000400, LENGTH = 0x00000020

    rom         (RX): ORIGIN = 0x00000420, LENGTH = 0x000FFBE0  /* Code + Const data */

    ram         (RW): ORIGIN = 0x1FFF0000, LENGTH = 0x00040000  /* SRAM - RW data */

...

}

 

In KDS 1.1.0 is the definition:

 

MEMORY

{

  m_interrupts          (RX)  : ORIGIN = 0x00000000, LENGTH = 0x00000400

  m_flash_config        (RX)  : ORIGIN = 0x00000400, LENGTH = 0x00000010

  m_text                (RX)  : ORIGIN = 0x00000410, LENGTH = 0x000FFBF0

  m_data                (RW)  : ORIGIN = 0x1FFF0000, LENGTH = 0x00010000

  m_data_2              (RW)  : ORIGIN = 0x20000000, LENGTH = 0x00030000

}

 

Is the KDS linker file the better definition, because the K64 SRAM is twofolded in a 64kb RAM and a 192KB RAM? What exactly is not allowed at the border of the two RAM areas?

 

Best Regards

Outcomes