<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Download only modified task in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Download-only-modified-task/m-p/393353#M2391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx for information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem was due to edit in different linker file and use gcc compiler "__attribute__" instead of "__declspec".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx again.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 30 May 2015 04:26:00 GMT</pubDate>
    <dc:creator>utsavikalpesh</dc:creator>
    <dc:date>2015-05-30T04:26:00Z</dc:date>
    <item>
      <title>Download only modified task</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Download-only-modified-task/m-p/393345#M2383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working with CodeWarrior v10.6 and of MQX v4.0. In my project there are there are 12 tasks running.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My project is under development,so each time even I am modifying a little bit in code within a single task then I need to download the whole code of all task in my tower kit. This is not good thing. It takes 49 to 50 secs to download code.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want to do is, I only want to erase and download that task which is modified??Is it possible??&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also go through CodeWarrior Common features guide, in which Program/verify features is there to put the task at some specific location as per my knowledge. But question is how I come to know that there is no other task lying within this rang?? How I come to know the starting and ending address of the multiple task?? How memory is allocated for the task??&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I see what is the code size of each task? &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also attached Image to explain my query in detail.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody give me step by step solution to do this???&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 May 2015 08:53:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Download-only-modified-task/m-p/393345#M2383</guid>
      <dc:creator>utsavikalpesh</dc:creator>
      <dc:date>2015-05-24T08:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Download only modified task</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Download-only-modified-task/m-p/393346#M2384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Utsavi Kalpesh Bharuchwala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm afraid it is not possible to download just an specific task to the MCU, this is because the code inside the task or the task itself may end-up in a new flash address which will cause linking issues with the rest of the program,.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your question about the location and size of the tasks, you can find this information on the *.map file. Here is an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.text.Main_task&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x000006c8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x24 ./Sources/main.o&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x000006c8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Main_task&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you can see that the Main_task starts on the address 0x000006c8 and has a length of 0x24.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 01:30:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Download-only-modified-task/m-p/393346#M2384</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2015-05-26T01:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Download only modified task</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Download-only-modified-task/m-p/393347#M2385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually there is some concept I want to learn which I am writing below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you have mentioned that I am not able to download a single task,then&lt;/P&gt;&lt;P&gt;suppose in my code if I am changing or adding  a single line in one of my&lt;/P&gt;&lt;P&gt;tasks then also I need to download the whole 12 tasks code right??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I tried to follow Code Warrior Common Features Guide, in which&lt;/P&gt;&lt;P&gt;"Configure flash programmer target task" is written.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to follow steps but cant get any output. Should I know what is the&lt;/P&gt;&lt;P&gt;meaning of that configuration?? What is the purpose of Erasing a flash&lt;/P&gt;&lt;P&gt;blocks??  What is the purpose of target task??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching image of Kinetic Flash Programmer Task Image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, thanks for providing me information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Utsavi Bharuchwala&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Tue, May 26, 2015 at 7:01 AM, Carlos_Mendoza &amp;lt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 04:19:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Download-only-modified-task/m-p/393347#M2385</guid>
      <dc:creator>utsavikalpesh</dc:creator>
      <dc:date>2015-05-26T04:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Download only modified task</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Download-only-modified-task/m-p/393348#M2386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By seeing &lt;A href="https://community.nxp.com/message/372077"&gt;How to relocate memory library function using #pragma?&lt;/A&gt; I tried to write as per syntex of #pragma like #pragma CODE_SEG 0x0001&amp;nbsp; give in this discussion.But&amp;nbsp; showing me error like:&lt;/P&gt;&lt;P&gt;" Multiple markers at this line&lt;/P&gt;&lt;P&gt;&amp;nbsp; - illegal #pragma&lt;/P&gt;&lt;P&gt;&amp;nbsp; - illegal section&lt;/P&gt;&lt;P&gt;&amp;nbsp; definition "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to write specific address in pragma syntex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to write specific code on specific address in code memory using #pragma??&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way to do this with pragma or without pragma??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 06:48:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Download-only-modified-task/m-p/393348#M2386</guid>
      <dc:creator>utsavikalpesh</dc:creator>
      <dc:date>2015-05-26T06:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Download only modified task</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Download-only-modified-task/m-p/393349#M2387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Utsavi Kalpesh Bharuchwala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right, you need to download the 12 tasks to your MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the target tasks, you can have the debugger flash the target using a target task (the flash programming target tasks are small application applets, which are downloaded to the target by the debugger). However, you can also perform flash programming as a standalone task (without the debugger).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a description of the actions available when creating a target task:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Erase / Blank Check:&lt;/STRONG&gt; Lets you add erase or blank check actions for flash devices.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Program / Verify:&lt;/STRONG&gt; Lets you add program or verify flash actions for flash devices.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Checksum:&lt;/STRONG&gt; Lets you add checksum actions for flash devices.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Diagnostics:&lt;/STRONG&gt; Lets you add a diagnostics action to the actions table.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dump Flash:&lt;/STRONG&gt; Lets you dump a portion of the flash or the entire flash.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Protect/Unprotect:&lt;/STRONG&gt; Lets you modify the protection of a sector.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Secure/Unsecure:&lt;/STRONG&gt; Lets you add secure or unsecure actions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is a video that shows how to create a new target task in CodeWarrior, let me know if you run into any issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 01:09:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Download-only-modified-task/m-p/393349#M2387</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2015-05-27T01:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Download only modified task</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Download-only-modified-task/m-p/393350#M2388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Utsavi Kalpesh Bharuchwala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look to the following document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-101433"&gt;Relocating Code and Data Using the CW GCC Linker File for Kinetis&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It explains how to relocate code and data in Flash and RAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 01:23:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Download-only-modified-task/m-p/393350#M2388</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2015-05-27T01:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Download only modified task</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Download-only-modified-task/m-p/393351#M2389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for providing me information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to locate my function at specific ROM address by following the&lt;/P&gt;&lt;P&gt;steps from PDF you sent, but dont get any result as per desire and showing&lt;/P&gt;&lt;P&gt;me warning of  "illegal or unsupported __attribute__". I dont know why it&lt;/P&gt;&lt;P&gt;is not working??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I have attached my linker file and snapshot of  Task file as well as&lt;/P&gt;&lt;P&gt;my .MAP file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My linker location is&lt;/P&gt;&lt;P&gt;"C:\Freescale\Freescale_MQX_4_0\mqx\source\bsp\twrk60d100m\cw\intflash.lcf"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that I also tried to put "#pragma location = 0x1000" before&lt;/P&gt;&lt;P&gt;Demo_Test() but showing me warning of "illegal pragma"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried to put .org 0x0100 in __asm but cant help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me what I need to do for this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing, you have sent me a video of Target Task but can you tell me&lt;/P&gt;&lt;P&gt;how to use this all features. I mean If i have created a target task then&lt;/P&gt;&lt;P&gt;how can I able to see the output?? Where I can see output like Task one&lt;/P&gt;&lt;P&gt;start from this address and all??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have never done flash programming so It would be great if I get help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Utsavi Bharuchwala&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Wed, May 27, 2015 at 6:54 AM, Carlos_Mendoza &amp;lt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 04:46:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Download-only-modified-task/m-p/393351#M2389</guid>
      <dc:creator>utsavikalpesh</dc:creator>
      <dc:date>2015-05-28T04:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Download only modified task</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Download-only-modified-task/m-p/393352#M2390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Utsavi Bharuchwala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are getting the unsupported attribute warning because your project is using the Freescale ARM compiler, not the ARM GCC compiler. You could use MQX 4.1 or 4.2, these versions use the ARM GCC compiler or you could take a look to the attached document that explains how to port Freescale ARM Compiler based Projects to use ARM GCC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the target task, the task is only used to flash your application to the MCU or to erase the flash, it is not part of the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 22:22:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Download-only-modified-task/m-p/393352#M2390</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2015-05-29T22:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Download only modified task</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Download-only-modified-task/m-p/393353#M2391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx for information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem was due to edit in different linker file and use gcc compiler "__attribute__" instead of "__declspec".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx again.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 May 2015 04:26:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Download-only-modified-task/m-p/393353#M2391</guid>
      <dc:creator>utsavikalpesh</dc:creator>
      <dc:date>2015-05-30T04:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Download only modified task</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Download-only-modified-task/m-p/393354#M2392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I stuck at a point that I am writing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my .c file contain:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;main_task();&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //my stuff&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Demo_Test(); &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Demo_Test1(); &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Demo_Test() //Placed this function in Specific Flash section (Linker file is attached with this mail that is creating particular section in Flash&amp;nbsp; )&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //my stuff ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( (WaterLevel &amp;gt; 6000) &amp;amp;&amp;amp; ((WaterLevel &amp;lt; 8000) ) )&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pritnf("Medium level--&amp;gt;&amp;gt; Green Color indication");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (WaterLevel &amp;gt; 8000)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pritnf("Medium level--&amp;gt;&amp;gt; Red Color indication");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //my stuff ..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Demo_Test1()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //my stuff&amp;nbsp; &lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;uptill now what i did:&lt;/P&gt;&lt;P&gt;1. Create Section in Linker file:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;2. Create Target Task&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;3. Mass Erase of all Flash Block and Blank Check.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;4. Program/verify (By,&amp;nbsp; Use File From launch Config) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;5. Execute Target Task.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Now, I am changing my Demo_Test() function like, (basically I am changing Reference Values and writing some other codes in Demo_Test funtion)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Demo_Test()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int a, b;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //my stuff ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( (WaterLevel &amp;gt; 4000) &amp;amp;&amp;amp; ((WaterLevel &amp;lt; 7000) ) )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pritnf("Medium level--&amp;gt;&amp;gt; Green Color indication");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (WaterLevel &amp;gt; 7000)&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pritnf("Medium level--&amp;gt;&amp;gt; Red Color indication");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("Under Level --&amp;gt; Yellow Color indication ");&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //my stuff ..&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I have changed Demo_Test() function so .afx file changed and again I need to execute all function just because some variable values changed and extra stuff added in Demo_Test().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of doing this I want to generate .afx of only Demo_Test() function and want to put this function ( using "Program/Verify" in target task ) in specific section I have created (starting from 0x00070000),&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So by placing at correct address and executing only Demo_Test function I can run the whole code without executing main_task and Demo_Test1 functios .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am stuck at how to generate .afx file of only Demo_test() function?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Utsavi Bharuchwala&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 May 2015 09:50:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Download-only-modified-task/m-p/393354#M2392</guid>
      <dc:creator>utsavikalpesh</dc:creator>
      <dc:date>2015-05-30T09:50:04Z</dc:date>
    </item>
  </channel>
</rss>

