Forum Discussion
Altera_Forum
Honored Contributor
20 years agorunning sw in SDRAM
Hello, I want to use SDRAM for a small set of functions, toghether with big chunks of data. The rest of the software runs from SRAM. I verfied the correct working of the SDRAM, the instruc...
Altera_Forum
Honored Contributor
20 years agoI use SDRAM for most of my projects and have never had a problem. Looks like normal memory.
A few things to check: Maybe you have a screw-up with the stack or something. * Compile a program to run only from SDRAM. If that works then you might have screw-up pointers. * How have you compiled the code? Most of time the functions are not relocatable. Have you compiled the code for that specific location in SDRAM or just copied it there? *Where are the local variables stored? *When the function returns where does it return to? VictorS