This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

code location (RAM or ROM) using keil

Hi,
i'm a beginner in embedded programming.
I have a program which runs in the flash memory.
my problem is that i want that some functions (for example add() sub() ) will be located in the ram, did someone knew how can i do that.
thx

Parents
  • in fact, it is not a choice : it's an obligation.
    i want to program an application wich allows the transition to power saving mode with an infineon XE166. there are mentionned steps to respect according to the manual,
    one of them : Function must be located in PSRAM via compiler directives.

    In fact its logical cause the program, in an advanced stage will be executed from PSRAM in order to switch off the Flash (that's why some functions must be located in PSRAM) just before going to sleep mode.

Reply
  • in fact, it is not a choice : it's an obligation.
    i want to program an application wich allows the transition to power saving mode with an infineon XE166. there are mentionned steps to respect according to the manual,
    one of them : Function must be located in PSRAM via compiler directives.

    In fact its logical cause the program, in an advanced stage will be executed from PSRAM in order to switch off the Flash (that's why some functions must be located in PSRAM) just before going to sleep mode.

Children
No data