<?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: CMSIS-DAP Cortex-M error in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/CMSIS-DAP-Cortex-M-error/m-p/1581980#M23276</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210966"&gt;@jweisd&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have not seen J27 on the RT1050 EVKB schematics (SCH-30168, PDF: SPF-30168). Could you&amp;nbsp; share&amp;nbsp; your schematic&amp;nbsp; or give me an snapshot for check that jumper? Or better yet a high resolution picture of your EVK , to see your jumper setup.&lt;/P&gt;
&lt;P&gt;Secondly,&amp;nbsp; have you already tried to re-gain debug access by setting the MCU into serial downloader mode? &amp;nbsp;Basically the process is as follows:&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;1) set boot mode pins&amp;nbsp; (on SW7) to 01.&lt;/LI&gt;
&lt;LI&gt;2) do a reset and a mass erase.&lt;/LI&gt;
&lt;LI&gt;3) return the internal boot config (and reset again), which by default on the EVK is 0110 on SW7.&lt;/LI&gt;
&lt;LI&gt;4) Finally, try to debug&amp;nbsp; one again.&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1673563977414.png" style="width: 541px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/207151i4EBA054FB7F8A196/image-dimensions/541x425?v=v2" width="541" height="425" role="button" title="diego_charles_0-1673563977414.png" alt="diego_charles_0-1673563977414.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;All the best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2023 23:00:29 GMT</pubDate>
    <dc:creator>diego_charles</dc:creator>
    <dc:date>2023-01-12T23:00:29Z</dc:date>
    <item>
      <title>CMSIS-DAP Cortex-M error</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/CMSIS-DAP-Cortex-M-error/m-p/1579657#M23234</link>
      <description>&lt;P&gt;I am having problem load Hello World demo program to the IMXRT1050 EVKB board with USB cable and MDK 5.26.&amp;nbsp; The error message is CMSIS-DAP Cortex-M error.&amp;nbsp; Could not stop Cortex-M device! Please check the JTAG cable.&lt;/P&gt;&lt;P&gt;I am using external power with J1 jumper at 1-2 position.&amp;nbsp; Also tried both 1-2 and 2-3 position on J27. Neither worked.&amp;nbsp; SW7 position is off-on-on-off.&amp;nbsp; The bootloader firmware onboard has the following text information:&lt;/P&gt;&lt;P&gt;# DAPLink Firmware - see &lt;A href="https://mbed.com/daplink" target="_blank"&gt;https://mbed.com/daplink&lt;/A&gt;&lt;BR /&gt;Unique ID: 0227000047784e4500519003d745004addb1000097969900&lt;BR /&gt;HIC ID: 97969900&lt;BR /&gt;Auto Reset: 0&lt;BR /&gt;Automation allowed: 0&lt;BR /&gt;Overflow detection: 0&lt;BR /&gt;Daplink Mode: Interface&lt;BR /&gt;Interface Version: 0244&lt;BR /&gt;Bootloader Version: 0244&lt;BR /&gt;Git SHA: b3435dbed0ba4f09680e49d2fcfdaab32c7a4c71&lt;BR /&gt;Local Mods: 0&lt;BR /&gt;USB Interfaces: MSD, CDC, HID&lt;BR /&gt;Bootloader CRC: 0x44eadb90&lt;BR /&gt;Interface CRC: 0x0135174a&lt;BR /&gt;Remount count: 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 02:15:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/CMSIS-DAP-Cortex-M-error/m-p/1579657#M23234</guid>
      <dc:creator>jweisd</dc:creator>
      <dc:date>2023-01-10T02:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: CMSIS-DAP Cortex-M error</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/CMSIS-DAP-Cortex-M-error/m-p/1581980#M23276</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210966"&gt;@jweisd&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have not seen J27 on the RT1050 EVKB schematics (SCH-30168, PDF: SPF-30168). Could you&amp;nbsp; share&amp;nbsp; your schematic&amp;nbsp; or give me an snapshot for check that jumper? Or better yet a high resolution picture of your EVK , to see your jumper setup.&lt;/P&gt;
&lt;P&gt;Secondly,&amp;nbsp; have you already tried to re-gain debug access by setting the MCU into serial downloader mode? &amp;nbsp;Basically the process is as follows:&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;1) set boot mode pins&amp;nbsp; (on SW7) to 01.&lt;/LI&gt;
&lt;LI&gt;2) do a reset and a mass erase.&lt;/LI&gt;
&lt;LI&gt;3) return the internal boot config (and reset again), which by default on the EVK is 0110 on SW7.&lt;/LI&gt;
&lt;LI&gt;4) Finally, try to debug&amp;nbsp; one again.&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1673563977414.png" style="width: 541px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/207151i4EBA054FB7F8A196/image-dimensions/541x425?v=v2" width="541" height="425" role="button" title="diego_charles_0-1673563977414.png" alt="diego_charles_0-1673563977414.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;All the best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 23:00:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/CMSIS-DAP-Cortex-M-error/m-p/1581980#M23276</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2023-01-12T23:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: CMSIS-DAP Cortex-M error</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/CMSIS-DAP-Cortex-M-error/m-p/1582180#M23281</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/89833"&gt;@diego_charles&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Diego,&lt;/P&gt;&lt;P&gt;Thanks for the response.&amp;nbsp; I have tried the procedure you outlined.&amp;nbsp; After that, I could flash the board once.&amp;nbsp; But it would not print Hello World to Putty terminal.&amp;nbsp; And the board would be unflashable again with the same error message. The picture is attached here for your reference.&amp;nbsp; The J27 is located on the upper right corner.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="i.MXRT1050 EVKB.png" style="width: 845px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/207210iCD12C3D9888C05E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="i.MXRT1050 EVKB.png" alt="i.MXRT1050 EVKB.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 05:35:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/CMSIS-DAP-Cortex-M-error/m-p/1582180#M23281</guid>
      <dc:creator>jweisd</dc:creator>
      <dc:date>2023-01-13T05:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: CMSIS-DAP Cortex-M error</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/CMSIS-DAP-Cortex-M-error/m-p/1584326#M23332</link>
      <description>&lt;P&gt;Did what you recommended.&amp;nbsp; Was able to download the program to the board.&amp;nbsp; Notice the following message on keil which says "&lt;SPAN class=""&gt;RDDI-DAP Error"&lt;/SPAN&gt; :&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Load "flexspi_nor_debug\\hello_world.out"&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Erase Done.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Programming Done.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Verify OK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Application running ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;RDDI-DAP Error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Flash Load finished at 11:32:56​&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, reset the board does not print Hello World on Putty.&amp;nbsp; And download program again failed with the same error message.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 04:21:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/CMSIS-DAP-Cortex-M-error/m-p/1584326#M23332</guid>
      <dc:creator>jweisd</dc:creator>
      <dc:date>2023-01-18T04:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: CMSIS-DAP Cortex-M error</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/CMSIS-DAP-Cortex-M-error/m-p/1587228#M23421</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210966"&gt;@jweisd&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your response!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I saw that your jumper configuration okay, and&amp;nbsp; that you have the UART jumpers&amp;nbsp; (J31 and J32 fitted)&lt;/P&gt;
&lt;P&gt;I was able to see UART output using the hello world demo from our&amp;nbsp; MCUXpresso&amp;nbsp;RT1050 EVKB SDK v2.13&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1674576292034.png" style="width: 623px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/208252iBECB8FE213882057/image-dimensions/623x374?v=v2" width="623" height="374" role="button" title="diego_charles_0-1674576292034.png" alt="diego_charles_0-1674576292034.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;To get the a similar test enviroment, Please take a look at this demo and this SDK version. Get package from&amp;nbsp; &lt;A href="https://mcuxpresso.nxp.com/en/builder?hw=EVKB-IMXRT1050" target="_blank" rel="noopener"&gt;https://mcuxpresso.nxp.com/en/builder?hw=EVKB-IMXRT1050&lt;/A&gt;&amp;nbsp;unzip the package and open the demo workspace.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This demo comes ready with the necesary UART and CMSIS DAP debugger setup.You may want to change it from ram_0x1400 to flexspi release.&lt;/P&gt;
&lt;P&gt;Let me know your results.&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 16:15:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/CMSIS-DAP-Cortex-M-error/m-p/1587228#M23421</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2023-01-24T16:15:09Z</dc:date>
    </item>
  </channel>
</rss>

