<?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: 9s12xet256 debugging with PEMicro</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9s12xet256-debugging-with-PEMicro/m-p/942468#M16614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BDM debug is normally performed in single chip mode. Debugger by default pulls BKGD(MODC) low and then pulses /RESET pin. Having MODB/A set up for single chip mode this makes target enter &lt;STRONG&gt;special&lt;/STRONG&gt; single chip mode. It is very useful mode because target MCU stays stopped at start of your program.&lt;/P&gt;&lt;P&gt;Having MODB/A pins set to expanded mode, pulling BKGD low and pulsing /RESET pin&amp;nbsp;will render not very useful operating mode. To avoid this odd mode you need to always use debuggers Hotplug mode, which assumes target is running and reset is not performed.&lt;/P&gt;&lt;P&gt;There's an easier option for expanded mode,&amp;nbsp;make&amp;nbsp;MODB/A pins pulled for&amp;nbsp;single chip mode and reconfigure&amp;nbsp;operating mode on the fly from single chip to expanded mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jul 2019 10:36:50 GMT</pubDate>
    <dc:creator>kef2</dc:creator>
    <dc:date>2019-07-05T10:36:50Z</dc:date>
    <item>
      <title>9s12xet256 debugging with PEMicro</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9s12xet256-debugging-with-PEMicro/m-p/942466#M16612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been trying for some time to get either of my PEMicro debuggers (ML Universal and ML-12) to talk to a 9s12xet256 with no luck.&amp;nbsp; I can see the RESET and BKGD pins toggling but CW5.2 (Win10) doesn't see the uP.&amp;nbsp; I have also tried Win7 and CW5.1;&amp;nbsp; same thing.&amp;nbsp; The uP is operating at 5V (on board regulator), and I do see a 4 MHz clock on ECLK.&amp;nbsp; MODB is open and MODA is connected to an OE input on a SRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2019 20:48:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9s12xet256-debugging-with-PEMicro/m-p/942466#M16612</guid>
      <dc:creator>michaelhuslig</dc:creator>
      <dc:date>2019-07-04T20:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: 9s12xet256 debugging with PEMicro</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9s12xet256-debugging-with-PEMicro/m-p/942467#M16613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I forgot to mention, I have done all the patches and driver updates and other recommendations provided by PEMicro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2019 04:07:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9s12xet256-debugging-with-PEMicro/m-p/942467#M16613</guid>
      <dc:creator>michaelhuslig</dc:creator>
      <dc:date>2019-07-05T04:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: 9s12xet256 debugging with PEMicro</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9s12xet256-debugging-with-PEMicro/m-p/942468#M16614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BDM debug is normally performed in single chip mode. Debugger by default pulls BKGD(MODC) low and then pulses /RESET pin. Having MODB/A set up for single chip mode this makes target enter &lt;STRONG&gt;special&lt;/STRONG&gt; single chip mode. It is very useful mode because target MCU stays stopped at start of your program.&lt;/P&gt;&lt;P&gt;Having MODB/A pins set to expanded mode, pulling BKGD low and pulsing /RESET pin&amp;nbsp;will render not very useful operating mode. To avoid this odd mode you need to always use debuggers Hotplug mode, which assumes target is running and reset is not performed.&lt;/P&gt;&lt;P&gt;There's an easier option for expanded mode,&amp;nbsp;make&amp;nbsp;MODB/A pins pulled for&amp;nbsp;single chip mode and reconfigure&amp;nbsp;operating mode on the fly from single chip to expanded mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2019 10:36:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9s12xet256-debugging-with-PEMicro/m-p/942468#M16614</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2019-07-05T10:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: 9s12xet256 debugging with PEMicro</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9s12xet256-debugging-with-PEMicro/m-p/942469#M16615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to MC9S12XEP100RMV1.pdf, MODA and MODB are internally pulled low when /RESET is low.&amp;nbsp; Therefore, the uP on my board should be in Normal single chip or Special single chip mode depending on how the debugger pulls BKGD.&amp;nbsp; My problem is the PEMicro debugger is not talking to the uP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 20:01:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9s12xet256-debugging-with-PEMicro/m-p/942469#M16615</guid>
      <dc:creator>michaelhuslig</dc:creator>
      <dc:date>2019-07-08T20:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: 9s12xet256 debugging with PEMicro</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9s12xet256-debugging-with-PEMicro/m-p/942470#M16616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ugh, OE-MODA connection&amp;nbsp;made me thinking you are trying booting to expanded mode, sorry.&amp;nbsp;Still internal pull devices are quite weak, I would check if&amp;nbsp;MODA pulls low on time. &lt;/P&gt;&lt;P&gt;Perhaps MCU got secured, did you try P&amp;amp;E Unsecure12 utility? Are you able to read registers, perhaps manipulate some DDRx and PORTx registers via memory&amp;nbsp;window to make some pin&amp;nbsp;high/low?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 20:44:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9s12xet256-debugging-with-PEMicro/m-p/942470#M16616</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2019-07-08T20:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: 9s12xet256 debugging with PEMicro</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9s12xet256-debugging-with-PEMicro/m-p/942471#M16617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read the following then note that I observed the MODE register as 0x00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I sent this to PEMicro today:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to go back to a home grown BDM interface I had made long ago for the HC12A4.&amp;nbsp; After modifying my BDM firmware, I was able to see the BDM signal and noticed I needed to add a pull-up on the BGND line, since my BDM used an open collector to talk to the target.&amp;nbsp; I could also reprogram my BDM to use a push-pull pin, in which case I didn't need to add the pull-up resistor.&amp;nbsp; I hadn't noticed a slow rise time on the BGND pin when I was using the PE BDMs, so I assume your BDMs didn't need a pull-up?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So anyway, I added the pull-up and tried to use the PE BDMs.&amp;nbsp; No luck.&amp;nbsp; So I tried the UNSECURE12 program.&amp;nbsp; It didn't work with the Multilink Universal, but did work with the ML-12.&amp;nbsp; You need to fix this since the ML-12 is obsolete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, with the uP unsecured, CW5.2 still wouldn't program the target with either PE BDM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike H.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2019 19:56:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9s12xet256-debugging-with-PEMicro/m-p/942471#M16617</guid>
      <dc:creator>michaelhuslig</dc:creator>
      <dc:date>2019-07-29T19:56:02Z</dc:date>
    </item>
  </channel>
</rss>

