cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
11,152 Views
Registered: ‎10-04-2007

EDK help me

"WARNING:MDT - Elf file C:\........\executable.elf does not reside

completely within BRAM memory of processor ppc405_0.

WARNING:MDT - The sections of ELF residing outside BRAMs must be initialized

separately using a debugger, a bootloader, or an ACE file"

 

my system.mhs :
------------------------------------------------------------------------------------------------------------------------------------------------------------
BEGIN isocm_v10
 PARAMETER INSTANCE = iocm
 PARAMETER HW_VER = 2.00.a
 PARAMETER C_ISCNTLVALUE = 0x81
 PORT ISOCM_Clk = sys_clk_s
 PORT sys_rst = sys_bus_reset
END

BEGIN isbram_if_cntlr
 PARAMETER INSTANCE = iocm_cntlr
 PARAMETER HW_VER = 3.00.a
 PARAMETER C_BASEADDR = 0x24800000
 PARAMETER C_HIGHADDR = 0x24800fff
 BUS_INTERFACE ISOCM = iocm
 BUS_INTERFACE DCR_WRITE_PORT = isocm_porta
 BUS_INTERFACE INSTRN_READ_PORT = isocm_portb
END

BEGIN bram_block
 PARAMETER INSTANCE = isocm_bram
 PARAMETER HW_VER = 1.00.a
 BUS_INTERFACE PORTA = isocm_porta
 BUS_INTERFACE PORTB = isocm_portb
END

BEGIN dsocm_v10
 PARAMETER INSTANCE = docm
 PARAMETER HW_VER = 2.00.a
 PARAMETER C_DSCNTLVALUE = 0x81
 PORT DSOCM_Clk = sys_clk_s
 PORT sys_rst = sys_bus_reset
END

BEGIN dsbram_if_cntlr
 PARAMETER INSTANCE = docm_cntlr
 PARAMETER HW_VER = 3.00.a
 PARAMETER C_BASEADDR = 0xe8800000
 PARAMETER C_HIGHADDR = 0xe8801fff
 BUS_INTERFACE DSOCM = docm
 BUS_INTERFACE PORTA = dsocm_porta
END

BEGIN bram_block
 PARAMETER INSTANCE = dsocm_bram
 PARAMETER HW_VER = 1.00.a
 BUS_INTERFACE PORTA = dsocm_porta
END
-----------------------------------------------------------------------------------------------------------------------------------------------------

Please help me to solve this warning , because i think that this warning influence my project....THANK YOU
0 Kudos
6 Replies
Highlighted
Xilinx Employee
Xilinx Employee
11,113 Views
Registered: ‎08-07-2007

Hi,
 
If your applicaiton is samll to fit into the BRAM, you can use the Linker Script to map your application completely into BRAM.
 
If your BRAM is not large enough to store your application, you have to map your application to an external memory. Then you can use XMD to download the application to the external memory.
 
--XF
0 Kudos
Highlighted
Visitor
Visitor
11,105 Views
Registered: ‎10-24-2007

Hi,

You are right xiaofeip, but the MHS file shown above does not include any memory controller except for BRAM. This means the considered system may not have any external memory.

Dongtrungtao, does the board you work on has an external memory? (SDRAM? SRAM? ZBT SRAM ..? FLASH ?)

Hope this helps,

Nicolas


0 Kudos
Highlighted
Observer
Observer
11,081 Views
Registered: ‎10-04-2007

Thank you very much..Yes , my board has DDR_SDRAM_32Mx32...but i don't know how use it . I have to use DDR_SDAM_32Mx32 for what (data , sdata.......)because i see that in "linker scripts" have many things ????........And you can tell me "if i completed file "linker scripts" ---> i have to  download project to board ----> open XMD debugger ---> connect target---->dowoad---->run---->my project will complete and on my board will display what i created ????????????????????????/????????????? because i working with TFT and i want it display ASCII ( I found code C about ASCII for TFT on internet)...THANKS
0 Kudos
Highlighted
Observer
Observer
11,070 Views
Registered: ‎10-04-2007

And can you tell me how download application to external memory by using XMD . And i have to uncheck "Mark to initializes BRAMS"or check "Mark to initializes BRAMS"????????? . Because i try to use it but you can see figure


0 Kudos
Highlighted
Explorer
Explorer
11,065 Views
Registered: ‎08-30-2007


Hello...

1. Uncheck the "Mark to initilize BRAMs" of the project that you want to place in the DDR
2. Use a custom Linker script or if you use the default just put the start address of your DDR to the "Program Start Address Field"
3) Build Project
4) Download bit file and use the bootloop program to initilize the BRAMs
5) Open XMD and go to the folder that your elf file is located (cd..    e.t.c)
6) dow executable.elf
7) run

I hope that helps....

George

0 Kudos
Highlighted
Observer
Observer
11,043 Views
Registered: ‎10-04-2007

Thank your replies , i finished my project . Thank you very much

0 Kudos