<?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: Relocatable code? in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocatable-code/m-p/564884#M13191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello I have a similar problem. I have to program ( bootloader and blinking LED). The to programs are located in different part of memory, and I have 2 different vector table ( the bootloader vector table start from 0x000000, and the "LED" vector table from 0x00000F0). After dowloading the blinking led program, bootloader jump to the main function of LED application, but the LED doesn't blink, like the interrupt generating from the timer can't be handle.&lt;/P&gt;&lt;P&gt;Can you explain how to set the INC_VBA ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you give me the right steps to jump from bootloader to the blinking led with &amp;nbsp;changing &amp;nbsp;the interrupt vector?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you soo much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Federico&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Aug 2017 10:37:39 GMT</pubDate>
    <dc:creator>federicogori</dc:creator>
    <dc:date>2017-08-30T10:37:39Z</dc:date>
    <item>
      <title>Relocatable code?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocatable-code/m-p/564882#M13189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to generate relocatable DSC code using CW10.6 with Processor Expert?&amp;nbsp; Also need to relocate the vector tables.&lt;/P&gt;&lt;P&gt;If so, how?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Processor is MC56F84763 and uses a bootloader.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="217018" data-objecttype="3" href="https://community.nxp.com/people/darrenhintze"&gt;Darren Hintze&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2016 00:22:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocatable-code/m-p/564882#M13189</guid>
      <dc:creator>bonzo</dc:creator>
      <dc:date>2016-08-03T00:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Relocatable code?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocatable-code/m-p/564883#M13190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bradley&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif';"&gt;Yes, user can relocate the vector table. With Processor Expert,&amp;nbsp; you can modify the address for .p_Interrupts secion in CPU component:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="vector.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2719i31B1C0E81C6E149E/image-size/large?v=v2&amp;amp;px=999" role="button" title="vector.png" alt="vector.png" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif';"&gt;However, there are two tips that need to pay attention to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif';"&gt;1)&amp;nbsp; Please reserve 0x00_0000 for program entry because after power-on reset, the device must boot from program flash at 0x00_0000.&amp;nbsp; So 0x00_0000~0x00_0003 should reserved for hardware reset and cop reset. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif';"&gt;2)&amp;nbsp; Please set the Vector Base Address Register (INTC_VBA) to the new interrupt vector address in start-up code. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Fiona Kuang&lt;/P&gt;&lt;P&gt;TIC - Technical Information Center&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Mark Correct button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 08:19:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocatable-code/m-p/564883#M13190</guid>
      <dc:creator>TICS_Fiona</dc:creator>
      <dc:date>2016-08-04T08:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Relocatable code?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocatable-code/m-p/564884#M13191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello I have a similar problem. I have to program ( bootloader and blinking LED). The to programs are located in different part of memory, and I have 2 different vector table ( the bootloader vector table start from 0x000000, and the "LED" vector table from 0x00000F0). After dowloading the blinking led program, bootloader jump to the main function of LED application, but the LED doesn't blink, like the interrupt generating from the timer can't be handle.&lt;/P&gt;&lt;P&gt;Can you explain how to set the INC_VBA ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you give me the right steps to jump from bootloader to the blinking led with &amp;nbsp;changing &amp;nbsp;the interrupt vector?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you soo much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Federico&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 10:37:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocatable-code/m-p/564884#M13191</guid>
      <dc:creator>federicogori</dc:creator>
      <dc:date>2017-08-30T10:37:39Z</dc:date>
    </item>
  </channel>
</rss>

