Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

scatter-file: Region-related symbols

Good evening,

I want to test my own scatter-file with the functions on this page.

http://www.keil.com/support/man/docs/armlink/armlink_chdcgbjd.htm

the values I get are wrong or I don't understand the meaning of these values.

First of all here is my scatter-file.

LOAD 0x10000000 0x003FFFFF
{

        EXT_FLASH 0x10000000 0x003FFFFF
        {
                *.o (RESET, +First)
                *(InRoot$$Sections)
                .ANY (+RO)

        }

        EXT_SRAM 0x20000000 0x03FFFFFF
        {
                phy_init.o (+RW, +ZI)

        }


        INT_RAM 0x200000 0x000FFFFF
        {
                .ANY(+RW +ZI)
        }
}

Image$$INT_RAM$$RW$$Length = 0xE59FF018
Image$$INT_RAM$$ZI$$Length = 0xFFFFFFFF

Image$$EXT_FLASH$$RW$$Length = 0xE59FF018
Image$$EXT_FLASH$$ZI$$Length = 0xE59FF018
Image$$EXT_SRAM$$Length = 0xE100000

Image$$INT_RAM$$Base = 0x00000000
Image$$EXT_FLASH$$Base = 0xE59FF018
Image$$EXT_SRAM$$Base = 0x00000000

Image$$EXT_SRAM$$Limit = 0x00000000
Image$$EXT_FLASH$$Limit = 0x00000000
Image$$INT_RAM$$Limit = 0x00000000

Ì don't understand these values. Why is the limit always 0x00000000??? The size of the RAM would overwrite everything... Are there so stupid errors in my scatter-file?

Could somebody of you unearth the truth for me?

best regards
Chris

Parents
  • ok I get my error - I forgot to install the address-operator...

    But one question remained: Why is the length of the RW-data (external Flash) and the ZI data of the external Flash 0x00000000?

    The flash limit is 0x100010DC.

    best regards
    Chris

Reply
  • ok I get my error - I forgot to install the address-operator...

    But one question remained: Why is the length of the RW-data (external Flash) and the ZI data of the external Flash 0x00000000?

    The flash limit is 0x100010DC.

    best regards
    Chris

Children
No data