<?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: Unable to program HCS12 device using USBDM / TBDML in OSBDM and TBDML</title>
    <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Unable-to-program-HCS12-device-using-USBDM-TBDML/m-p/440603#M3171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my first try at a forum so please bear with me. Your board is of the hcs12 series? I ran into an issue where I my board did want to communicate with my ide. I ended up finding that using bdm 4.10 had the hcs12 gui which allowed me to flash it correctly. You may need to downloaf your s file that has all of the proper memory mapping and flash it that way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thoughts?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2018 02:27:12 GMT</pubDate>
    <dc:creator>frostfire45</dc:creator>
    <dc:date>2018-03-28T02:27:12Z</dc:date>
    <item>
      <title>Unable to program HCS12 device using USBDM / TBDML</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Unable-to-program-HCS12-device-using-USBDM-TBDML/m-p/440602#M3170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;I'm working with a HCS12 device, more specifically MM912j637 which can be used as a battery monitor.&lt;/P&gt;&lt;P&gt;My environment includes Code warrior 5.1 for HCS12 devices, as well as the HIWAVE debugger. The board is a simple one, nothing special,&lt;/P&gt;&lt;P&gt;just the necessary components according to the Freescale's documentation. I had one board which worked fine until the day before yesterday when all of a sudden&lt;/P&gt;&lt;P&gt;it stopped working. When attempting to debug using HIWAVE I ended up with "&lt;STRONG&gt;&lt;EM&gt;Unable to connect to the Target CPU&lt;/EM&gt;&lt;/STRONG&gt;". If I carry on regardless and try to download the image&lt;/P&gt;&lt;P&gt;to the target I get the infamous "&lt;STRONG&gt;&lt;EM&gt;Error while loading diagnostics algorithm to target system. The chip may be secured, or the derivative selected may be wrong&lt;/EM&gt;&lt;/STRONG&gt;." &lt;/P&gt;&lt;P&gt;There were a few instances of the above error discussed on the forum and all of them were not answered properly, i.e not resolved.&lt;/P&gt;&lt;P&gt;Nevertheless, I built a new board with a brand new chip and got the same result in HIWAVE, that is - unable to connect...&lt;/P&gt;&lt;P&gt;Trying to eliminate a possible failure of the TBDML interface (Turbo BDM Light GDI v1.7) I used the USBDM programmer. My first device was detected by the programmer with an &lt;/P&gt;&lt;P&gt;ID 3881 and no device name. I modified the hcs12_devices.xml&amp;nbsp; in the USBDM directory to include the new device, simply by creating a new entry similar to the MM912H634 device which is "almost" the&amp;nbsp; same device as MM912j637. That gave me the possibility to try a mass erase, which of course was unsuccessful. The tcl script returned an error, which when digging in the script, appeared to be related to inability to unsecure the device.&lt;/P&gt;&lt;P&gt;Bottom line - I have two devices which do not work at present. One of them just stopped working, the other I can't get it to work either.&lt;/P&gt;&lt;P&gt;Turbo BDM status register returns meaningful HW, SW versions and crystal frequencies. The status registers returns 0xFF which according to some other discussions is not good. I also tried keeping RESET to low when powering up the device and when trying to mass erase but without success. I am not sure whether my BDM is faulty or I should blame my boards.&lt;/P&gt;&lt;P&gt;I don't have another device to test TBDML, but in my opinion it is OK. As for USBDM, I think it works too (lights are programmer appears in the drop-down list.&lt;/P&gt;&lt;P&gt;Therefore, I have reasons to believe I somehow can't unsecure the devices, although I have no explanation how they got locked. I never played with SEC bits and the second MCU was new.&lt;/P&gt;&lt;P&gt;I came across similar topics in the Kinetis discussions with people complaining they can't program new devices and also some other device having stopped working.&lt;/P&gt;&lt;P&gt;Any ideas/clues really appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 16:15:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Unable-to-program-HCS12-device-using-USBDM-TBDML/m-p/440602#M3170</guid>
      <dc:creator>georgipetrov</dc:creator>
      <dc:date>2015-10-29T16:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to program HCS12 device using USBDM / TBDML</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Unable-to-program-HCS12-device-using-USBDM-TBDML/m-p/440603#M3171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my first try at a forum so please bear with me. Your board is of the hcs12 series? I ran into an issue where I my board did want to communicate with my ide. I ended up finding that using bdm 4.10 had the hcs12 gui which allowed me to flash it correctly. You may need to downloaf your s file that has all of the proper memory mapping and flash it that way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thoughts?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 02:27:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Unable-to-program-HCS12-device-using-USBDM-TBDML/m-p/440603#M3171</guid>
      <dc:creator>frostfire45</dc:creator>
      <dc:date>2018-03-28T02:27:12Z</dc:date>
    </item>
  </channel>
</rss>

