<?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: K32W041 - Unnable do debug and SDK bug in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/K32W041-Unnable-do-debug-and-SDK-bug/m-p/1206232#M6522</link>
    <description>&lt;P&gt;Hi Adrian,&lt;/P&gt;
&lt;P&gt;I hope you are doing great. I recommend selecting the UART interface instead of semihost as the debug interface.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can try to add the board_utility.c and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;board_utility.h&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;to the "board" folder. The new Application is not released now, but we will release it later.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Mario&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jan 2021 18:02:20 GMT</pubDate>
    <dc:creator>mario_castaneda</dc:creator>
    <dc:date>2021-01-04T18:02:20Z</dc:date>
    <item>
      <title>K32W041 - Unnable do debug and SDK bug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/K32W041-Unnable-do-debug-and-SDK-bug/m-p/1204611#M6513</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I started working with K32W041 and at the beginning I found bug in SDK.&lt;/P&gt;&lt;P&gt;When I create new project for K32W041, MCUxpresso &lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;incorrectly generates files and you cannot use e.g. Pin Tools or Clock Tools (there are inform, that MCu is not selected). Also, don't add files board_utility.c/.h in "board" catalog, it's not exist.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;For K32W061 everything is ok. Since these are the same processors (only *041 has no NFC) I currently use the SDK for K32W061.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;Second thing, there is some problem with debug, sometimes MCU is stuck and I cannot debug any more. In console I see:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;NXP: K32W061&lt;BR /&gt;DAP stride is 4096 bytes (1024 words)&lt;BR /&gt;Inspected v.2 On-chip Flash Memory QN9090_640K.cfx&lt;BR /&gt;Image 'QN9090_Internal Flash Sep 25 2020 10:48:22'&lt;BR /&gt;Opening flash driver QN9090_640K.cfx&lt;BR /&gt;Sending VECTRESET to run flash driver&lt;BR /&gt;AFTER driver startup timeout (302 5ms retries)&lt;BR /&gt;Driver Addresses&lt;BR /&gt;Start: 04000000&lt;BR /&gt;Entry: 0400009D&lt;BR /&gt;End: 04000828&lt;BR /&gt;Stack: 04001028&lt;BR /&gt;Mailbox:04003C28&lt;BR /&gt;Driver Register State&lt;BR /&gt;R0: 00000005&lt;BR /&gt;R1: 040007B0&lt;BR /&gt;R2: 00000000&lt;BR /&gt;R3: 80000000&lt;BR /&gt;R4: 40009000&lt;BR /&gt;R5: 0400079C&lt;BR /&gt;R6: 00000000&lt;BR /&gt;R7: 00000000&lt;BR /&gt;R8: 00000000&lt;BR /&gt;R9: 00000000&lt;BR /&gt;R10: 00000000&lt;BR /&gt;R11: 00000000&lt;BR /&gt;R12: 00000000&lt;BR /&gt;SP: 04000FF0&lt;BR /&gt;LR: 04000459&lt;BR /&gt;PC: 0400045C&lt;BR /&gt;xPSR: 81000000&lt;BR /&gt;MSP: 04000FF0&lt;BR /&gt;PSP: 04001028&lt;BR /&gt;CFBP: 00000001 (CONTROL=0x0, FAULTMASK=0x0, BASEPRI=0x0, PRIMASK=0x1)&lt;BR /&gt;Flash Driver V.2 startup failed - rc Ef(34): Timed-out initializing flash.&lt;BR /&gt;chip initialization failed - Ef(34): Timed-out initializing flash.&lt;BR /&gt;failed to initialize flash driver QN9090_640K.cfx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And at this moment I don't know how too fix it. I use custom board, not eval board, with LPC-Link&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2020 19:04:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/K32W041-Unnable-do-debug-and-SDK-bug/m-p/1204611#M6513</guid>
      <dc:creator>adrian_chmiel</dc:creator>
      <dc:date>2020-12-28T19:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: K32W041 - Unnable do debug and SDK bug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/K32W041-Unnable-do-debug-and-SDK-bug/m-p/1204616#M6514</link>
      <description>&lt;P&gt;Additional information:&lt;/P&gt;&lt;P&gt;When I use LPC-Link as a J-Link, debugging work correct.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2020 19:49:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/K32W041-Unnable-do-debug-and-SDK-bug/m-p/1204616#M6514</guid>
      <dc:creator>adrian_chmiel</dc:creator>
      <dc:date>2020-12-28T19:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: K32W041 - Unnable do debug and SDK bug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/K32W041-Unnable-do-debug-and-SDK-bug/m-p/1205299#M6517</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/108633"&gt;@adrian_chmiel&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing great.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;When I create new project for K32W041, MCUxpresso&amp;nbsp;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;incorrectly generates files and you cannot use e.g. Pin Tools or Clock Tools (there are inform, that MCU is not selected). Also, don't add files board_utility.c/.h in "board" catalog, it's not exist.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;The wireless examples are not compatible with the Pin and Clock Tools, you could change your configuration and after that, you could copy them into your code.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;Now, what are the MCU settings that you have?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;Did you try with a hello world example?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;Mario&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 17:37:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/K32W041-Unnable-do-debug-and-SDK-bug/m-p/1205299#M6517</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2020-12-30T17:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: K32W041 - Unnable do debug and SDK bug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/K32W041-Unnable-do-debug-and-SDK-bug/m-p/1205320#M6518</link>
      <description>&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;Examples and "New project..." button work correctly but only for k32W0&lt;STRONG&gt;61&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;For K32W0&lt;STRONG&gt;41 &lt;/STRONG&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;there are no examples and "New project..." generate incorrect project.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;New project...&lt;/SPAN&gt;&lt;/SPAN&gt; -&amp;gt; K32W041 -&amp;gt; default settings&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://obrazki.elektroda.pl/8121574200_1609365130.png" border="0" alt="" width="1120" height="879" /&gt;&lt;IMG src="https://obrazki.elektroda.pl/2744739500_1609365165.png" border="0" alt="" width="1120" height="879" /&gt;&lt;/P&gt;&lt;P&gt;and Finish.&lt;/P&gt;&lt;P&gt;When I try build:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://obrazki.elektroda.pl/1826165900_1609365261.png" border="0" alt="" width="677" height="314" /&gt;&lt;/P&gt;&lt;P&gt;And when I try open Pins or clock perspective:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://obrazki.elektroda.pl/5809456700_1609365341.png" border="0" alt="" width="1502" height="442" /&gt;&lt;/P&gt;&lt;P&gt;The same procedure for K32W061 works fine.&lt;/P&gt;&lt;P&gt;MCUXpresso IDE v11.2.1 [Build 4149] [2020-10-07]&lt;/P&gt;&lt;P&gt;SDK for K32W 2.6.2&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 21:59:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/K32W041-Unnable-do-debug-and-SDK-bug/m-p/1205320#M6518</guid>
      <dc:creator>adrian_chmiel</dc:creator>
      <dc:date>2020-12-30T21:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: K32W041 - Unnable do debug and SDK bug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/K32W041-Unnable-do-debug-and-SDK-bug/m-p/1206232#M6522</link>
      <description>&lt;P&gt;Hi Adrian,&lt;/P&gt;
&lt;P&gt;I hope you are doing great. I recommend selecting the UART interface instead of semihost as the debug interface.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can try to add the board_utility.c and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;board_utility.h&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;to the "board" folder. The new Application is not released now, but we will release it later.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Mario&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 18:02:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/K32W041-Unnable-do-debug-and-SDK-bug/m-p/1206232#M6522</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2021-01-04T18:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: K32W041 - Unnable do debug and SDK bug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/K32W041-Unnable-do-debug-and-SDK-bug/m-p/1210318#M6538</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I doesn't have free fins for USART interface, but problem was with debuging not only with checking register but &lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;completely in communication programmer &amp;lt;-&amp;gt; MCU (debugger cannod connect to MCU).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;When I use JLINK problem is gone, but still exist if we use LPClink.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 10:16:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/K32W041-Unnable-do-debug-and-SDK-bug/m-p/1210318#M6538</guid>
      <dc:creator>adrian_chmiel</dc:creator>
      <dc:date>2021-01-12T10:16:35Z</dc:date>
    </item>
  </channel>
</rss>

