<?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>CodeWarrior Development ToolsのトピックRD9Z1J638 debugging problems</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/RD9Z1J638-debugging-problems/m-p/635601#M5487</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,all&lt;/P&gt;&lt;P&gt;I download the program into the microcontroller(MM9Z1J638) by multilink universal. But &amp;nbsp;a problem accurs, The console is as follows, &amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know what's wrong with my operation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;expect to get the result soon !&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fl::target -b 0x1000 0x2000&lt;BR /&gt;fl::target -v off -l off&lt;BR /&gt;cmdwin::fl::device -d "MM9Z1J638_FLASH" -o "128Kx32x1" -a 0xfe0000 0xffffff&lt;BR /&gt;cmdwin::fl::image -f "E:\\BMS 638 System\\RD9Z1-638-4Li-SW_Rel1.03\\MM9Z1J638\\RD9Z1-638-4Li-Sw.elf" -t "Auto Detect" -re on -r 0xfe0000 0xffffff -oe off&lt;BR /&gt;cmdwin::fl::erase image&lt;BR /&gt; Beginning Operation ... &lt;BR /&gt;------------------------- &lt;BR /&gt;Auto-detection is successful. &lt;BR /&gt; File is of type Elf Format. &lt;BR /&gt; &lt;BR /&gt;Performing target initialization ... &lt;BR /&gt;Device MM9Z1J638_FLASH is protected &lt;BR /&gt; Erasing ....&lt;BR /&gt;Error: Erase Command Failed. Operation timeout. Security area should not be programmed with a value that leads to irreversible secure &lt;BR /&gt;. Protect violation error.&lt;BR /&gt;Device MM9Z1J638_FLASH &lt;BR /&gt;An invalid preference was passed to the GDI protocol plugin(HC/RS/S12Z GDI Protocol Adapter)&lt;BR /&gt;Error: Erase Command Failed.Operation timeout. Security area should not be programmed with a value that leads to irreversible secu&lt;BR /&gt;re&lt;BR /&gt;. Protect violation error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Nov 2016 13:23:56 GMT</pubDate>
    <dc:creator>lizhi</dc:creator>
    <dc:date>2016-11-30T13:23:56Z</dc:date>
    <item>
      <title>RD9Z1J638 debugging problems</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/RD9Z1J638-debugging-problems/m-p/635601#M5487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,all&lt;/P&gt;&lt;P&gt;I download the program into the microcontroller(MM9Z1J638) by multilink universal. But &amp;nbsp;a problem accurs, The console is as follows, &amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know what's wrong with my operation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;expect to get the result soon !&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fl::target -b 0x1000 0x2000&lt;BR /&gt;fl::target -v off -l off&lt;BR /&gt;cmdwin::fl::device -d "MM9Z1J638_FLASH" -o "128Kx32x1" -a 0xfe0000 0xffffff&lt;BR /&gt;cmdwin::fl::image -f "E:\\BMS 638 System\\RD9Z1-638-4Li-SW_Rel1.03\\MM9Z1J638\\RD9Z1-638-4Li-Sw.elf" -t "Auto Detect" -re on -r 0xfe0000 0xffffff -oe off&lt;BR /&gt;cmdwin::fl::erase image&lt;BR /&gt; Beginning Operation ... &lt;BR /&gt;------------------------- &lt;BR /&gt;Auto-detection is successful. &lt;BR /&gt; File is of type Elf Format. &lt;BR /&gt; &lt;BR /&gt;Performing target initialization ... &lt;BR /&gt;Device MM9Z1J638_FLASH is protected &lt;BR /&gt; Erasing ....&lt;BR /&gt;Error: Erase Command Failed. Operation timeout. Security area should not be programmed with a value that leads to irreversible secure &lt;BR /&gt;. Protect violation error.&lt;BR /&gt;Device MM9Z1J638_FLASH &lt;BR /&gt;An invalid preference was passed to the GDI protocol plugin(HC/RS/S12Z GDI Protocol Adapter)&lt;BR /&gt;Error: Erase Command Failed.Operation timeout. Security area should not be programmed with a value that leads to irreversible secu&lt;BR /&gt;re&lt;BR /&gt;. Protect violation error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 13:23:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/RD9Z1J638-debugging-problems/m-p/635601#M5487</guid>
      <dc:creator>lizhi</dc:creator>
      <dc:date>2016-11-30T13:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: RD9Z1J638 debugging problems</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/RD9Z1J638-debugging-problems/m-p/635602#M5488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Li zhi,&lt;/P&gt;&lt;P&gt;Through&amp;nbsp; the information of Console , it seems the chip is security ,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/9180i1E8F3B4F7A83F076/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The security features of the S12Z chip family are :&lt;/P&gt;&lt;P&gt;•Prevent external access of the non-volatile memories (Flash, EEPROM) content&lt;BR /&gt;•Restrict execution of NVM commands&lt;BR /&gt;•Prevent BDC access of internal resources&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the chip register , there are two bits are used for security (SEC[1:0]), then set the tow bits to 10 ,&lt;/P&gt;&lt;P&gt;it unsecured. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_13.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/9139i5E2C87D130279D4F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_13.png" alt="pastedImage_13.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the detail please refer to Data Sheet of&amp;nbsp; your chip,&amp;nbsp; &amp;nbsp; the part of&amp;nbsp; "&lt;STRONG&gt;5.2.7Security "&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice Yang&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, 01 Dec 2016 03:11:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/RD9Z1J638-debugging-problems/m-p/635602#M5488</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-12-01T03:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: RD9Z1J638 debugging problems</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/RD9Z1J638-debugging-problems/m-p/635603#M5489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-size: 14px;"&gt;Dear &lt;SPAN style="background-color: #efefef; font-size: 12px;"&gt;Alice,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-size: 14px;"&gt;I am glad to hear from you !&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-size: 14px;"&gt;It seems that your advice is useful. My board is RD9Z1J638. The codes come from NXP official website.&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-size: 14px;"&gt;&amp;nbsp;But I don't know how to modified &amp;nbsp;my codes seen in the annex（download from NXP Web:&amp;nbsp;&amp;nbsp;&lt;A class="link-titled" href="http://www.nxp.com/products/power-management/battery-management/battery-sensors/reference-design-mm9z1-638-4-cell-lithium-battery:RD9Z1-638-4Li?fpsp=1&amp;amp;tab=Design_Tools_Tab&amp;amp;lang_cd=zh-Hans" title="http://www.nxp.com/products/power-management/battery-management/battery-sensors/reference-design-mm9z1-638-4-cell-lithium-battery:RD9Z1-638-4Li?fpsp=1&amp;amp;tab=Design_Tools_Tab&amp;amp;lang_cd=zh-Hans"&gt;MM9Z1_638, 4-Cell Lithium Battery|NXP&lt;/A&gt;&amp;nbsp;&amp;nbsp;）. &amp;nbsp;So I hope you can modify the code for me .Thank you very much!&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 03:12:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/RD9Z1J638-debugging-problems/m-p/635603#M5489</guid>
      <dc:creator>lizhi</dc:creator>
      <dc:date>2016-12-05T03:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: RD9Z1J638 debugging problems</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/RD9Z1J638-debugging-problems/m-p/635604#M5490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;you know the code is RD9Z1-638-4Li-SW_Rel1.03&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 03:15:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/RD9Z1J638-debugging-problems/m-p/635604#M5490</guid>
      <dc:creator>lizhi</dc:creator>
      <dc:date>2016-12-05T03:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: RD9Z1J638 debugging problems</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/RD9Z1J638-debugging-problems/m-p/635605#M5491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello LI Zhi&lt;/P&gt;&lt;P&gt;- I just guess maybe it is the security problem.&lt;/P&gt;&lt;P&gt;If it is the security problem, it is not the project you now want to download , it is&lt;/P&gt;&lt;P&gt;the reason of the project which exist in your board . You can first erase all the chip,&lt;/P&gt;&lt;P&gt;then download your project to have a try.&lt;/P&gt;&lt;P&gt;- About the security :&lt;A href="https://community.nxp.com/docs/DOC-331260"&gt;SW example of Security feature with Backdoor Access Key option for S12ZVL MagniV microcontroller&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/9756i099100DEA9480960/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 10:22:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/RD9Z1J638-debugging-problems/m-p/635605#M5491</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-12-05T10:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: RD9Z1J638 debugging problems</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/RD9Z1J638-debugging-problems/m-p/635606#M5492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello，Alice&lt;/P&gt;&lt;P&gt;anotner noticed thing is that a window pop up said &amp;nbsp;"Device is secure.Erase to unsecure?"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact,I first use the Codewarrior 10.6. So Could&amp;nbsp;&amp;nbsp;you tell me how operating to erase all the chip .&lt;/P&gt;&lt;P&gt;thankyou.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 09:28:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/RD9Z1J638-debugging-problems/m-p/635606#M5492</guid>
      <dc:creator>lizhi</dc:creator>
      <dc:date>2016-12-06T09:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: RD9Z1J638 debugging problems</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/RD9Z1J638-debugging-problems/m-p/635607#M5493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Li Zhi,&lt;/P&gt;&lt;P&gt;When it shows "Device is secure.Erase to unsecure?" , please click "Yes".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 06:51:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/RD9Z1J638-debugging-problems/m-p/635607#M5493</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-12-07T06:51:27Z</dc:date>
    </item>
  </channel>
</rss>

