<?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: Reset Vector address in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reset-Vector-address/m-p/355946#M11297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vhaan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you should use 8/16 bit MCU. if yes, we can only set interrupt vector at 16bit address but can't 24bit address. 8/16bit MCU interrupt vector address is 16bit range. this is defined be hardware but not MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this clarify the issue?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Jan 2015 14:32:06 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2015-01-19T14:32:06Z</dc:date>
    <item>
      <title>Reset Vector address</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reset-Vector-address/m-p/355945#M11296</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 have the following code for reset vectors and the register ivbr = 0x7F. I am using the banking memory model&lt;/P&gt;&lt;P&gt;typedef void (*near tIsrFunc)(void);&lt;/P&gt;&lt;P&gt;const tIsrFunc ResetVectorTable[] @0x7F10 =&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;SpuriousISR,&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;so on;&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above code is for moving the vector table to the address 0x7F10. My doubt is since 0x7F10 is same as 0xFE ppage register and 0x7F10 index value.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can i initialize the code as&lt;/P&gt;&lt;P&gt;typedef void (*near tIsrFunc)(void);&lt;/P&gt;&lt;P&gt;const tIsrFunc ResetVectorTable[] @0xFE7F10 =&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;SpuriousISR,&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;so on;&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please request to clarify my doubt. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Vihaan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 11:15:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reset-Vector-address/m-p/355945#M11296</guid>
      <dc:creator>vihaanred</dc:creator>
      <dc:date>2015-01-19T11:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Vector address</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reset-Vector-address/m-p/355946#M11297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vhaan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you should use 8/16 bit MCU. if yes, we can only set interrupt vector at 16bit address but can't 24bit address. 8/16bit MCU interrupt vector address is 16bit range. this is defined be hardware but not MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this clarify the issue?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 14:32:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reset-Vector-address/m-p/355946#M11297</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-01-19T14:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Vector address</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reset-Vector-address/m-p/355947#M11298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Slight confusion. it is s12xeq512 so 16 bit MCU.&lt;/P&gt;&lt;P&gt;i really did not understand the statement.&lt;/P&gt;&lt;P&gt;In some other part of the code i have written like this&lt;/P&gt;&lt;P&gt;const unsigned char (test[3])@0xE18000 ={1,2,3};&lt;/P&gt;&lt;P&gt;to place a fixed value at th address with ppage = 0xE1 and local address = 0x8000; &lt;/P&gt;&lt;P&gt;Can i write the above statement?&amp;nbsp; Can you please guide me what is the sequence and how to write values at particular memory addresses? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Vihaan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 08:16:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reset-Vector-address/m-p/355947#M11298</guid>
      <dc:creator>vihaanred</dc:creator>
      <dc:date>2015-01-20T08:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Vector address</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reset-Vector-address/m-p/355948#M11299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Vihaan, &lt;/P&gt;&lt;P&gt;you can define any const variable/array in 24bit paged memory, as you did&lt;/P&gt;&lt;P&gt;const unsigned char (test[3])@0xE18000 ={1,2,3};&lt;/P&gt;&lt;P&gt;this is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT, we can't define interrupt vector table at 24bit address. because in 16bit MCU, interrupt vector is 16bit width.&lt;/P&gt;&lt;P&gt;does this clarify the issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Zhang Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 08:27:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reset-Vector-address/m-p/355948#M11299</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-01-20T08:27:22Z</dc:date>
    </item>
  </channel>
</rss>

