RZ/A2M modify linker_script to use HyperRAM

May I modify the linker_script
Let Ram use HyperRAM
I directly modify the content.

Tested by Renesas EVB, it seems to be OK
But my own target board, it doesn’t work
Difference
EVB
S71KS512SC0,(1.8V, 512 Mb HyperFlash and 64 Mbit HyperRAM)
Target Board
S27KS0641DPBHI020 (64 Mbit HyperRAM)

Can an online expert give me some advice, Thank you.

Eric Hung

From

MEMORY {

    ROM                                     (rx)  : ORIGIN = 0x20010000, LENGTH = 0x04000000

    DATA_KEEP_REG             (rwx) : ORIGIN = 0x80000000, LENGTH = 0x00008000

    DATA_KEEP_RAM            (rwx) : ORIGIN = 0x80008000, LENGTH = 0x00008000

    MMU_PAGE_TABLE         (rw)  : ORIGIN = 0x80020000, LENGTH = 0x00004000

    HARDWARE_INIT_RAM (rwx) : ORIGIN = 0x80024000, LENGTH = 0x00003E00

    STACK                                 (rw)  : ORIGIN = 0x80028000, LENGTH = 0x00010000

    CACHED_RAM                 (rwx) : ORIGIN = 0x80038000, LENGTH = 0x001C8000

    DATA_RAM                      (rwx) : ORIGIN = 0x80200000, LENGTH = 0x00100000

    UNCACHED_RAM           (rwx) : ORIGIN = 0x82300000, LENGTH = 0x00100000

}

Modify.

MEMORY {

    ROM                                     (rx)  : ORIGIN = 0x20010000, LENGTH = 0x04000000

    DATA_KEEP_REG             (rwx) : ORIGIN = 0x40000000, LENGTH = 0x00008000

    DATA_KEEP_RAM            (rwx) : ORIGIN = 0x40008000, LENGTH = 0x00008000

    MMU_PAGE_TABLE         (rw)  : ORIGIN = 0x40020000, LENGTH = 0x00004000

    HARDWARE_INIT_RAM (rwx) : ORIGIN = 0x40024000, LENGTH = 0x00003E00

    STACK                                 (rw)  : ORIGIN = 0x40028000, LENGTH = 0x00010000

    CACHED_RAM                 (rwx) : ORIGIN = 0x40038000, LENGTH = 0x001C8000

    DATA_RAM                      (rwx) : ORIGIN = 0x40200000, LENGTH = 0x00100000

    UNCACHED_RAM           (rwx) : ORIGIN = 0x42300000, LENGTH = 0x00100000

}

Parents Reply Children