This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

calling flash functions from ram?

I am working on 28335, during code development  i have to rewrite operation many times so i've to use ram. my code size is longer than the ram capacity. 

Some functions of my program are completed and tested. I want to write these functions to flash memory only once. Is it possible that to rewrite the other uncompleted functions and main block of the code to ram and call funcitons on flash.

  • If you don't want to put your uncompleted functions and main block to the flash, you have the following choices:

    • Use debugger to load RAM-part of functions (check Run -> Debug Configurations -> Target -> F28xxx Flash Settings -> Load RAM Only). This is the easiest way.
    • Use own onflash "load to ram" functions to place your new RAM-only code. It is complicated and will require a lot of work.