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.

RE: Convert .out to hex file

Other Parts Discussed in Thread: OMAPL138

Thanks Shankari for the reply. 

I am able to convert the files to the hex formats. But i am unable to pass control from one application to another. 

Would you be able to help me understand how can i do that. For the moment, i have two separate DSP applications (two CCS projects) running comfortably on their own in separate L2 spaces. I want application#1 to pass control to application#2. 

I tried declaring a function pointer in application#1 which would point to the memory location of main of application#2. Then i call that function thinking it would pass the control to that memory location. But this does not work. I manually tried to modify the stack pointer as well, but still it wouldn't work. 

Would appreciate some help. 

Thanks, 

AQ

  • Hi AQ,

    AQ said:
    I am able to convert the files to the hex formats. But i am unable to pass control from one application to another.

    Would you be able to help me understand how can i do that. For the moment, i have two separate DSP applications (two CCS projects) running comfortably on their own in separate L2 spaces. I want application#1 to pass control to application#2.

    Yes, you can do that. For example, you have two apps and you want to load one app first and then to jump into the second app.

    Please refer to the OMAPL138 starterware code in which the ( secondary)  bootloader has the DSP/ARM Entry point as a variable in which the user will give the address of the app to be run .

    For example: The following is the extract of a map file of the app to be jumped from the first app.

    --------------------------

    >> Linked Tue Sep 09 11:30:11 2014

    OUTPUT FILE NAME:   <timerCounter.out>

    ENTRY POINT SYMBOL: "Entry"  address: c1080000

    --------------------------

    Observe the "Entry address: c1080000" and use this address in your first app.

    For more info refer to processors.wiki.ti.com/.../OMAPL138_StarterWare_Booting_And_Flashing

    Regards,

    Shankari

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    --------------------------------------------------------------------------------------------------------

  • Thanks Shankari, 

    I really appreciate your help. Was able to do what was needed. 

    Thanks,

    AQ

    Note: TI forum, though helpful has the most trickiest of user interface. In this day and age, i think you guys should learn from other forums and make your forums more user friendly. 

  • Hi AQ,

    Glad to hear that you are able to do it.

    Thanks,
    Shankari.