<?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: debugging bootloader code with OBDM s12g128 AN4258</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/debugging-bootloader-code-with-OBDM-s12g128-AN4258/m-p/244632#M9593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update: I found that when porting code to run with OBDM, I made a mistake with memory region overlapping in an area I was trying to erase (ROM_C000 0xC000-0xFCFF has to be 0xF000-0xFCFF). Feeding COP is also requested in the while loops in flash erasing routines)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Feb 2014 12:39:32 GMT</pubDate>
    <dc:creator>secrob</dc:creator>
    <dc:date>2014-02-19T12:39:32Z</dc:date>
    <item>
      <title>debugging bootloader code with OBDM s12g128 AN4258</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/debugging-bootloader-code-with-OBDM-s12g128-AN4258/m-p/244631#M9592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am facing with some issues when trying to debug/execute bootloader derived from AN4258. I only have OBDM as a flashing tool so CW has provided me a new prm file that I modify following its rules. What I am trying to do is just sending a flash erase command "sector by sector". I tried both using app note routines and IFsh Processor Expert generated routines to give such erase cmd. &lt;/P&gt;&lt;P&gt;In particular it seems that when trying to erase the block from 0x20000 to 0x03EFDF, moving by 0x200, with Real-time CW debugger in running mode, I obtain an invalid break-point condition while, giving the erase command via SCI as the AN suggested, I do not reach the end of the procedure. The original code doesn't seem to have any interrupts protection (disabling them) but what I don't figure out is if, when passing to OBDM, I erroneusly made any error. Any suggestion would be appreciated &lt;SPAN aria-label="Happy" class="emoticon_happy emoticon-inline" style="height:16px;width:16px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 09:58:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/debugging-bootloader-code-with-OBDM-s12g128-AN4258/m-p/244631#M9592</guid>
      <dc:creator>secrob</dc:creator>
      <dc:date>2014-02-19T09:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: debugging bootloader code with OBDM s12g128 AN4258</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/debugging-bootloader-code-with-OBDM-s12g128-AN4258/m-p/244632#M9593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update: I found that when porting code to run with OBDM, I made a mistake with memory region overlapping in an area I was trying to erase (ROM_C000 0xC000-0xFCFF has to be 0xF000-0xFCFF). Feeding COP is also requested in the while loops in flash erasing routines)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 12:39:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/debugging-bootloader-code-with-OBDM-s12g128-AN4258/m-p/244632#M9593</guid>
      <dc:creator>secrob</dc:creator>
      <dc:date>2014-02-19T12:39:32Z</dc:date>
    </item>
  </channel>
</rss>

