Forum Discussion
Altera_Forum
Honored Contributor
21 years agoRun from flash and use flash device driver?
I'm planning to store my program in flash and also store data using the flash device driver. Individually everything works: I can run out of RAM and write data to flash. If I run from flash (e.g....
Altera_Forum
Honored Contributor
21 years agoScott,
Your're right, of course, I should have thought of that. I learned it the hard way by forcing the flash driver to initialize and then crashing when the driver tried to read the flash configuration data back from the device. My next plan of attack is to do this: - Run the driver initialization from a RAM segment, which will then get reused as a scratch buffer - Run the flash write routine from a small RAM segment. I might even copy the routine from flash to RAM each time I need it but only if we get desparate for RAM Thanks, Andrew