06-05-2014 04:00 AM
I have large C++ project in SDK that overflows, because of this i used ddr2_sdram and 4K cach, but in SDK the board cannot be programed.
I have a XC5VLX50T fpga and at first i used 64 KB bram that was not anough for my C codes.
how can i program my board with ddr2_sdram_MPMC as Code Section?
06-05-2014 07:25 AM
Here is a part of error in SDK:
c:/xilinx/14.2/ise_ds/edk/gnu/microblaze/nt64/bin/../lib/gcc/microblaze-xilinx-elf/4.6.2/../../../../microblaze-xilinx-elf/bin/ld.exe: region `ilmb_cntlr_dlmb_cntlr' overflowed by 11048 bytes
collect2: ld returned 1 exit status
make: *** [SYSMON_cpp_0.elf] Error 1
And I have attached a image that shows my linker script settings in SDK.
I use ISE 14.2.
06-05-2014 08:06 AM
Excuse me, maybe my describtion was not good!
I want to place my C codes in ddr2_sdram instead of bram or ilmb_cntlr_dlmb_cntlr.
06-05-2014 09:05 AM
All you need to do is to use the drop-down in the generate linker script option for code to select ddr2.
Refer to the snapshot attached.
06-05-2014 11:32 PM
I did it. but programming the boared failes again as you see in the snapshot bellow.
what should i do?
06-05-2014 11:45 PM
The application is residing in the external memory. So when you program the FPGA using SDK, you should have bootloop.elf initialized. To program the FPGA, go to XIlinx TOols --> Program FPGA.
This is as shown here.