<?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: The BDM has been re-enabled in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/The-BDM-has-been-re-enabled/m-p/194419#M7110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When S12(X) MCU&amp;nbsp;is secured, P&amp;amp;E debug connection&amp;nbsp;has problems with communication speed etc.&amp;nbsp;Did you try to unsecure MCU with P&amp;amp;E Unsecure_12 utility?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BTW I wonder why P&amp;amp;E has problems with BDM communication speed, since BDM SYNC "command" works even in secured mode and allows to determine BDM speed&amp;nbsp;quite precisely. SYNC isn't supported by&amp;nbsp;old HC12 MCUs, but these old HC12 don't have chip security. Why then we are having problems? Or why debugger doesn't tell clearly MCU is secured.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 Apr 2010 00:15:52 GMT</pubDate>
    <dc:creator>kef</dc:creator>
    <dc:date>2010-04-24T00:15:52Z</dc:date>
    <item>
      <title>The BDM has been re-enabled</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/The-BDM-has-been-re-enabled/m-p/194414#M7105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been developing for 9S12DT256 for several years using CodeWarrior Pro and a P&amp;amp;E Micro USB-ML-12 BDM module version C. All of the drivers for the BDM are up to date as well as the firmware. I don't have the version of CodeWarrior available right now but I can provide it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As soon as the PLL is enabled (first time I have ever used it) the debugger streams the error "The BDM has been re-enabled" several times and communication is lost.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My simple test program I am using to work this problem out just toggles a bit in a while loop. There is&amp;nbsp;only a problem with the HiWave debugger. I tried the P&amp;amp;E debugger and it steps through the program fine and I have verified that the operating frequency has changed as it is supposed to, ie I can change the frequency of the output as desired by changing the PLL settings.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 08:22:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/The-BDM-has-been-re-enabled/m-p/194414#M7105</guid>
      <dc:creator>goelectrons</dc:creator>
      <dc:date>2010-04-22T08:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: The BDM has been re-enabled</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/The-BDM-has-been-re-enabled/m-p/194415#M7106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to my understanding you are changing the value of the PLL within the application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are doing so you need to configure your connection to tell the debugger PLL might change in the application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to do that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Select &lt;STRONG&gt;&lt;EM&gt;Multilink/Cycllone Pro&lt;/EM&gt;&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;&lt;EM&gt;Connection&lt;/EM&gt;&lt;/STRONG&gt; or &lt;STRONG&gt;&lt;EM&gt;Communication&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- In the &lt;STRONG&gt;&lt;EM&gt;P&amp;amp;E ICD12, Cable12, Multilink, Cyclone Pro Connection&lt;/EM&gt;&lt;/STRONG&gt; dialog activate the &lt;STRONG&gt;&lt;EM&gt;Special Setup&lt;/EM&gt;&lt;/STRONG&gt; tab.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Check &lt;STRONG&gt;&lt;EM&gt;Set CLKSW bit in BDM control register&lt;/EM&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - Click on OK to close the dialog.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From now on the debugger should be able to resynchronize after&amp;nbsp;a change of PLL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 19:39:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/The-BDM-has-been-re-enabled/m-p/194415#M7106</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2010-04-22T19:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: The BDM has been re-enabled</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/The-BDM-has-been-re-enabled/m-p/194416#M7107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Previously I was setting the PLL in the CPU bean but of course I would lose communication before I even got to the&amp;nbsp;default breakpoint @&amp;nbsp;main() so I removed it from the bean and&amp;nbsp;did it myself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The checkbox you speak of is already checked, I probably should have mentioned that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-g&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 20:17:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/The-BDM-has-been-re-enabled/m-p/194416#M7107</guid>
      <dc:creator>goelectrons</dc:creator>
      <dc:date>2010-04-22T20:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: The BDM has been re-enabled</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/The-BDM-has-been-re-enabled/m-p/194417#M7108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I downloaded the newest version of CodeWarrior for HCS12(X) v5.0 and all my problems went away.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Happy, happy, happy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 21:10:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/The-BDM-has-been-re-enabled/m-p/194417#M7108</guid>
      <dc:creator>goelectrons</dc:creator>
      <dc:date>2010-04-22T21:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: The BDM has been re-enabled</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/The-BDM-has-been-re-enabled/m-p/194418#M7109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, the last message was a bit premature I guess.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am used to hitting the debug icon in CW and having it erase and program the device and break at the beginning of main(). Now when I do this I get a connection manager dialog. I cannot&amp;nbsp;seem to figure out what is necessary to get it to reliably find the communication speed and re-program the device. The connection manager does not remember my setting for "Autodetect communications speed".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error while loading diagnostics algorithm.... over and over and over.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 20:31:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/The-BDM-has-been-re-enabled/m-p/194418#M7109</guid>
      <dc:creator>goelectrons</dc:creator>
      <dc:date>2010-04-23T20:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: The BDM has been re-enabled</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/The-BDM-has-been-re-enabled/m-p/194419#M7110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When S12(X) MCU&amp;nbsp;is secured, P&amp;amp;E debug connection&amp;nbsp;has problems with communication speed etc.&amp;nbsp;Did you try to unsecure MCU with P&amp;amp;E Unsecure_12 utility?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BTW I wonder why P&amp;amp;E has problems with BDM communication speed, since BDM SYNC "command" works even in secured mode and allows to determine BDM speed&amp;nbsp;quite precisely. SYNC isn't supported by&amp;nbsp;old HC12 MCUs, but these old HC12 don't have chip security. Why then we are having problems? Or why debugger doesn't tell clearly MCU is secured.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Apr 2010 00:15:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/The-BDM-has-been-re-enabled/m-p/194419#M7110</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2010-04-24T00:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: The BDM has been re-enabled</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/The-BDM-has-been-re-enabled/m-p/194420#M7111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The unsecure utility reports that the chip is not secured.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Apr 2010 00:34:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/The-BDM-has-been-re-enabled/m-p/194420#M7111</guid>
      <dc:creator>goelectrons</dc:creator>
      <dc:date>2010-04-24T00:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: The BDM has been re-enabled</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/The-BDM-has-been-re-enabled/m-p/194421#M7112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I'm having a similar problem with CW4.5 and the P&amp;amp;E USB Multilink: I suddenly started getting a failure message "Error while loding &lt;SPAN class="searchlite"&gt;diagnostics&lt;/SPAN&gt; &lt;SPAN class="searchlite"&gt;algorithm&lt;/SPAN&gt; to taget system,the chip may be secured,or the derivative selected may be wrong." when I try to burn the application on the target,&amp;nbsp; The chip is definitely not secured.&lt;/P&gt;&lt;P&gt;Most weird is that, even though the failure message always appears, HI-WAVE sometimes DOES manage to program the device, sometimes not.&lt;/P&gt;&lt;P&gt;Does anyone know what the problem can be?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanx a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 14:08:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/The-BDM-has-been-re-enabled/m-p/194421#M7112</guid>
      <dc:creator>cfu</dc:creator>
      <dc:date>2010-04-27T14:08:31Z</dc:date>
    </item>
  </channel>
</rss>

