<?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>Digital Signal Controllers中的主题 Changing address of application code</title>
    <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Changing-address-of-application-code/m-p/1004831#M1795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to remove my bootloader so I can only upload the firmware using JTAG.&lt;/P&gt;&lt;P&gt;This means that when I power up, it should driectly run the application code.&lt;/P&gt;&lt;P&gt;How can I move up the application code to address 0000? Is there something I need to change in IDE settings or in build files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;folder where I get the bin file to upload on target&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95434iB5DD93CE7356C4F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my systemconfig folder&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95478i1422DEF0F0B441E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ZhangJennie"&gt;ZhangJennie&lt;/A&gt;‌&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/xiangjun.rong"&gt;xiangjun.rong&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Dec 2019 09:50:40 GMT</pubDate>
    <dc:creator>fasihahmed</dc:creator>
    <dc:date>2019-12-04T09:50:40Z</dc:date>
    <item>
      <title>Changing address of application code</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Changing-address-of-application-code/m-p/1004831#M1795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to remove my bootloader so I can only upload the firmware using JTAG.&lt;/P&gt;&lt;P&gt;This means that when I power up, it should driectly run the application code.&lt;/P&gt;&lt;P&gt;How can I move up the application code to address 0000? Is there something I need to change in IDE settings or in build files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;folder where I get the bin file to upload on target&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95434iB5DD93CE7356C4F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my systemconfig folder&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95478i1422DEF0F0B441E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ZhangJennie"&gt;ZhangJennie&lt;/A&gt;‌&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/xiangjun.rong"&gt;xiangjun.rong&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2019 09:50:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Changing-address-of-application-code/m-p/1004831#M1795</guid>
      <dc:creator>fasihahmed</dc:creator>
      <dc:date>2019-12-04T09:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Changing address of application code</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Changing-address-of-application-code/m-p/1004832#M1796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Fasih,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your question, even if you have bootloader code in flash, after you download your application code to flash, and the Reset vector points to your application code, after Reset, only your application code is executed.&lt;/P&gt;&lt;P&gt;If you do want to remove your bootloader code, you can execute mass erase, which erase all flash.&lt;/P&gt;&lt;P&gt;BTW, can you tell us the part number?&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2019 13:52:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Changing-address-of-application-code/m-p/1004832#M1796</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-12-04T13:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Changing address of application code</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Changing-address-of-application-code/m-p/1004833#M1797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is MC56F82748.&lt;/P&gt;&lt;P&gt;Can you tell me how to find and change the reset vector pointing to application code from code warrior or from linker/builder files?&lt;/P&gt;&lt;P&gt;I am new to&amp;nbsp;this part of embedded :smileyhappy:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/xiangjun.rong"&gt;xiangjun.rong&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2019 14:40:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Changing-address-of-application-code/m-p/1004833#M1797</guid>
      <dc:creator>fasihahmed</dc:creator>
      <dc:date>2019-12-04T14:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Changing address of application code</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Changing-address-of-application-code/m-p/1004834#M1798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Fasih,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls refer to the following Figure, you can write the INTC_VBA to relocate the vector table.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95957i6B7EDBE56B3D7719/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2019 04:48:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Changing-address-of-application-code/m-p/1004834#M1798</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-12-09T04:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Changing address of application code</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Changing-address-of-application-code/m-p/1174791#M1984</link>
      <description>&lt;P&gt;how do I use to change my vector table, do you have an example code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034"&gt;@xiangjun_rong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 21:44:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Changing-address-of-application-code/m-p/1174791#M1984</guid>
      <dc:creator>fasihahmed</dc:creator>
      <dc:date>2020-10-28T21:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Changing address of application code</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Changing-address-of-application-code/m-p/1174955#M1985</link>
      <description>&lt;P&gt;Hi, Fasih,&lt;/P&gt;
&lt;P&gt;I have checked the code of the example generated by the CW tools.&lt;/P&gt;
&lt;P&gt;In the main.c&lt;/P&gt;
&lt;P&gt;adding the code:&lt;/P&gt;
&lt;P&gt;INTC-&amp;gt;VBA = (uint16_t)(&amp;amp;vba_vector_addr);&lt;/P&gt;
&lt;P&gt;In the ***_Vectors.c&lt;/P&gt;
&lt;P&gt;adding the lines.&lt;/P&gt;
&lt;P&gt;volatile asm void _vect(void);&lt;BR /&gt;#pragma define_section interrupt_vectors "interrupt_vectors.text" RX&lt;BR /&gt;#pragma section interrupt_vectors begin&lt;BR /&gt;volatile asm void _vect(void) {&lt;BR /&gt;JMP &amp;gt;_EntryPoint /* Interrupt no. 0 (Used)*/&lt;BR /&gt;JMP &amp;gt;_EntryPoint /* Interrupt no. 1 (Used)*/&lt;BR /&gt;JSR &amp;gt;ivINT_ILLEGAL_OP /* Interrupt no. 2*/&lt;BR /&gt;JSR &amp;gt;ivINT_SWI3 /* Interrupt no. 3*/&lt;BR /&gt;JSR &amp;gt;ivINT_OVERFLOW /* Interrupt no. 4*/&lt;BR /&gt;JSR &amp;gt;ivINT_MISALIGNED /* Interrupt no. 5*/&lt;BR /&gt;JSR &amp;gt;ivINT_STPCNT /* Interrupt no. 6*/&lt;BR /&gt;JSR &amp;gt;ivINT_BKPT /* Interrupt no. 7*/&lt;BR /&gt;JSR &amp;gt;ivINT_TRBUF /* Interrupt no. 8*/&lt;BR /&gt;JSR &amp;gt;ivINT_TX_REG /* Interrupt no. 9*/&lt;BR /&gt;JSR &amp;gt;ivINT_RX_REG /* Interrupt no. 10*/&lt;BR /&gt;JSR &amp;gt;ivINT_BUS_ERR /* Interrupt no. 11*/&lt;BR /&gt;JSR &amp;gt;ivINT_PLAT_3 /* Interrupt no. 12*/&lt;BR /&gt;..............&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;#pragma section interrupt_vectors end&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the linker command file&lt;/P&gt;
&lt;P&gt;adding&lt;/P&gt;
&lt;P&gt;MEMORY {&lt;/P&gt;
&lt;P&gt;.....................&lt;/P&gt;
&lt;P&gt;.p_Interrupts (RWX): ORIGIN = 0x0000xxxx, LENGTH = 0x000000E0&lt;/P&gt;
&lt;P&gt;.............&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;.interrupt_vectors :&lt;BR /&gt;{&lt;BR /&gt;F_vector_addr = .;&lt;BR /&gt;# interrupt vectors&lt;BR /&gt;* (interrupt_vectors.text)&lt;BR /&gt;Fvba_vector_addr = (F_vector_addr &amp;gt;&amp;gt;8);&lt;BR /&gt;} &amp;gt; .p_Interrupts&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 02:52:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Changing-address-of-application-code/m-p/1174955#M1985</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2020-10-29T02:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Changing address of application code</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Changing-address-of-application-code/m-p/1175084#M1987</link>
      <description>&lt;P&gt;can you explain the difference in flash speed between these two DSCs?&lt;/P&gt;&lt;P&gt;will the&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;MC56F83763&amp;nbsp;&lt;/STRONG&gt;provide better performance compared to&amp;nbsp;&lt;STRONG&gt;MC56f82748&lt;/STRONG&gt;&amp;nbsp;if we run the code in FLASH? I ask this because there is difference in both the DSC's internal clock frequency? 50Mhz vs 100Mhz&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And will running&amp;nbsp;&lt;STRONG&gt;MC56F83763&lt;/STRONG&gt;&amp;nbsp;code in FLASH v/s RAM provide any speed difference? I know it helps for&amp;nbsp;&lt;STRONG&gt;MC56f82748.&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;But not sure about the new&amp;nbsp;&lt;STRONG&gt;MC56F83763&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fasihahmed_9-1603919542675.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128562i31909F2597DD85B3/image-size/large?v=v2&amp;amp;px=999" role="button" title="fasihahmed_9-1603919542675.png" alt="fasihahmed_9-1603919542675.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fasihahmed_0-1603920433323.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128563i5967CFD2355F639B/image-size/large?v=v2&amp;amp;px=999" role="button" title="fasihahmed_0-1603920433323.png" alt="fasihahmed_0-1603920433323.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034" target="_blank"&gt;@xiangjun_rong&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 07:20:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Changing-address-of-application-code/m-p/1175084#M1987</guid>
      <dc:creator>fasihahmed</dc:creator>
      <dc:date>2020-10-29T07:20:24Z</dc:date>
    </item>
  </channel>
</rss>

