<?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: Error at initialisation of debug session in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Error-at-initialisation-of-debug-session/m-p/1321879#M18060</link>
    <description>&lt;P&gt;I have an own PCB.&lt;/P&gt;&lt;P&gt;The 470nF is working. Now everything is fine.&lt;/P&gt;&lt;P&gt;What effects the 470nF?&lt;/P&gt;</description>
    <pubDate>Wed, 11 Aug 2021 11:39:06 GMT</pubDate>
    <dc:creator>Boris_Bloxsberg</dc:creator>
    <dc:date>2021-08-11T11:39:06Z</dc:date>
    <item>
      <title>Error at initialisation of debug session</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Error-at-initialisation-of-debug-session/m-p/1321105#M18053</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;I got an issue with the PE Mulitlink (Rev C with BDM) and the MM9Z1J938.&lt;/P&gt;&lt;P&gt;Everytime when I want to start an debugsession with the Code Warror, I got serval errors in the console (see below) and the debug session will be aborted.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;INF: Initialized.&lt;BR /&gt;INF: ;version 1.03, 6/27/2014, Copyright P&amp;amp;E Microcomputer Systems, &lt;A href="http://www.pemicro.com" target="_blank"&gt;www.pemicro.com&lt;/A&gt; [freescale_mm9z1j638_pflash]&lt;BR /&gt;INF: ;device freescale, mm9z1j638, 1x16x64k, desc=all&lt;BR /&gt;INF: ;begin_cs device=$00100000, length=$00020000, ram=$00001000&lt;BR /&gt;INF: Loading programming algorithm ...&lt;BR /&gt;INF: Done.&lt;BR /&gt;INF: Programming sequency is : erase, blank check, program, and verify {default}&lt;BR /&gt;INF: CMD&amp;gt;VC&lt;BR /&gt;INF: Error loading CRC-16 algorithm.&lt;BR /&gt;INF: Error loading CRC-16 Algorithm.&lt;BR /&gt;INF: CMD&amp;gt;EM&lt;BR /&gt;INF: Preserving data range $00100000-$00100033 before erase ...&lt;BR /&gt;INF: Done.&lt;BR /&gt;INF: Erasing.&lt;BR /&gt;INF: Module has been erased.&lt;BR /&gt;INF: Reloading programming algorithm ...&lt;BR /&gt;ERR: Error Erasing flash of device&lt;BR /&gt;ERR: Error occured during Flash programming.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Does anyone have a workarround for this issue?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 12:13:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Error-at-initialisation-of-debug-session/m-p/1321105#M18053</guid>
      <dc:creator>Boris_Bloxsberg</dc:creator>
      <dc:date>2021-08-10T12:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error at initialisation of debug session</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Error-at-initialisation-of-debug-session/m-p/1321842#M18056</link>
      <description>&lt;P&gt;Hi Boris,&lt;/P&gt;
&lt;P&gt;Did you try another piece of HW or software pack also? There are Eval Kits also available on&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/products/power-management/battery-management/battery-sensors/battery-sensor-with-can-and-lin:MM9Z1_638?tab=Design_Tools_Tab" target="_blank"&gt;https://www.nxp.com/products/power-management/battery-management/battery-sensors/battery-sensor-with-can-and-lin:MM9Z1_638?tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;with detail description, SW packs, drivers and LIN Stack too. It could be as reference for your design.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Stano.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 10:24:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Error-at-initialisation-of-debug-session/m-p/1321842#M18056</guid>
      <dc:creator>StanoA</dc:creator>
      <dc:date>2021-08-11T10:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error at initialisation of debug session</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Error-at-initialisation-of-debug-session/m-p/1321872#M18057</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the PE Mirco is working with the EVM.&lt;/P&gt;&lt;P&gt;We added an 470nF between GND and Reset according&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S12-MagniV-Microcontrollers/quot-Device-is-secure-Erase-to-unsecure-quot-error-message-comes/m-p/561105?ru=207558&amp;amp;sr=stream" target="_blank"&gt;https://community.nxp.com/t5/S12-MagniV-Microcontrollers/quot-Device-is-secure-Erase-to-unsecure-quot-error-message-comes/m-p/561105?ru=207558&amp;amp;sr=stream&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Now its working.&lt;/P&gt;&lt;P&gt;Do you now what the addional cap effect?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 11:22:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Error-at-initialisation-of-debug-session/m-p/1321872#M18057</guid>
      <dc:creator>Boris_Bloxsberg</dc:creator>
      <dc:date>2021-08-11T11:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error at initialisation of debug session</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Error-at-initialisation-of-debug-session/m-p/1321873#M18058</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the PE Mirco is working with the EVM.&lt;/P&gt;&lt;P&gt;We added an 470nF between GND and Reset according&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S12-MagniV-Microcontrollers/quot-Device-is-secure-Erase-to-unsecure-quot-error-message-comes/m-p/561105?ru=207558&amp;amp;sr=stream" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/S12-MagniV-Microcontrollers/quot-Device-is-secure-Erase-to-unsecure-quot-error-message-comes/m-p/561105?ru=207558&amp;amp;sr=stream&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Now its working.&lt;/P&gt;&lt;P&gt;Do you now what the addional cap effect?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 11:23:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Error-at-initialisation-of-debug-session/m-p/1321873#M18058</guid>
      <dc:creator>Boris_Bloxsberg</dc:creator>
      <dc:date>2021-08-11T11:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error at initialisation of debug session</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Error-at-initialisation-of-debug-session/m-p/1321874#M18059</link>
      <description>&lt;P&gt;Hi Boris,&lt;/P&gt;
&lt;P&gt;not sure what the issue is!&lt;/P&gt;
&lt;P&gt;What is you hardware setup? (EVB, RefDesign, own PCB)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;The typical issues with programming are:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;1. MM9Z1J638 is periodically reset from the analog die (RESET_A)&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;- workaround is to use a 470nF capacitor between RESET and GND &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;During Programming!!!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Schematics" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152611i91E91D3556C47C3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BDM470nF.PNG" alt="Schematics" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Schematics&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Example" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152612iD342F6217386D9CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Con470nF.PNG" alt="Example" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Example&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. MM9Z1J638 is in low power mode SLEEP &lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;-&amp;nbsp; in this mode the uC is not powered and therefor does not react.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;- check if Yellow LED on USB Multilink is permanently ON (on KIT9Z1J638 with onboard BDM yellow LED D7)&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;- workaround is to wakeup device, e.g. with LIN or Power On (depending on software running in the device)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rgds&lt;/P&gt;
&lt;P&gt;Wolfgang&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 11:25:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Error-at-initialisation-of-debug-session/m-p/1321874#M18059</guid>
      <dc:creator>Q_man</dc:creator>
      <dc:date>2021-08-11T11:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error at initialisation of debug session</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Error-at-initialisation-of-debug-session/m-p/1321879#M18060</link>
      <description>&lt;P&gt;I have an own PCB.&lt;/P&gt;&lt;P&gt;The 470nF is working. Now everything is fine.&lt;/P&gt;&lt;P&gt;What effects the 470nF?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 11:39:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Error-at-initialisation-of-debug-session/m-p/1321879#M18060</guid>
      <dc:creator>Boris_Bloxsberg</dc:creator>
      <dc:date>2021-08-11T11:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error at initialisation of debug session</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Error-at-initialisation-of-debug-session/m-p/1321904#M18061</link>
      <description>&lt;P&gt;&lt;STRONG&gt;The cap should be ONLY used when programming and not during normal operation!!&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The 470nF is suppressing the resets triggered by the Analog die watchdog timer (in initial configuration every ~250ms). See Picture example the top scope picture is the RESET-RESET_A signal w/o 470nF. The bottom scope picture is w the 470nF.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 12:23:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Error-at-initialisation-of-debug-session/m-p/1321904#M18061</guid>
      <dc:creator>Q_man</dc:creator>
      <dc:date>2021-08-11T12:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error at initialisation of debug session</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Error-at-initialisation-of-debug-session/m-p/1321905#M18062</link>
      <description>&lt;P&gt;As you can see on the picture in the answer from Wolfgang the reset generated by analog die is “removed” by this capacitor and Multilink can properly load the code.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Stano.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 12:25:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Error-at-initialisation-of-debug-session/m-p/1321905#M18062</guid>
      <dc:creator>StanoA</dc:creator>
      <dc:date>2021-08-11T12:25:44Z</dc:date>
    </item>
  </channel>
</rss>

