Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20705 Discussions

memory assignment on a ddr-sdram

Altera_Forum
Honored Contributor II
1,031 Views

Hello, 

 

I have a C program which works but I would like to have a buffer stored on the ddr sdram. Thus, I used the function "__attribute__" 

The problem is that I would like my buffer size to be 640*480. 

 

unsigned int buffer_video [640*480] __attribute__ ((section (".ddr_sdram"))); 

 

When I do a 64*48 buffer, it works but for example, when doing a 90*50 buffer, I have the error : 

 

Verifying 00010000 ( 0%) 

Verifying 00013C2C (45%) 

Verify failed between address 0x13C2C and 0x1827B 

Leaving target processor paused 

 

Does someone have an idea ? 

 

Thanks, 

 

Myriam
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
290 Views

To precise my problem, it seems there are 3 steps : 

1. Little size buffer : it is working 

2. Middle size buffer : "verify failed... leaving target processor failed" 

3. Big size buffer : memory is full 

 

It does the same with my ssram. 

 

If you have an idea, please help me ! 

 

Myriam
0 Kudos
Reply