[quote user="Aman Kumar"]Now,we have to generate a separate image file for that function alone which can be transferred to the firmware for upgrade[/quote]
To achieve this, you would need to relink the application but this time, in the linker command file, all sections EXCEPT this special section should be marked as NOLOAD.
So basically you would link the project two times with two different linker command files:
- one with the special section ( function to be upgraded dynamically) marked as NOLOAD (which is the version you download to target) and
- another with everything except the special section marked as NOLOAD
Then you can convert the second linker output to binary to get an image of just the special section.
To create both these linker outputs from the same project, you can create two build configurations, with the only difference being the linker command file used for the link. Please see this wiki page for more information on build configurations: http://processors.wiki.ti.com/index.php/Projects_and_Build_Handbook_for_CCS#Build_Configurations