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

help Running image from FLASH directly in cyclon ii

Altera_Forum
Honored Contributor II
1,209 Views

My requirement is to validate DDR RAM. Can anyone help to run boot image directly from FLASH instead of copying it to RAM using boot copier in cyclone ii . I have to validate RAM(writing some contents to all RAM cells and read back), for this i need to run a application from flash

0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
503 Views

you can run a software directly from a parallel (cfi) flash, but not from a serial (epcs) one. 

However if you reduce your code to the maximum (turn on optimisations, use the small c library, reduced drivers) you should be able to fit a memory test software in an on-chip memory.
0 Kudos
Altera_Forum
Honored Contributor II
503 Views

Thank you very much for the reply. we have 16 MB parellel flash so size is not a constraint.To do that do i need to change boot copier to jump to flash itself( i tried this and it failed to run) or can i create S/W without boot copier itself. please advise how can i achieve this

0 Kudos
Altera_Forum
Honored Contributor II
503 Views

I think you can have a project without boot copier. In the SOPC system, double click on the CPU and put the reset vector in the flash (and adjust the offset, depending on where you want to put the software). The exception vectors should still be in RAM. 

With this setup no bootloader should be added in the system.
0 Kudos
Reply