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.

CCS/TMS320VC5510A: How to make software reset with GEL file?

Part Number: TMS320VC5510A

Tool/software: Code Composer Studio

Hello:

How to make "software reset" in GEL file? 

Like assembly, ASM(" reset ");

I have try to the "GEL_Reset()",  but it works like hard reset.

I'm using the CCS 7.1.

Thanks.

  • According to Code Composer User's guide:
    www.ti.com/.../spru296.pdf
    GEL_Reset() function resets the target system and reloads the monitor. Note that this is a software reset. This should be investigated additionally.
    You can try to use GEL_Restart() function which resets the program to its entry point.

    BR
    Tsvetolin Shulev
  • Hello Shulev:

    Thanks much for your supporting.

    I have try the GEL_Reset(). But it will reset the registers "IVPD" and "IVPH" to "0xFFFF".
    So it is different to the asm(" reset ")

    I need to make a software reset in C5510A with GEL, change stack mode, by reload the ".ivec _c_int00,USE_RETA". The statement is in address of 0x10000 in the RAM.

    And GEL_Restart() function just resets the program to its entry point. So it can't switch stack mode.

    Thanks.