Posted by GA on September 13, 2002, 10:08:52 GA --Previous Message--
Take a look at apps note 113. This describes a utility (downloadable) that converts a s-record file into a constant C array. So, link the RAM based code to the correct RAM addresses and have the linker output a Motorola s-record format file. Convert to an array. Include the array in the main application. At runtime copy the contents of array from Flash into the RAM addresses the code was originally linked for. The RAM based routines can be called via a function pointer.
: In app note 125 it says:
: "user mode typically runs
: routines from internal RAM that
: have been copied from Flash memory
: which means that these routines
: must be linked for RAM but
: relocated and stored in
: Flash."
: Do anyone have any code examples or
: documents that shows how to do
: this ?
:
:
Message Thread:
![]()
« Back to thread
Evaluation Kit Support
Renesas Evaluation Boards are intended for evaluation of Renesas microprocessors only, not as development tools.