Dear Carlos Musich,
Thanks for your support.
- For the second problem --> " bareboard project configurations(Both Code and Data in DDR2)" -- > is configured & working fine.
You are guided Initialized data(.data) sections is move to Ext_DDR2 memoy, but we need all data section(.bss, .data, stack and heap) is move to Ext_DDR2 memory.
Based on our requirement i have modified project for the bellow configurations with your guidance,
1) memory segment of linker file
Default Linker File for FLASH+RAM Project
/* Highest address of the user mode stack */
_estack = 0x20000000; /* end of lower SRAM */
__SP_INIT = _estack;
MEMORY
{
m_interrupts (rx) : ORIGIN= 0x00000000, LENGTH= 0x1E8
m_cfmprotrom (rx) : ORIGIN= 0x00000400, LENGTH= 0x10
m_text (rx) : ORIGIN= 0x00000800, LENGTH= 1M - 0x800
m_data (rwx) : ORIGIN= 0x1FFF0000, LENGTH= 64K
m_data2 (rwx) : ORIGIN= 0x20000000, LENGTH= 64K
}
I have modified the Linker File for FLASH+DDR2 Project configuration
_estack = 0x08010000;
__SP_INIT = _estack ;
MEMORY
{
m_interrupts (rx) : ORIGIN= 0x00000000, LENGTH= 0x1E8
m_cfmprotrom (rx) : ORIGIN= 0x00000400, LENGTH= 0x10
m_text (rx) : ORIGIN= 0x00000800, LENGTH= 1M - 0x800
m_data (rwx) : ORIGIN= 0x08000000, LENGTH= 64K
m_data2 (rwx) : ORIGIN= 0x08010000, LENGTH= 64K
}
2) Sections Segment of linker is same for Default FLASH+RAM Project
3) Modified initialization Files as mentioned in Appendix C and D of the document
while debugging the program for the above configuration it will jump to Default_Handler() at the time of zero_fill_bss() function called.
because .bss count is getting zero. (__END_BSS - __START_BSS = 0)
Where i have mistake, How to solve?
Thanks.