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

Using external ram for RW

Hello Sir,

I am using LPC2214 on which external ram is configured. In my program i have used internal ram(16K) for only .data section and used external ram (128K)for the .bss section. I am not able to configure the startup.s. I am getting warnings like below.

test.sct(27): warning: L6314W: No section matches pattern eeprom.o(ZI).
test.sct(27): warning: L6314W: No section matches pattern eeprom.o(RW).
test.sct(31): warning: L6314W: No section matches pattern init_Mar2014.o(ZI).
test.sct(31): warning: L6314W: No section matches pattern init_Mar2014.o(RW).
Program Size: Code=146904 RO-data=52 RW-data=224 ZI-data=92872

Parents
  • Did your real scatter file really look like this - with no identation?

    Reposting the same text after the web server have already muched on the text doesn't give the same result as if you are careful and post the data directly from the scatter file - and look at the preview.

    For example:

    config_FSU_data_26May2014.o (+ZI +RW) e   <=== this e shouldn't be here
    eprom.o (+ZI +RW)    <=== and this file should be eeprom.o, shouldn't it?
    

    Remember that if you don't post the verbatime, and exact, contents of your scatter file, then the line numbers you mention in your first post does not make sense.

    One thing I'm a bit confused about is if Keil has changed their tools. You say you didn't modify the scatter file. But it contains a huge list of files. They normally manage almost everything with just the rules

        *.o (RESET, +First)
        * (InRoot$$Sections)
        .ANY (+RO)
    


    and

        .ANY (+RW +ZI)
    


    without listing any actual object file names. Explicit object file names is what you need to list when you want to force a specific order or force a specific file to have the content in a specific memory region.

Reply
  • Did your real scatter file really look like this - with no identation?

    Reposting the same text after the web server have already muched on the text doesn't give the same result as if you are careful and post the data directly from the scatter file - and look at the preview.

    For example:

    config_FSU_data_26May2014.o (+ZI +RW) e   <=== this e shouldn't be here
    eprom.o (+ZI +RW)    <=== and this file should be eeprom.o, shouldn't it?
    

    Remember that if you don't post the verbatime, and exact, contents of your scatter file, then the line numbers you mention in your first post does not make sense.

    One thing I'm a bit confused about is if Keil has changed their tools. You say you didn't modify the scatter file. But it contains a huge list of files. They normally manage almost everything with just the rules

        *.o (RESET, +First)
        * (InRoot$$Sections)
        .ANY (+RO)
    


    and

        .ANY (+RW +ZI)
    


    without listing any actual object file names. Explicit object file names is what you need to list when you want to force a specific order or force a specific file to have the content in a specific memory region.

Children
No data