<?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: Non Volatile Memory Control</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Non-Volatile-Memory-Control/m-p/466917#M11795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pierre,&lt;/P&gt;&lt;P&gt;I suppose that you use EVB9S12XF512E board. Correct?&lt;/P&gt;&lt;P&gt;Please disconnect jumper J27 from your board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will disconnect reset signal from SBC to MCU. Since watchdog in SBC(MC33742) is not triggered during MCU programming via SPI, the watchdog in SBC will reset MCU just I middle of programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;RadekS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Apr 2016 14:53:51 GMT</pubDate>
    <dc:creator>RadekS</dc:creator>
    <dc:date>2016-04-21T14:53:51Z</dc:date>
    <item>
      <title>Non Volatile Memory Control</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Non-Volatile-Memory-Control/m-p/466916#M11794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using a FlexRay Evaluation Board from ON-Semiconductor (NCV73810V2GEVB).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to program the &lt;STRONG&gt;MC9S12XF512MLM&lt;/STRONG&gt; microcontroller which is embedded with &lt;STRONG&gt;CodeWarrior V.5.1&lt;/STRONG&gt; and the &lt;STRONG&gt;USB-ML-UNIVERSAL&lt;/STRONG&gt; debugger from PEmicro.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The situation is :&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Leds on the board are ON, blue and yellow leds on the USB-ML-UNIVERSAL are also ON.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. I click on debug&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Connection Manager appear&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. I chose "Autodetect communications speed", click on refresh (USB1 : USB Multilink Rev C (PEMA17837) is now detected), and click on "Connect(Reset)"&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5. After maybe 500ms leds on board goes OFF and the yellow one on USB-ML-UNIVERSAL too. The following error message appear : &lt;/P&gt;&lt;P&gt;&lt;EM&gt;HI-WAVE&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The Debugger can not connect to the P&amp;amp;E BDC interface or targetted hardware board.&lt;/EM&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5. I click on "OK" and a new Connection Manager window appear (leds are still on the same mode than in the section 5. )&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;6. I click on "Connect(Reset)" and the following error message appear :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;HI-WAVE&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Communications with the target failed :&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The target MCU has no clock or wrong BDM clock speed is used or derivative is secured.&lt;/EM&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;7. I click on "OK" and the following warning message appear:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Warning&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Loading a new application will stop the execution of the current one.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;(I don't know if it's useful for you to know everything which happends...)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;8. I click on "OK" and a new message appear :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOADER WARNING&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The debugger is going to mass erase the non volatile memory(eeprom and flash) of the current device, then program the application&lt;/EM&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;9. I click on "OK" and a window appear "NVW Erasing and Programmation Arming". At 33% the following error message appear :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Non Volatile Memory Control&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Error while loading diagnostics algorithm to target system.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The chip may be secured, or the derivative selected may be wrong.&lt;/EM&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;10. I click on "OK" and a new error message appear :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NVM Programmation&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;This operation has been canceled.&lt;/EM&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My program is the following: (just in case it could help you)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;#include &amp;lt;hidef.h&amp;gt; /* common defines and macros */&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;#include "derivative.h" /* derivative-specific definitions */&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;#include "mc9s12xf512.h"&lt;/EM&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;void main(void) {&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; /* here I just want to blink a led &lt;SPAN aria-label="Cry" class="emoticon_cry emoticon-inline" style="height:16px;width:16px;"&gt;&lt;/SPAN&gt; */&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; DDRP_DDRP7 = 1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; RDRP_RDRP7 = 0;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; PTP_PTP7 = 1;&lt;/EM&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; EnableInterrupts;&lt;/EM&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; for(;;) {&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; _FEED_COP(); /* feeds the dog */&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; } /* loop forever */&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; /* please make sure that you never leave main */&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 09:59:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Non-Volatile-Memory-Control/m-p/466916#M11794</guid>
      <dc:creator>pierrel</dc:creator>
      <dc:date>2016-04-21T09:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Non Volatile Memory Control</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Non-Volatile-Memory-Control/m-p/466917#M11795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pierre,&lt;/P&gt;&lt;P&gt;I suppose that you use EVB9S12XF512E board. Correct?&lt;/P&gt;&lt;P&gt;Please disconnect jumper J27 from your board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will disconnect reset signal from SBC to MCU. Since watchdog in SBC(MC33742) is not triggered during MCU programming via SPI, the watchdog in SBC will reset MCU just I middle of programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;RadekS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 14:53:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Non-Volatile-Memory-Control/m-p/466917#M11795</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2016-04-21T14:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Non Volatile Memory Control</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Non-Volatile-Memory-Control/m-p/466918#M11796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RadekS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not using the EVB9S12XF512E board but its sister from ON-Semiconductor &lt;STRONG&gt;NCV73810V2GEVB&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But your idea seems good, and could explain lots of things. I'm going to investigate this lead.&lt;/P&gt;&lt;P&gt;I'll come back toward you after; Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 07:17:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Non-Volatile-Memory-Control/m-p/466918#M11796</guid>
      <dc:creator>pierrel</dc:creator>
      <dc:date>2016-04-22T07:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Non Volatile Memory Control</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Non-Volatile-Memory-Control/m-p/466919#M11797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again RadekS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't find the SBC on my board. Can you help me ? You'll find&amp;nbsp; the schematic here : &lt;A href="http://www.onsemi.com/pub_link/Collateral/NCV73810V2GEVB_SCHEMATIC.PDF" title="http://www.onsemi.com/pub_link/Collateral/NCV73810V2GEVB_SCHEMATIC.PDF"&gt;http://www.onsemi.com/pub_link/Collateral/NCV73810V2GEVB_SCHEMATIC.PDF&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 09:40:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Non-Volatile-Memory-Control/m-p/466919#M11797</guid>
      <dc:creator>pierrel</dc:creator>
      <dc:date>2016-04-22T09:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Non Volatile Memory Control</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Non-Volatile-Memory-Control/m-p/466920#M11798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pierre,&lt;/P&gt;&lt;P&gt;You are right, it was my fault – I didn’t read your question carefully.&lt;/P&gt;&lt;P&gt;The schematic of NCV73810V2GEVB board looks OK from my side – no obvious issue. In the case of production, please connect TEST pin to GND. There is pull-down, but it will be safer with TEST pin connected to GND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another tip related to your issue: CW in version 5.1/5.2 with Classic IDE does not have automatic update of USB Multilink Universal firmware. Please download USB Multilink Universal (and FX) Resource CD from PEmicro page:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.pemicro.com/downloads/download_file.cfm?download_id=346"&gt;http://www.pemicro.com/downloads/download_file.cfm?download_id=346&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When you install it, you should start PEFirmwareUpdater.exe&lt;/P&gt;&lt;P&gt;the default path: c:\PEMicro\multilink_universal\PEFirmwareUpdater.exe&lt;/P&gt;&lt;P&gt;and update firmware inside your BDM interface to support RS08/S08/S12(X)(Z)/ColdFire+/ColdFire V1 architectures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;RadekS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 11:12:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Non-Volatile-Memory-Control/m-p/466920#M11798</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2016-04-22T11:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Non Volatile Memory Control</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Non-Volatile-Memory-Control/m-p/466921#M11799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RadekS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I finally found where did the problem come from.&lt;/P&gt;&lt;P&gt;Your idea with the jumper was good and this was the way I choose for my investigation. The person (in my compagny) who gave me the board, just forgot the jumper. And in ON-Semiconductor, the datasheet are not very usefull and pretty paltry. It was only looking on a picture of the board that I found that jumper was missing ! And I'm a beginner too so it doesn't help :smileywink:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if someone have the same problem than me with the board &lt;STRONG&gt;NCV73810V2GEVB&lt;/STRONG&gt;, just connect the J40, J30 and J23 (1-2) jumpers and it'll work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again,&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 12:43:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Non-Volatile-Memory-Control/m-p/466921#M11799</guid>
      <dc:creator>pierrel</dc:creator>
      <dc:date>2016-04-22T12:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Non Volatile Memory Control</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Non-Volatile-Memory-Control/m-p/466922#M11800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pierre,&lt;/P&gt;&lt;P&gt;I am glad that it works now and thank you for sharing the root cause.&lt;/P&gt;&lt;P&gt;I wish you good luck during development.&lt;/P&gt;&lt;P&gt;Best Regards &lt;/P&gt;&lt;P&gt;Radek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 13:01:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Non-Volatile-Memory-Control/m-p/466922#M11800</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2016-04-22T13:01:35Z</dc:date>
    </item>
  </channel>
</rss>

