<?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 QG8 vectors redirection in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-vectors-redirection/m-p/142387#M6183</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have a problem with the vectors redirection on a QG8.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I can view all the memory dump trough BDM and it seems ok (bootloader code, RESET vector, app code and others vectors redirected).&lt;/DIV&gt;&lt;DIV&gt;The load is ok, the jump to the start of the app too, but when an IT appears, the QG8 seems to go away and doesn't execute the ISR...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For my test, I' ve just added to my app an infinite loop with a pin toggle. Without EnableInterrupts, the bit toggle. The loop written after the EnableInterrupts is never executed &lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif"&gt;&lt;IMG alt=":smileysad:" class="emoticon emoticon-smileysad" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif" title="Smiley Sad" /&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The NVPROT is 0xFD (block protected from 0xFE00) and the bit FNORED in the NVOPT register is 0x82 (vectors redirection enables, unsecured).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for your help.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;PS : this is not my first bootloader, I've already written several for AB, AP, KX and even GB32 (with vectors redirection, but with a different NVPROT format register...)&lt;/DIV&gt;&lt;P&gt;Message Edited by yb on &lt;SPAN class="date_text"&gt;2006-07-07&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;10:36 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jul 2006 14:33:13 GMT</pubDate>
    <dc:creator>yb</dc:creator>
    <dc:date>2006-07-07T14:33:13Z</dc:date>
    <item>
      <title>QG8 vectors redirection</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-vectors-redirection/m-p/142387#M6183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have a problem with the vectors redirection on a QG8.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I can view all the memory dump trough BDM and it seems ok (bootloader code, RESET vector, app code and others vectors redirected).&lt;/DIV&gt;&lt;DIV&gt;The load is ok, the jump to the start of the app too, but when an IT appears, the QG8 seems to go away and doesn't execute the ISR...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For my test, I' ve just added to my app an infinite loop with a pin toggle. Without EnableInterrupts, the bit toggle. The loop written after the EnableInterrupts is never executed &lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif"&gt;&lt;IMG alt=":smileysad:" class="emoticon emoticon-smileysad" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif" title="Smiley Sad" /&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The NVPROT is 0xFD (block protected from 0xFE00) and the bit FNORED in the NVOPT register is 0x82 (vectors redirection enables, unsecured).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for your help.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;PS : this is not my first bootloader, I've already written several for AB, AP, KX and even GB32 (with vectors redirection, but with a different NVPROT format register...)&lt;/DIV&gt;&lt;P&gt;Message Edited by yb on &lt;SPAN class="date_text"&gt;2006-07-07&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;10:36 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 14:33:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-vectors-redirection/m-p/142387#M6183</guid>
      <dc:creator>yb</dc:creator>
      <dc:date>2006-07-07T14:33:13Z</dc:date>
    </item>
    <item>
      <title>[RESOLVED] - QG8 vectors redirection</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-vectors-redirection/m-p/142388#M6184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Sorry, it was just the FPDIS bit in the FPROT register... It must be 0 and not 1.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Pffffff, each uC is different, not very useful...&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 15:20:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-vectors-redirection/m-p/142388#M6184</guid>
      <dc:creator>yb</dc:creator>
      <dc:date>2006-07-07T15:20:12Z</dc:date>
    </item>
  </channel>
</rss>

