Hi!
I want to run .bss section on the SDRAM of the RM48 board.
The uC is RM48L952LWTT.
The SDRAM is ISSI IS42S16400F http://www.issi.com/pdf/42S16400F.pdf.
Softs : HALCOEN v3.05 and CSSV5
What i've done :
/* Linker Settings */
--retain="*(.intvecs)"
/*----------------------------------------------------------------------------*/
/* Memory Map */
MEMORY{
VECTORS (X) : origin=0x00000000 length=0x00000020
FLASH0 (RX) : origin=0x00000020 length=0x0017FFE0
FLASH1 (RX) : origin=0x00180000 length=0x00180000
STACKS (RW) : origin=0x08000000 length=0x00001500
RAM (RW) : origin=0x08001500 length=0x0003EB00
SDRAM (RW) : origin=0x80000000 length=0x00800000
}
/*----------------------------------------------------------------------------*/
/* Section Configuration */
SECTIONS{
.intvecs : {} > VECTORS
.text : {} > FLASH0 | FLASH1
.const : {} > FLASH0 | FLASH1
.cinit : {} > FLASH0 | FLASH1
.pinit : {} > FLASH0 | FLASH1
.bss : {} > SDRAM
.data : {} > RAM
.sysmem : {} > RAM
}
In halcogen (linked in .zip) :
driver EMIF enabled
Emif_clk = 100 MHz
trc = 63ns
trp = trcd = twr = 20ns
tras = 42ns
trc = 63 ns
trrd = 14ns
txsr = 75ns (?)
refresh period = 64ms
refresh cycles = 4096
cas = 2
banks = 4
page size = 1024
PINMUX checkbox EMIF enabled (=> conflict on ball D17 between EMIF_nWE and EMIF_RNW)
What i have :
global variables have a strange behaviour (always NULL or with a value which never change).
1- Txsr is not referenced in the datasheet, what should be its value?
2- Where does emif_SDRAMInit() should be called? (for .bss section, then before global declarations).
3- What is the maximal frequency for Emif_clk?
4- And do you have and idea about my problem?
5- Maybe the conflict on ball D17 (pinmux)?
Thanks a lot, king regards!
Pierre.