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.

TMS320F280041C: How to run application located at 0x0008-3000

Part Number: TMS320F280041C

Hi,

My project needs to implement customized bootloader for update application,

address 0x00080000 ~~ 0x00082FFF for bootloader ( loaded from flash and  run on RAM)

address 0x00083000 ~~ 0x0008FFFF for application

after bootloader got the whole application by SCI with Host PC and wrote the application image into flash (0x00083000-0x0008FFFF),

 what should I do to run the application located address at 0x00083000?

thanks

Guang Jun

 

   

  • Guang,

    I think you can force PC jump to address 0x00083000 if the integrity of application is good.

    Here is an example that using function pointer to realize what you want. 

    typedef void (*FUNC_PTR)(void); 

    FUNC_PTR func_ptr = (FUNC_PTR)0x00083000;
    func_ptr(); /* jump to address 0x00083000 */

    Regards,

    Jack