<?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>S12 / MagniV Microcontrollers中的主题 Re: MC9S12G128 bootloader remapping the interrupt vector table</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12G128-bootloader-remapping-the-interrupt-vector-table/m-p/741153#M15023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Thank you for your help, &amp;nbsp;I solve the problem.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Joy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Nov 2017 08:30:08 GMT</pubDate>
    <dc:creator>920065012</dc:creator>
    <dc:date>2017-11-29T08:30:08Z</dc:date>
    <item>
      <title>MC9S12G128 bootloader remapping the interrupt vector table</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12G128-bootloader-remapping-the-interrupt-vector-table/m-p/741150#M15020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; text-indent: 28px;"&gt;I&amp;nbsp;design the &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; text-indent: 28px;"&gt;bootloader &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; text-indent: 28px;"&gt;for &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; text-indent: 28px;"&gt;9S12G128 ，I need to remapping the interrupt vector table from 0xFF80-0xFFFF, I make some code like that（under words），&lt;SPAN style="text-indent: 0px;"&gt;the code can not work, when I reset ，the code can not enter into the main ();&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="border: 0px; text-indent: 0px;"&gt;Is there where I need to set up?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px; background-color: #ffffff; color: #51626f; text-indent: 0px;"&gt;#define __CPU_VECTOR_BASE_ADDR__ 0x7F80&lt;BR /&gt;/* ISR prototype */&lt;BR /&gt;typedef void (*near tIsrFunc)(void) ;&lt;BR /&gt;/*lint -save -e950 Disable MISRA rule (1.1) checking. */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#pragma CODE_SEG __NEAR_SEG NON_BANKED&lt;/P&gt;&lt;P&gt;interrupt void UnimplementedISR(void) //定义在NON_BANKED区&lt;BR /&gt;{}&lt;BR /&gt; void interrupt T0_inter(void)&lt;BR /&gt;{}&lt;BR /&gt; void interrupt T2_inter(void)&lt;BR /&gt;{}&lt;BR /&gt; void interrupt CAN_receive(void) &lt;BR /&gt;{}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#pragma CODE_SEG DEFAULT&lt;/P&gt;&lt;P&gt;static const tIsrFunc _InterruptVectorTable[] @__CPU_VECTOR_BASE_ADDR__ = { &lt;BR /&gt; /* Interrupt vector table */&lt;BR /&gt; /*put your ISR functions list here according to the interrupt vector order*/&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 63 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 62 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 61 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 60 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 59 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 58 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 57 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 56 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 55 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 54 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 53 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 52 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 51 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 50 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 49 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 48 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 47 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 46 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 45 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 44 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 43 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 42 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 41 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 40 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 39 */&lt;BR /&gt; &amp;amp;CAN_receive, /* vector 38 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 37 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 36 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 35 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 34 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 33 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 32 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 31 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 30 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 29 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 28 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 27 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 26 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 25 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 24 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 23 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 22 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 21 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 20 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 19 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 18 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 17 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 16 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 15 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 14 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 13 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 12 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 11 */&lt;BR /&gt; &amp;amp;T2_inter, /* vector 10 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 09 */&lt;BR /&gt; &amp;amp;T0_inter, /* vector 08 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 07 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 06 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 05 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 04 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 03 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 02 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* vector 01 */&lt;BR /&gt; &amp;amp;UnimplementedISR, /* Reset vector */&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; text-indent: 21pt;"&gt;void main(void)&lt;BR /&gt;{ &amp;nbsp;IVBR = 0x7F; &lt;BR /&gt;//set the vector base&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; text-indent: 21pt;"&gt;}&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; text-indent: 21pt;"&gt;&lt;SPAN style="text-indent: 0px;"&gt;Is there where I need to set up?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2017 12:21:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12G128-bootloader-remapping-the-interrupt-vector-table/m-p/741150#M15020</guid>
      <dc:creator>920065012</dc:creator>
      <dc:date>2017-11-28T12:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S12G128 bootloader remapping the interrupt vector table</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12G128-bootloader-remapping-the-interrupt-vector-table/m-p/741151#M15021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It seems to be correct.&lt;/P&gt;&lt;P&gt;The attached example works on my side.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So please try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2017 15:59:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12G128-bootloader-remapping-the-interrupt-vector-table/m-p/741151#M15021</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2017-11-28T15:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S12G128 bootloader remapping the interrupt vector table</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12G128-bootloader-remapping-the-interrupt-vector-table/m-p/741152#M15022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,thank you for your help.There are still have some problems.&lt;/P&gt;&lt;P&gt;I open your example,I notice that you use" P&amp;amp;E USB BDM muitilink", I use "TBDML " download the program to MC9S12G128,But it can not works.What's wrong with it?Did you change the file,such as"project.prm" and"start12.c".&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&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/41659iD5E69BCD87C89B12/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 style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;if MC9S12G128 connected &amp;nbsp;with &lt;SPAN&gt; CW software,when&lt;/SPAN&gt;&amp;nbsp;I use the resert button in CW software,it can do well.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/41643i83DC6CA5ECE7EA97/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;but,if I use buton in hardware reset ,it can't work,like that:&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&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/41660i9DF5D745F60F7890/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 style="border: 0px;"&gt;Regards,&lt;/P&gt;&lt;P style="border: 0px;"&gt;Joy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 02:52:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12G128-bootloader-remapping-the-interrupt-vector-table/m-p/741152#M15022</guid>
      <dc:creator>920065012</dc:creator>
      <dc:date>2017-11-29T02:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S12G128 bootloader remapping the interrupt vector table</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12G128-bootloader-remapping-the-interrupt-vector-table/m-p/741153#M15023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Thank you for your help, &amp;nbsp;I solve the problem.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Joy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 08:30:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12G128-bootloader-remapping-the-interrupt-vector-table/m-p/741153#M15023</guid>
      <dc:creator>920065012</dc:creator>
      <dc:date>2017-11-29T08:30:08Z</dc:date>
    </item>
  </channel>
</rss>

