<?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>Kinetis MicrocontrollersのトピックRe: Problems when programming the MKL04Z8VLC using Jlink and CW.</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246625#M6563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The SWD debugger circuit cause this issue.&lt;BR /&gt;Please check your SWD debug circuit, the &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-KL25Z"&gt;FRDM-KL05Z board&lt;/A&gt; is using 1uF capacitor with reset pin. Please replace this capacitor with a smaller value just lik 0.1uF. And it will be recommend to add a 4.7 kΩ to 10 kΩ pull-up resistor with reset pin.&lt;/P&gt;&lt;P&gt;Your mentioned the reset pin always generate a pulse is a normal behavior, the pulse is generate caused by unprogrammed chip with incorrect instruction cause the chip reset. &lt;BR /&gt;If it is possible, you could remove the 0.1uF capacitor with reset pin and only left external 4.7kΩ or 10kΩ pull-up resistor.&lt;BR /&gt;Please try if the J-Link could connect/program with &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;KL04 chip&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Aug 2013 06:19:13 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2013-08-14T06:19:13Z</dc:date>
    <item>
      <title>Problems when programming the MKL04Z8VLC using Jlink and CW.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246622#M6560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have been using the freedom board to evaluate the &lt;A href="http://www.freescale.com/webapp/sps/site/taxonomy.jsp?code=KINETIS_L_SERIES"&gt;kinetis L series MCU's&lt;/A&gt; and they work fine. We now created the hardware required for our new product and it uses a &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;MKL04Z8VLC4&lt;/A&gt;. We are using the JLink programmer from Segger. First of all, we tried using processor expert and CW 10.4 but we always get a hardfault. This only happens with the &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;MKL04Z8VLC4 &lt;/A&gt;and not with the &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;MKL05Z32&lt;/A&gt;.. We then wrote the code from scratch without using Processor expert and were able to run the program inside the MCU (&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;MKL04Z8VLC4&lt;/A&gt;) but after the first or second programming it's not possible to reprogram the MCU, we have to switch to a fresh untouched MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message I get is the following:&lt;EM&gt;&lt;STRONG&gt; "Failed to resume target process., ARM GDI Protocol Adapter : An error occurred while trying to write memory. The Debugger can not write memory."&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be the issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 15:09:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246622#M6560</guid>
      <dc:creator>atwoz</dc:creator>
      <dc:date>2013-08-08T15:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when programming the MKL04Z8VLC using Jlink and CW.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246623#M6561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I connected the Reset, SWDIO, and SWDCLK to an oscilloscope to check what's going on. There is data in the IO line and a CLK, but the reset is behaving in a strange way. I connected a &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;KL05&lt;/A&gt; to the programmer and I noticed the reset line is always high and everything works ok, I'm able to program and debug the &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;KL05&lt;/A&gt;. When I connect the &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;KL04&lt;/A&gt;, I'm seeing a strange behavior in the reset line, coming from the &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;KL04&lt;/A&gt;. The &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;KL04&lt;/A&gt; is always sending a pulse in the reset line @ 28kHz with a width of 2.5uS, even if I disconnect the Jlink. Is this normal?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 19:18:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246623#M6561</guid>
      <dc:creator>atwoz</dc:creator>
      <dc:date>2013-08-08T19:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when programming the MKL04Z8VLC using Jlink and CW.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246624#M6562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am checking with this issue, I will be back when I could get any updated info.&lt;/P&gt;&lt;P&gt;Thank you for the patience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Ma Hui&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 03:19:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246624#M6562</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2013-08-14T03:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when programming the MKL04Z8VLC using Jlink and CW.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246625#M6563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The SWD debugger circuit cause this issue.&lt;BR /&gt;Please check your SWD debug circuit, the &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-KL25Z"&gt;FRDM-KL05Z board&lt;/A&gt; is using 1uF capacitor with reset pin. Please replace this capacitor with a smaller value just lik 0.1uF. And it will be recommend to add a 4.7 kΩ to 10 kΩ pull-up resistor with reset pin.&lt;/P&gt;&lt;P&gt;Your mentioned the reset pin always generate a pulse is a normal behavior, the pulse is generate caused by unprogrammed chip with incorrect instruction cause the chip reset. &lt;BR /&gt;If it is possible, you could remove the 0.1uF capacitor with reset pin and only left external 4.7kΩ or 10kΩ pull-up resistor.&lt;BR /&gt;Please try if the J-Link could connect/program with &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;KL04 chip&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 06:19:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246625#M6563</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2013-08-14T06:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when programming the MKL04Z8VLC using Jlink and CW.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246626#M6564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Hui.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually. I don't have any capacitor in the reset pin. I just have a 10k pullup. I'm trying to program using the Jlink since it's the only programmer I have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im getting the following errors in CW 10.4 when trying to debug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;Executing Initialization File: D:\CodeWarrior Workspace\project/Project_Settings/Debugger/init_kinetis.tcl&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;radix x&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;cmdwin::eclipse::config hexprefix 0x&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;cmdwin::eclipse::config MemIdentifier p&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;cmdwin::eclipse::config MemWidth 32&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;cmdwin::eclipse::config MemAccess 32&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;cmdwin::eclipse::config MemSwap off&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;cmdwin::reg User\/System Mode Registers/LR = 0xFFFFFFFF&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;failed on register write: LR&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;cmdwin::reg Breakpoint Unit Registers/BP_COMP0 = 0x0&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;failed on register write: BP_COMP0&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;cmdwin::reg Breakpoint Unit Registers/BP_COMP1 = 0x0&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;failed on register write: BP_COMP1&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;cmdwin::reg Core Debug Registers/DEMCR = 0x1000001&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;failed on register write: DEMCR&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;cmdwin::reg Data Watchpoint and Trace Unit Registers/DWT_FUNCTION0 = 0x0&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;failed on register write: DWT_FUNCTION0&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;cmdwin::reg Data Watchpoint and Trace Unit Registers/DWT_FUNCTION1 = 0x0&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;failed on register write: DWT_FUNCTION1&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;I'm able to program the &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;KL05&lt;/A&gt; using Jlink, not the kl04. However I was able to program like 4 chips once, now I can't program even the new chips (I have 100 new chips to test)&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 18:47:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246626#M6564</guid>
      <dc:creator>atwoz</dc:creator>
      <dc:date>2013-08-15T18:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Problems when programming the MKL04Z8VLC using Jlink and CW.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246627#M6565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I double checked with Kinetis L product engineer and get a info below:&lt;/P&gt;&lt;P&gt;CodeWarrior MCU V10.4 with incorrect KL04Z8 chip flash program algorithm, please use attached updated algorithm file instead of previous one.&lt;/P&gt;&lt;P&gt;CodeWarrior will fix this problem at next released version.&lt;/P&gt;&lt;P&gt;The file copy path is: CodeWarrior instalation path\MCU\bin\plugins\support\ARM\gdi\P&amp;amp;E directory.&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Ma Hui&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2013 08:18:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246627#M6565</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2013-08-16T08:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when programming the MKL04Z8VLC using Jlink and CW.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246628#M6566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the file Hui. But I am using JLink as a programmer and I believe the file you sent is for the P&amp;amp;E Programmer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get errors when I don't use CW and I use JLink.exe to try to unlock or erase the kinetis (I'm able to unlock and erase a kinetis &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;KL05&lt;/A&gt; on a freedom board but not the &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;KL04&lt;/A&gt; alone).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the minimum connections to the MCU, nothing more:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Vdd to Vdd (3.3V)&lt;/LI&gt;&lt;LI&gt;Gnd to Gnd&lt;/LI&gt;&lt;LI&gt;JLINK nReset to the Reset of the MCU&lt;/LI&gt;&lt;LI&gt;JLINK VRef to Vdd&lt;/LI&gt;&lt;LI&gt;JLINK Gnd to Gnd&lt;/LI&gt;&lt;LI&gt;JLINK SWDIO to SWDIO of the MCU&lt;/LI&gt;&lt;LI&gt;JLINK WDCLK to SWCLK of the MCU&lt;/LI&gt;&lt;LI&gt;A 10k resistor between Vdd and Reset&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Aug 2013 12:31:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246628#M6566</guid>
      <dc:creator>atwoz</dc:creator>
      <dc:date>2013-08-17T12:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Problems when programming the MKL04Z8VLC using Jlink and CW.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246629#M6567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you try to add a 10K pull up resistor with SWDIO pin? If there still with problem, could you post the J-Link Commander software print info? It will show if J-Link find a device and related info. I attached my screen copy for your reference.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="J-Link Commander.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40486i467217EA6EDBBE3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="J-Link Commander.jpg" alt="J-Link Commander.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 05:57:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246629#M6567</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2013-08-20T05:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when programming the MKL04Z8VLC using Jlink and CW.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246630#M6568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hui,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added the resistor. No luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are 2 screenshots, one with the direct connection to the &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;KL04 MCU&lt;/A&gt; and one connected to the freedom board using the Jtag header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) First screen is the &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;KL04MCU&lt;/A&gt; connected directly to the JLINK (it has a pullup in the reset and the SWDIO line)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="jlink-commander-output-kinetis.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40516iF097231B6BA73158/image-size/large?v=v2&amp;amp;px=999" role="button" title="jlink-commander-output-kinetis.JPG.jpg" alt="jlink-commander-output-kinetis.JPG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2) Second screen is the connection to the freedom board.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="jlink-commander-freedom.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40517iCFE45A15627D45FB/image-size/large?v=v2&amp;amp;px=999" role="button" title="jlink-commander-freedom.JPG.jpg" alt="jlink-commander-freedom.JPG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 01:15:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246630#M6568</guid>
      <dc:creator>atwoz</dc:creator>
      <dc:date>2013-08-22T01:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when programming the MKL04Z8VLC using Jlink and CW.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246631#M6569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked your hardware connection, there without any problem.&lt;/P&gt;&lt;P&gt;Have you check if there exists rosin joint on your board?&lt;/P&gt;&lt;P&gt;And I check you are using &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-KL05Z"&gt;FRDM-KL05 board&lt;/A&gt; to do the J-Link connection test.&lt;/P&gt;&lt;P&gt;Do you have tried to replace &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;KL04&lt;/A&gt; chip on your board with &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;KL05 chip&lt;/A&gt;? If &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;KL05 chip&lt;/A&gt; mounted on your board could be connected?&lt;/P&gt;&lt;P&gt;Please let me know your comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Ma Hui&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 08:21:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246631#M6569</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2013-08-23T08:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when programming the MKL04Z8VLC using Jlink and CW.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246632#M6570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hui. I have tried also with a &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;KL05&lt;/A&gt; connected directly to the JLINK with the components I mentioned (with PCB and also with wires soldered directly to the MCU) and no luck. I will try removing the &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;KL05&lt;/A&gt; from one of my freedom boards an soldering a &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;KL04&lt;/A&gt; to the freedom board and seeing if I could program that mcu using that board with the jlink.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will let you know how it goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Hui.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Aug 2013 17:38:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246632#M6570</guid>
      <dc:creator>atwoz</dc:creator>
      <dc:date>2013-08-25T17:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when programming the MKL04Z8VLC using Jlink and CW.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246633#M6571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I have similar problem - I cant programming virgin mkl05 chip with j-link. The same thing with reset pin, and I havn't freedom board. I'm removed capacitor from reset pin, add pull-up 10K. I'm tried add pull-up 10K for SWDIO and nmi_b (ptb5) , and pull-down 10K for SWDCLK - no results. In CW10.7 tried "erase whole device" with fixed speed 100khz . &lt;SPAN class="" lang="en"&gt;&lt;SPAN&gt;Here is my&lt;/SPAN&gt; &lt;SPAN class=""&gt;log&lt;/SPAN&gt;&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;fl::target -lc "LC for Simple Flash"&lt;BR /&gt;fl::target -b 0x1ffffc00 0x1000&lt;BR /&gt;fl::target -v off -l off&lt;BR /&gt;cmdwin::fl::device -d "FTFA_PFlash32RAM4" -o "8kx32x1" -a 0x0 0x7fff&lt;BR /&gt;cmdwin::fl::erase all&lt;BR /&gt; Beginning Operation ... &lt;BR /&gt;------------------------- &lt;BR /&gt;Performing target initialization ... &lt;BR /&gt;failed on register write: LR &lt;BR /&gt;failed on register write: BP_COMP0 &lt;BR /&gt;failed on register write: BP_COMP1 &lt;BR /&gt;failed on register write: DEMCR &lt;BR /&gt;failed on register write: DWT_FUNCTION0 &lt;BR /&gt;failed on register write: DWT_FUNCTION1 &lt;BR /&gt;Device FTFA_PFlash32RAM4 is protected &lt;BR /&gt;Error: Couldn't write applet to target. Can not read target memory at location: 0x000000001FFFFC00.Please make sure that the chip selects are properly configured. &lt;BR /&gt;The CWPP response code is: ARM GDI Protocol Adapter : An error occurred while trying to write memory. The Debugger can not write memory..&lt;BR /&gt;Device FTFA_PFlash32RAM4 is protected &lt;BR /&gt;An error occurred while trying to write memory. The Debugger can not write memory.(ARM GDI Protocol Adapter)&lt;BR /&gt;Error: Couldn't write applet to target.Can not read target memory at location: 0x000000001FFFFC00.&lt;BR /&gt;Please make sure that the chip selects are properly configured.&lt;BR /&gt;The CWPP response code is: ARM GDI Protocol Adapter : An error occurred while trying to write memory. The Debugger can not write memory..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is solved?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 17:12:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246633#M6571</guid>
      <dc:creator>vitaliykoshelev</dc:creator>
      <dc:date>2016-10-12T17:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when programming the MKL04Z8VLC using Jlink and CW.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246634#M6572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vitaliy, Could you solved this problem? if yes, could you please help to share the solution to me as I have this problem now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 05:22:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-when-programming-the-MKL04Z8VLC-using-Jlink-and-CW/m-p/246634#M6572</guid>
      <dc:creator>fishwang</dc:creator>
      <dc:date>2017-01-11T05:22:13Z</dc:date>
    </item>
  </channel>
</rss>

