<?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: Interrupt vector number and vector address in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Interrupt-vector-number-and-vector-address/m-p/1335424#M15607</link>
    <description>&lt;P&gt;&lt;SPAN&gt;After setting IVBR( upward shift 512B) ,&amp;nbsp;VECTOR 12 TIM0CH0ISR points to 0x00FFFDCC. That's to say,&amp;nbsp;VECTOR 12 is still Timer 0 channel 0 interrupt.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Sep 2021 09:48:20 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2021-09-06T09:48:20Z</dc:date>
    <item>
      <title>Interrupt vector number and vector address</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Interrupt-vector-number-and-vector-address/m-p/1334811#M15603</link>
      <description>&lt;P&gt;Hello，&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would like to clarify the relationship between the vector number and the vector address. In the help document, I found the relevant explanation, shown below, but I would like to know if I move the interrupt vector table (configured IVBR), will the interrupt vector number also move(except&amp;nbsp; vector number 0), or will the interrupt vector number always point to the default vector address,for example, vector number 2 always points to the vector address 0xFFFC,0xFFFD, even though I moved the vector table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="WangWendong_0-1630667097506.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/155094i5EBC56CFEFEECECB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WangWendong_0-1630667097506.png" alt="WangWendong_0-1630667097506.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Wendong.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 11:11:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Interrupt-vector-number-and-vector-address/m-p/1334811#M15603</guid>
      <dc:creator>WendongWang</dc:creator>
      <dc:date>2021-09-03T11:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt vector number and vector address</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Interrupt-vector-number-and-vector-address/m-p/1335168#M15605</link>
      <description>&lt;P&gt;HI&lt;/P&gt;
&lt;P&gt;You didn't say your PN. I guess you use some HCS12x device like HCS12XS?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, to do vector redirection, you need define&amp;nbsp;&lt;SPAN&gt;IVBR, and also redirect vector table to the right address.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The vector number doesn't change.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a nice day,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 03:45:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Interrupt-vector-number-and-vector-address/m-p/1335168#M15605</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2021-09-06T03:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt vector number and vector address</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Interrupt-vector-number-and-vector-address/m-p/1335237#M15606</link>
      <description>&lt;P&gt;Hello, Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;From your ID, I guess you may be Chinese or speak Chinese, so I will repeat my question in Chinese, because my English is not good enough to accurately express my question.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;我用的MCU是MC9s12ZVML128, 它默认的中断向量表在PFLASH的最后一个512B存储空间，这时的向量号12 是指向定时器0通道0的中断，如果我在PRM文件这样写：VECTOR 12 TIM0CH0ISR ，那么就是将TIM0CH0ISR函数的地址 写入向量表 0x00FFFFCC 的位置；如果我现在重定向了向量表，也就是设置了IVBR寄存器，将向量表向上偏移512B,这时，我再在PRM文件中这样写：VECTOR 12 TIM0CH0ISR，那么是将 TIM0CH0ISR 函数的地址写到0x00FFFFCC的位置，还是将 TIM0CH0ISR 函数的地址写到偏移后的地址 0xFFFDCC.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 06:08:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Interrupt-vector-number-and-vector-address/m-p/1335237#M15606</guid>
      <dc:creator>WendongWang</dc:creator>
      <dc:date>2021-09-06T06:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt vector number and vector address</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Interrupt-vector-number-and-vector-address/m-p/1335424#M15607</link>
      <description>&lt;P&gt;&lt;SPAN&gt;After setting IVBR( upward shift 512B) ,&amp;nbsp;VECTOR 12 TIM0CH0ISR points to 0x00FFFDCC. That's to say,&amp;nbsp;VECTOR 12 is still Timer 0 channel 0 interrupt.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 09:48:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Interrupt-vector-number-and-vector-address/m-p/1335424#M15607</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2021-09-06T09:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt vector number and vector address</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Interrupt-vector-number-and-vector-address/m-p/1335470#M15608</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you for your careful answer, wish you happy every day!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 11:01:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Interrupt-vector-number-and-vector-address/m-p/1335470#M15608</guid>
      <dc:creator>WendongWang</dc:creator>
      <dc:date>2021-09-06T11:01:58Z</dc:date>
    </item>
  </channel>
</rss>

