Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHow can I allocate a variable to a specific section?
I want a variable to be allocated in the on-chip RAM. I have all sections (.text, .rodata, .rwdata, .heap, and .stack) in DDR2_SDRAM in the auto-generated linker script. I define a global varia...
Altera_Forum
Honored Contributor
16 years agoAre you reading from a CFI flash device? If so, then there's no need to use the HAL's flash layer to read from it. You can use memcpy (or the like) directly.
If you're reading from a serial flash, are you checking the return code of alt_read_flash? Are you "opening" your flash properly...and checking the return codes there, as well? Best Regards and Good Luck! - Brendan