<?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: MC9S08LG32 Vector remapping in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08LG32-Vector-remapping/m-p/441377#M21575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have already been trough the note. My question is specifically about how to enable or disable mapping on the run i.e. accessing either FPROT or FOPT registers from user space&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jul 2015 07:10:57 GMT</pubDate>
    <dc:creator>sachinpawar</dc:creator>
    <dc:date>2015-07-29T07:10:57Z</dc:date>
    <item>
      <title>MC9S08LG32 Vector remapping</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08LG32-Vector-remapping/m-p/441375#M21573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all, i need to achieve vector remapping which can be enabled or disabled from user code.&lt;/P&gt;&lt;P&gt;i.e. Step1. BDM program the Bootloader code to MCU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Step 2. Bootloader programs the User Code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Step 3. vector redirection ON&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Step 4. Execute user application.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested the remapping using following method:&lt;/P&gt;&lt;P&gt;1. Erase the Mcu using target tasks of Code Warrior.&lt;/P&gt;&lt;P&gt;2. program the bootloader with "&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; background-color: #f5f5f5;"&gt;const byte NVOPT_INIT @0x0000FFBF = 0x02;&lt;/SPAN&gt;" in its global section.&lt;/P&gt;&lt;P&gt;3. program the user application.&lt;/P&gt;&lt;P&gt;4. protect any block of flash usng Target tasks of Code Warrior&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After doing this and restarting the MCU give a redirected vector successfully done.&lt;/P&gt;&lt;P&gt;Now what i want is i can enable and disable the mapping from user code and that too not by using Target Task feature of Code warrior. It should be in a way that when jumping from bootloader to application the mapping is enabled and when jumping back to bootloader or say given a reset then the remapping disables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2015 06:22:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08LG32-Vector-remapping/m-p/441375#M21573</guid>
      <dc:creator>sachinpawar</dc:creator>
      <dc:date>2015-07-24T06:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08LG32 Vector remapping</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08LG32-Vector-remapping/m-p/441376#M21574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the following document could be useful for you:&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN2295.pdf" title="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN2295.pdf"&gt;Developer’s Serial Bootloader - AN2295&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This application note is for embedded-software developers interested in alternative reprogramming tools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this material will be useful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day.&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 15:16:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08LG32-Vector-remapping/m-p/441376#M21574</guid>
      <dc:creator>david_diaz</dc:creator>
      <dc:date>2015-07-27T15:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08LG32 Vector remapping</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08LG32-Vector-remapping/m-p/441377#M21575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have already been trough the note. My question is specifically about how to enable or disable mapping on the run i.e. accessing either FPROT or FOPT registers from user space&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 07:10:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08LG32-Vector-remapping/m-p/441377#M21575</guid>
      <dc:creator>sachinpawar</dc:creator>
      <dc:date>2015-07-29T07:10:57Z</dc:date>
    </item>
  </channel>
</rss>

