Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

"__attribute__((section(".SDRAM")))" problem

Hi all,

I'm trying to allocate a buffer in SDRAM using the declaration:

volatile int buff1_app[1280] __attribute__((section(".SDRAM")));

in SOPC i've defined a SDRAM controller named "sdram".

I've set the reset address of my system in flash, exception address,program and data memory resides in SDRAM. When i compile i receive the error message:

*** [ext_flash.flash] Error 5

H320_prove Error 5-mag-2005 12.29.36 - * *** [ext_flash.flash] Error 5 Boot copier overlaps data in flash H320_prove line 0 Error

5-mag-2005 12.29.36 - * Boot copier overlaps data in flash Error generating Flash file, exiting H320_prove line 0

if i define the buffer:

volatile int buff1_app[1280] ;

everything works fine.

Any suggestion?

14 Replies