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.

Hardcode the value of _c_int00

Other Parts Discussed in Thread: CC3200

Hi 

I am working on CC3200, and i am jumping from one application to another application in SRAM so i need _c_int00 for jump. My second application is TI-RTOS.

Problem is for every changes on application _c_int00 is changing. so i need to make changes in both application so i want to hard code the address of  _c_int00 of second application (TI-RTOS).

I tried by changing .cmd file but that is not working for me.. please guide me how can i achieve this?

Regards,

-Hardik

  • Hi Hardik,

    Which tool chain are you using (TI, IAR or GNU) ? If you are using TI tools, you can add the following code to your application's *.cfg file in order to place c_int00 at a fixed address:

    Program.sectMap[".c_int00 { boot.aem4<boot.oem4> (.text) }"] = new Program.SectionSpec();
    Program.sectMap[".c_int00 { boot.aem4<boot.oem4> (.text) }"].loadAddress = 0x20030000;  // Change address

    For GNU tools, the approach is slightly different and depends on the TI-RTOS kernel (SYS/BIOS) version you are using.

    Best,

    Ashish

  • Hi Ashish,

    Thanks for your reply,

    Actually i solved that issue, i have added one more section in my CC3200_LP.cmd file and put my code section starting of that fixed location, that is working for me. 

    Regards,

    -Hardik