• 0

Cmod A7 35t MicroBlaze SPI flash boot doesn't work


Hi Guys,

I am following the instruction from Digilent about the booting MicroBlaze Project with SPI instruction, I got error right after I create the SREC_SPI_Bootloader using templete


after step 1.5, I got error:
"ddd.elf section `.rodata' will not fit in region `microblaze_0_local_memory_ilmb_bram_if_cntlr_microblaze_0_local_memory_dlmb_bram_if_cntlr'    ddd             C/C++ Problem"
"region `microblaze_0_local_memory_ilmb_bram_if_cntlr_microblaze_0_local_memory_dlmb_bram_if_cntlr' overflowed by 2864 bytes    ddd             C/C++ Problem"

I know this system only 4Mb Flash, so, the #define FLASH_IMAGE_BASEADDR  0x00300000. But, I even tried to change to  FLASH_IMAGE_BASEADDR  0x00000001, system still report me the same error.

Here is my system setup:


I am using 16K data cache and instruction cache. 

There is no error with "Hello word" project, I could run with no issue.

Did some one have this same issue or any suggestion for this?


Edited by Taisen
Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
On 8/26/2016 at 2:24 PM, jpeyron said:

Hi Taisen,

I was able to duplicate the error with your design. This is with microblazed local memory and cache set at 16k. If you up the local memory to 32k and keep the cache at 16k you will not get this error.

thank you,


Thanks Jon, sorry for the late answer, this works for me, I changed the size and it will not report error anymore. Many thanks!!!

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now