<?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: Communication error while accessing MDM-AP in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Communication-error-while-accessing-MDM-AP/m-p/632777#M38103</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Martin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah, failed to mention - I am working with my own boards...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After poking around for a bit I found that connecting the reset&lt;/P&gt;&lt;P&gt;pin to the debugger solved the problem. To my knowledge&lt;/P&gt;&lt;P&gt;SWD does not require the reset pin to be connected but,&lt;/P&gt;&lt;P&gt;perhaps, it has something to do with the debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Nov 2016 12:29:36 GMT</pubDate>
    <dc:creator>samdexter</dc:creator>
    <dc:date>2016-11-08T12:29:36Z</dc:date>
    <item>
      <title>Communication error while accessing MDM-AP</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Communication-error-while-accessing-MDM-AP/m-p/632774#M38100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked fine just yesterday but today I've got this:&lt;/P&gt;&lt;P&gt;Kinetis (connect): Communication error while accessing MDM-AP...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MKM34Z256VLL7 with j-link on Kinetis Design Studio v.3.2.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Searching Internet did not bring any insight into what could cause the issue and&lt;/P&gt;&lt;P&gt;what to do about it. The bottom line is - I cannot program my board anymore...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did anybody have a similar issue? Any ideas are welcomed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2016 16:44:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Communication-error-while-accessing-MDM-AP/m-p/632774#M38100</guid>
      <dc:creator>samdexter</dc:creator>
      <dc:date>2016-11-04T16:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Communication error while accessing MDM-AP</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Communication-error-while-accessing-MDM-AP/m-p/632775#M38101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unbelievable...&lt;/P&gt;&lt;P&gt;It happened again on another, brand new board...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Nov 2016 13:41:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Communication-error-while-accessing-MDM-AP/m-p/632775#M38101</guid>
      <dc:creator>samdexter</dc:creator>
      <dc:date>2016-11-05T13:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Communication error while accessing MDM-AP</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Communication-error-while-accessing-MDM-AP/m-p/632776#M38102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sam,&lt;/P&gt;&lt;P&gt;I took new TWR-KM34Z75M from box and tried to flash &lt;EM&gt;lcd_test_twr_km34&lt;/EM&gt; example using:&lt;/P&gt;&lt;P&gt;1) PEMicro OpenSDA (USB cable plugged into J27)&lt;/P&gt;&lt;P&gt;2) Segger J-link (&lt;SPAN&gt;USB cable plugged into J27 + J-link debug probe plugged into J24)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In both cases software was downloaded and executed properly. Only issue I saw was using option 1 while leaving J-link debug probe still plugged into J24 - in this case P&amp;amp;E connection assistant has shown up and J-link debug probe has to be unplugged in order to be able to continue with software upload.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you please try using &lt;EM&gt;lcd_test_twr_km34&lt;/EM&gt; project (attached) along with &lt;EM&gt;lcd_test_twr_km34_Debug_PNE&lt;/EM&gt; debug configuration?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Martin M.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 09:33:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Communication-error-while-accessing-MDM-AP/m-p/632776#M38102</guid>
      <dc:creator>MarMi</dc:creator>
      <dc:date>2016-11-07T09:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Communication error while accessing MDM-AP</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Communication-error-while-accessing-MDM-AP/m-p/632777#M38103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Martin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah, failed to mention - I am working with my own boards...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After poking around for a bit I found that connecting the reset&lt;/P&gt;&lt;P&gt;pin to the debugger solved the problem. To my knowledge&lt;/P&gt;&lt;P&gt;SWD does not require the reset pin to be connected but,&lt;/P&gt;&lt;P&gt;perhaps, it has something to do with the debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 12:29:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Communication-error-while-accessing-MDM-AP/m-p/632777#M38103</guid>
      <dc:creator>samdexter</dc:creator>
      <dc:date>2016-11-08T12:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Communication error while accessing MDM-AP</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Communication-error-while-accessing-MDM-AP/m-p/632778#M38104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam Dexter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; When you didn't connect the reset pin to the JLINK, did you add the 4.7K to 10K external pull up resistor in the Reset_b pin, and connect a 0.1uf capacitor between reset and the ground?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; NMI also need an external 4.7K to 10K pullup resistor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Normally,&amp;nbsp; even without the reset pin connection to the SWD, the chip also can be programmed with the command reset from the debugger if your chip's external circuit is correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp; But to stable program, it is better to add the Reset_b pin to the debugger interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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, 09 Nov 2016 05:17:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Communication-error-while-accessing-MDM-AP/m-p/632778#M38104</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-11-09T05:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Communication error while accessing MDM-AP</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Communication-error-while-accessing-MDM-AP/m-p/632779#M38105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, thank you Kerry...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the datasheet the reset pin is internally pulled up so - no, I didn't have external&lt;/P&gt;&lt;P&gt;components populated. Both boards seem to work fine now with the reset pin connected to&lt;/P&gt;&lt;P&gt;the debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I've got another issue after converting a MKM34Z75 tower project over to my board -&lt;/P&gt;&lt;P&gt;Starting target CPU...&lt;BR /&gt;ERROR: Can not read register 15 (R15) while CPU is running&lt;BR /&gt;...Target halted (PC = 0x00000000)&lt;BR /&gt;Reading all registers&lt;BR /&gt;ERROR: Can not read register 0 (R0) while CPU is running, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Populated the external reset circuitry but that made no difference. Any idea?&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;Sam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Nov 2016 19:32:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Communication-error-while-accessing-MDM-AP/m-p/632779#M38105</guid>
      <dc:creator>samdexter</dc:creator>
      <dc:date>2016-11-13T19:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Communication error while accessing MDM-AP</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Communication-error-while-accessing-MDM-AP/m-p/632780#M38106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Because the internal pulled up is weak, then we recommend the customer add the external pull up resistor in NMI, reset pin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Is your debug issue now only happen in converting the tower project?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Did you try to create a new project, eg, just a very simple KDS project, and then download it to your own board, whether that can be ok or not?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; From your debug log, I find you already enter the debug mode, and the code is running, it should caused by the code.&lt;/P&gt;&lt;P&gt;For example, the code have some error which cased by the mismatch between your own board and the tower board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Did you use the same external clock circuit as the tower board? If not, it maybe caused by the clock system. Please check your clock system configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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, 14 Nov 2016 02:28:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Communication-error-while-accessing-MDM-AP/m-p/632780#M38106</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-11-14T02:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Communication error while accessing MDM-AP</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Communication-error-while-accessing-MDM-AP/m-p/632781#M38107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Every example project from KSDK-1.3.0 causes this problem, however,&lt;/P&gt;&lt;P&gt;none of the examples from KSDK-2.0...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still trying to figure out the difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 18:02:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Communication-error-while-accessing-MDM-AP/m-p/632781#M38107</guid>
      <dc:creator>samdexter</dc:creator>
      <dc:date>2016-11-15T18:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Communication error while accessing MDM-AP</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Communication-error-while-accessing-MDM-AP/m-p/632782#M38108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You were right. The problem was related to the clock configuration.&lt;/P&gt;&lt;P&gt;BOARD_InitRtcOsc(), to be specific.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solved. Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 18:07:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Communication-error-while-accessing-MDM-AP/m-p/632782#M38108</guid>
      <dc:creator>samdexter</dc:creator>
      <dc:date>2016-11-16T18:07:08Z</dc:date>
    </item>
  </channel>
</rss>

