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.

LAUNCHXL-F2800137: How to implement part of GEL file in actual program

Part Number: LAUNCHXL-F2800137

Tool/software:

I have this piece of code in my GEL file , to force this launchpad into SPI boot mode 

hotmenu EMU_BOOT_SPI()

{

    *(unsigned long *)0xD00 = 0x5AFFFFFF;

    *(unsigned long *)0xD02 = 0x5AFFFFff; 

    *(unsigned long *)0xD04 = 0xFFFFFF06;

    *(unsigned long *)0xD06 = 0xFFFFFFFF;

}

How do I do this in my actual program ?