Hi,
Many thanks for replying. I will try to clarify my problem.
My project works fine using the External Ram LCF, where everything (code and data) goes into the external SDRAM at 0x40000000.
Now that I have finished debugging, I want to place the code into External Flash, and use External SDRAM for runtime variables. My Ram requirement is greater than the 128Kb on-chip.
I want the memory map to be as follows:
MEMORY {
vectorrom (RX) : ORIGIN = 0x00000000, LENGTH = 0x00000400
cfmprotrom (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000020
code (RX) : ORIGIN = 0x00000500, LENGTH = 0x0001FB00
vectorram (RWX) : ORIGIN = 0x80000000, LENGTH = 0x00000400
userram (RWX) : ORIGIN = 0x40000000, LENGTH = 0x04000000
}
This is identical to the CodeWarrior example stationery, except I have moved the 'userram' segment into External SDRAM at 0x4000000 (previously it was at 0x80000400 length 0x00007C00).
My project links with no errors, but after flashing with CF Flasher it doesn't run. CF Flasher works with another example, so I am confident I am using it properly.
Thanks,
Chris.