Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

Force Code/Data to specific locations

Hi Guys

The idea here is to have a self-test program running from internal memory, that then calls a "user program" in flash. For this to work, the entry point for the "user program" needs to be fixed. Is it possible to do this at compiler/assembler or linker level?

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Jason,

    > Is it possible to do this at compiler/assembler or linker level?

    You can do this with your linker script file.

    Regards,

    --Scott