I have a Target Board powered by MCF5235 with the resources indicated by the following link.lcf section:
int_sram (RWX) : ORIGIN = 0x20000000, LENGTH = 0x00010000
int_sram_vector (RWX) : ORIGIN = 0x20000000, LENGTH = 0x00000400
int_sram_user (RWX) : ORIGIN = 0x20000400, LENGTH = 0x0000FBB0
int_sram_reset_data (RWX) : ORIGIN = 0x2000FFB0, LENGTH = 0x00000050
ext_flash (RWX) : ORIGIN = 0xFFC00000, LENGTH = 0x00400000
ext_flash_program (RWX) : ORIGIN = 0xFFC00000, LENGTH = 0x00100000
ext_flash_user (RWX) : ORIGIN = 0xFFD00000, LENGTH = 0x00300000
ext_sdram_user (RWX) : ORIGIN = 0x30000000, LENGTH = 0x00800000
ext_sdram_program (RWX) : ORIGIN = 0x80000000, LENGTH = 0x00800000
ipsbar (RWX) : ORIGIN = 0x40000000, LENGTH = 0x01
ext_fpga (RWX) : ORIGIN = 0x90000000, LENGTH = 0x00010000
Does anybody indicate me the proper file.cfg / file.mem that are necessary to use in the 'CF DEBUGGER SETTINGS' to initialize the Target board ?
(Now, I can't access to the SDRAM).
many thanks.
Stephen.
Hi Stephen
Find attached a cfg used in the EVB to init the on-board SDRAM. This might be seen as a starting point to use in your customized board
It will require a tunning in the SDRAM parameters, then you have homeowork
I think you can skip the mem file this time, but if you insist you can see the other attachment and adjust the memory boundaries.
Hope this helps
Paolo