AnsweredAssumed Answered

output executable code files

Question asked by mshearer123 on Feb 1, 2010
Latest reply on Feb 2, 2010 by mshearer123



I would like to be able to create executable code files, With the idea that I could read them into local memory during runtime and execute.

I have no idea how to go about doing this, or if indeed it is possible.


So basically how do i go about outputting a small program such as:


#include <ccblkfn.h>

void main( void )


    *pFIO2_DIR = 0xFFFF;

    *pFIO2_FLAG_D = 0x0001;



which i can store in external memory, such as flash, load into main memory when needed and execute.


thanks for any advice,