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 SDRAM MT48LC4M32B2-6 with LPC2478

Hello All,

1. I am interfacing SDRAM MT48LC4M32B2 with LPC2478. I am able to initialize it and test it in main() function without including it in scatter file.

Below is my problem statement........................................................
.....................................................................................
2. i want use it as DATA, HEAP and STACK sections. hence added in scatter file and initialised in LPC2400.s
but it can't work.

Below is scatter file................................................................
.....................................................................................
; *************************************************************
; *** Scatter-Loading Description File generated by uVision ***
; *************************************************************
LR_IROM1 0x00000000 0x00080000 { ; load region size_region ER_IROM1 0x00000000 0x00080000 { ; load address = execution address *.o (RESET, +First) *(InRoot$$Sections) .ANY (+RO)
}

RW_IRAM1 0x40000000 0x00010000
{ .ANY (+RW +ZI)
} RW_IRAM2 0x7FE00000 0x00004000 { .ANY (+RW +ZI)
}

RW_RAM1 0xA0000000 0x01000000 { ; RW data .ANY (+RW +ZI)
}

ARM_LIB_HEAP 0xA0100000 EMPTY 0x8000
{ }

ARM_LIB_STACK 0xA0110000 EMPTY -0x8000
{ }
} scatter file end.....................................................................
.....................................................................................