Forum Discussion
Altera_Forum
Honored Contributor
20 years agoThe problem is:
Readonly data memory(.rodata) flash This means you'll have to program the flash in order to get the data there (the download/run process only works to volatile memory), and you'll have to do it anytime your statically declared data changes, as well.... NOT good for test/development! I'd advocate testing your code with rodata, in volatile memory, and then, if you need to locate it in flash, to conserve space, do it only when you're closer to release. You've also got to be aware that your performance will be less, when reading from the flash, as well. Cheers, - slacker