<?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: DAP error while reading AIRCR / CPUID register</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAP-error-while-reading-AIRCR-CPUID-register/m-p/708861#M43500</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hui Ma,&lt;/P&gt;&lt;P&gt;Nothing seems to be working. We had few more boards mounted but all go into secure mode on the very first attempt to program the device.&lt;/P&gt;&lt;P&gt;Is there a way where we can check to see if we are unintentionally setting the mass erase and readout lock bits before we actually start programming?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional Info: Here's a log of the Jlink console of a very first attempt to program a fresh device&lt;/P&gt;&lt;P&gt;------------------------------------------------&lt;/P&gt;&lt;P&gt;Application log started&lt;BR /&gt; - J-Flash V6.14c (J-Flash compiled Mar 31 2017 17:46:07)&lt;BR /&gt; - JLinkARM.dll V6.14c (DLL compiled Mar 31 2017 17:45:52)&lt;BR /&gt;Reading flash device list [C:\Program Files\SEGGER\JLink_V614c\ETC\JFlash\Flash.csv] ...&lt;BR /&gt; - List of flash devices read successfully (451 Devices)&lt;BR /&gt;Reading MCU device list ...&lt;BR /&gt; - List of MCU devices read successfully (6407 Devices)&lt;BR /&gt;Creating new project ...&lt;BR /&gt; - New project created successfully&lt;BR /&gt;Connecting ...&lt;BR /&gt; - Connecting via USB to J-Link device 0&lt;BR /&gt; - Target interface speed: 4000 kHz (Fixed)&lt;BR /&gt; - VTarget = 2.989V&lt;BR /&gt; - ERROR: DAP error while reading AIRCR / CPUID register&lt;BR /&gt; - ERROR: Failed to connect.&lt;BR /&gt;Could not establish a connection to target.&lt;/P&gt;&lt;P&gt;-------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arvind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Oct 2017 16:11:51 GMT</pubDate>
    <dc:creator>armaram</dc:creator>
    <dc:date>2017-10-06T16:11:51Z</dc:date>
    <item>
      <title>DAP error while reading AIRCR / CPUID register</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAP-error-while-reading-AIRCR-CPUID-register/m-p/708857#M43496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We randomly keep getting this error while trying to the flash our KM34Z256VLL7 device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connecting ...&lt;BR /&gt; - Connecting via USB to J-Link device 0&lt;BR /&gt; - Target interface speed: 4000 kHz (Fixed)&lt;BR /&gt; - VTarget = 3.254V&lt;BR /&gt; - ERROR: DAP error while reading AIRCR / CPUID register&lt;BR /&gt; - ERROR: Failed to connect.&lt;BR /&gt;Could not establish a connection to target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try the same from within KDS I get an error "Protection bytes of flash at addr 0x400-0x40F indicate that the readout protection is set. For debugger connection the device needs to be unsecured."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed a chain which mentioned a procedure for KL processors, is there something similar for the KM series of controllers? Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 13:02:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAP-error-while-reading-AIRCR-CPUID-register/m-p/708857#M43496</guid>
      <dc:creator>armaram</dc:creator>
      <dc:date>2017-08-28T13:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: DAP error while reading AIRCR / CPUID register</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAP-error-while-reading-AIRCR-CPUID-register/m-p/708858#M43497</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;The KM34Z256VLL7 is using the same ARM Cortex-M0+ core, which has the same debug design with Kinetis L family product.&lt;/P&gt;&lt;P&gt;Customer could consider to use &lt;A href="https://www.segger.com/products/debug-probes/j-link/tools/j-link-commander/"&gt;Segger J-Link commander tool&lt;/A&gt; to unlock the KM34Z256VLL7&amp;nbsp; product:&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/28438i3240D8515328E1B4/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;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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>Wed, 30 Aug 2017 07:15:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAP-error-while-reading-AIRCR-CPUID-register/m-p/708858#M43497</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-08-30T07:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: DAP error while reading AIRCR / CPUID register</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAP-error-while-reading-AIRCR-CPUID-register/m-p/708859#M43498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hui Ma,&lt;/P&gt;&lt;P&gt;I tired that and got a timeout response. I've attached a screenshot for your reference.&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/27678iCA6BC8661CD9D144/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;Thanks,&lt;/P&gt;&lt;P&gt;Arvind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 05:19:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAP-error-while-reading-AIRCR-CPUID-register/m-p/708859#M43498</guid>
      <dc:creator>armaram</dc:creator>
      <dc:date>2017-08-31T05:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: DAP error while reading AIRCR / CPUID register</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAP-error-while-reading-AIRCR-CPUID-register/m-p/708860#M43499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arvind,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend to use below thread attached J-Link Command script file:&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/28489i4345116F806483E8/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;Thread link is below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/439921"&gt;https://community.nxp.com/thread/439921&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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, 31 Aug 2017 06:44:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAP-error-while-reading-AIRCR-CPUID-register/m-p/708860#M43499</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-08-31T06:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: DAP error while reading AIRCR / CPUID register</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAP-error-while-reading-AIRCR-CPUID-register/m-p/708861#M43500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hui Ma,&lt;/P&gt;&lt;P&gt;Nothing seems to be working. We had few more boards mounted but all go into secure mode on the very first attempt to program the device.&lt;/P&gt;&lt;P&gt;Is there a way where we can check to see if we are unintentionally setting the mass erase and readout lock bits before we actually start programming?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional Info: Here's a log of the Jlink console of a very first attempt to program a fresh device&lt;/P&gt;&lt;P&gt;------------------------------------------------&lt;/P&gt;&lt;P&gt;Application log started&lt;BR /&gt; - J-Flash V6.14c (J-Flash compiled Mar 31 2017 17:46:07)&lt;BR /&gt; - JLinkARM.dll V6.14c (DLL compiled Mar 31 2017 17:45:52)&lt;BR /&gt;Reading flash device list [C:\Program Files\SEGGER\JLink_V614c\ETC\JFlash\Flash.csv] ...&lt;BR /&gt; - List of flash devices read successfully (451 Devices)&lt;BR /&gt;Reading MCU device list ...&lt;BR /&gt; - List of MCU devices read successfully (6407 Devices)&lt;BR /&gt;Creating new project ...&lt;BR /&gt; - New project created successfully&lt;BR /&gt;Connecting ...&lt;BR /&gt; - Connecting via USB to J-Link device 0&lt;BR /&gt; - Target interface speed: 4000 kHz (Fixed)&lt;BR /&gt; - VTarget = 2.989V&lt;BR /&gt; - ERROR: DAP error while reading AIRCR / CPUID register&lt;BR /&gt; - ERROR: Failed to connect.&lt;BR /&gt;Could not establish a connection to target.&lt;/P&gt;&lt;P&gt;-------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arvind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 16:11:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAP-error-while-reading-AIRCR-CPUID-register/m-p/708861#M43500</guid>
      <dc:creator>armaram</dc:creator>
      <dc:date>2017-10-06T16:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: DAP error while reading AIRCR / CPUID register</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAP-error-while-reading-AIRCR-CPUID-register/m-p/708862#M43501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arvind,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For I don't have a valid J-Flash license, I could not try the J-Flash tool with TWR-KM34Z75M board.&lt;/P&gt;&lt;P&gt;While, during the J-Flash project setup process, if you select below [MKM34Z256xxx7] device?&lt;/P&gt;&lt;P&gt;That will help to avoid program the secured value at flash address 0x40C (FTFA_FSEC).&lt;/P&gt;&lt;P&gt;Customer also could check the image file address 0x40C value, which will be loaded to FTFA_FSEC register during chip reset.&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/13321i5D9ACE90A9B1C1C8/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;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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>Mon, 09 Oct 2017 08:52:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAP-error-while-reading-AIRCR-CPUID-register/m-p/708862#M43501</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-10-09T08:52:47Z</dc:date>
    </item>
  </channel>
</rss>

