<?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>i.MX ProcessorsのトピックRe: Debug connection exception in MCUExpresso</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Debug-connection-exception-in-MCUExpresso/m-p/1404638#M186268</link>
    <description>&lt;P&gt;Hello Kerry,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried following steps but connection error still persists. I changed SW7 0101 then looked at device manager list (attached device manager snippet). Target was detected as mbed serial port. When I tried to download “hello world” program, I got connection reset exception (please see During SW7 0101 png). Then I tried downloading same program by changing SW7 with 0110 configuration. But I got timeout (attached snippet). I also observed that connection manager didn’t list connected device in the window. I confirm switches were connected properly by using multimeter to ensure switches are not in tristate. I also tried following steps to recover the unit but ended up unsuccessful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Downloaded CMSIS DAP firmware from &lt;A href="https://www.nxp.com/design/software/development-software/sensor-toolbox-sensor-development-ecosystem/opensda-serial-and-debug-adapter:OPENSDA" target="_blank"&gt;https://www.nxp.com/design/software/development-software/sensor-toolbox-sensor-development-ecosystem/opensda-serial-and-debug-adapter:OPENSDA&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Powered up the unit while reset pin pressed to enter maintenance mode and drag and dropped latest firmware to hardware.&lt;/P&gt;&lt;P&gt;Disconnect and reconnected&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please let me know if there are any other steps or tools which I could use along with special steps to erase entire flash memory to recover the unit ? Also could you please let me know how to find if the board have some issues ? (I confirm no ICs on board are heating and seems like everything fine from outside, but not certain).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Priyanka&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jan 2022 15:13:31 GMT</pubDate>
    <dc:creator>Priyanka23</dc:creator>
    <dc:date>2022-01-25T15:13:31Z</dc:date>
    <item>
      <title>Debug connection exception in MCUExpresso</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debug-connection-exception-in-MCUExpresso/m-p/1403656#M186169</link>
      <description>&lt;P&gt;I'm using IMXRT1050 EVB for my academic project. Current SW7 switch configuration is OFF-ON-ON-OFF. and power supply at J28. I was able to download the "hello world" demo program on the target once but after disconnecting from debug mode, next time onwards, MCUXpresso is giving exception during debug. Please find attached snippet and help me resolve this issue.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 03:41:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debug-connection-exception-in-MCUExpresso/m-p/1403656#M186169</guid>
      <dc:creator>Priyanka23</dc:creator>
      <dc:date>2022-01-24T03:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Debug connection exception in MCUExpresso</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debug-connection-exception-in-MCUExpresso/m-p/1404347#M186231</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196007"&gt;@Priyanka23&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;When you meet this issue, your flash downloaded code may not complete or valid, so it cause the boot issues, then it may also influence the on board debugger connection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Now, follow me to recover it:&lt;/P&gt;
&lt;P&gt;1. SW7 1-OFF, 2-ON, 3-OFF, 4-ON,&amp;nbsp; power on the board again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;2. download your SDK helloworld code again, you may see can't enter debug successfully, but not important, just wait download finished. Then exit the debug mode.&lt;/P&gt;
&lt;P&gt;3. power off the board, SW7: 1-OFF, 2-ON, 3-ON, 4-OFF, then power on the board again, then debug it again, it should work now.&lt;/P&gt;
&lt;P&gt;Please try it on your side.&lt;/P&gt;
&lt;P&gt;If you still have issues about it, please kindly let me know.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 06:31:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debug-connection-exception-in-MCUExpresso/m-p/1404347#M186231</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-01-25T06:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Debug connection exception in MCUExpresso</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debug-connection-exception-in-MCUExpresso/m-p/1404638#M186268</link>
      <description>&lt;P&gt;Hello Kerry,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried following steps but connection error still persists. I changed SW7 0101 then looked at device manager list (attached device manager snippet). Target was detected as mbed serial port. When I tried to download “hello world” program, I got connection reset exception (please see During SW7 0101 png). Then I tried downloading same program by changing SW7 with 0110 configuration. But I got timeout (attached snippet). I also observed that connection manager didn’t list connected device in the window. I confirm switches were connected properly by using multimeter to ensure switches are not in tristate. I also tried following steps to recover the unit but ended up unsuccessful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Downloaded CMSIS DAP firmware from &lt;A href="https://www.nxp.com/design/software/development-software/sensor-toolbox-sensor-development-ecosystem/opensda-serial-and-debug-adapter:OPENSDA" target="_blank"&gt;https://www.nxp.com/design/software/development-software/sensor-toolbox-sensor-development-ecosystem/opensda-serial-and-debug-adapter:OPENSDA&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Powered up the unit while reset pin pressed to enter maintenance mode and drag and dropped latest firmware to hardware.&lt;/P&gt;&lt;P&gt;Disconnect and reconnected&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please let me know if there are any other steps or tools which I could use along with special steps to erase entire flash memory to recover the unit ? Also could you please let me know how to find if the board have some issues ? (I confirm no ICs on board are heating and seems like everything fine from outside, but not certain).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Priyanka&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 15:13:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debug-connection-exception-in-MCUExpresso/m-p/1404638#M186268</guid>
      <dc:creator>Priyanka23</dc:creator>
      <dc:date>2022-01-25T15:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Debug connection exception in MCUExpresso</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debug-connection-exception-in-MCUExpresso/m-p/1405717#M186369</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196007"&gt;@Priyanka23&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Seems you even can't find the CMSIS DAP now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Now, try use the MCUBOOTUtility tool to connect your board in serial download mode.&lt;/P&gt;
&lt;P&gt;MCUBootUtility tool download link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/JayHeng/NXP-MCUBootUtility/archive/refs/tags/v3.4.0.zip" target="_blank"&gt;https://github.com/JayHeng/NXP-MCUBootUtility/archive/refs/tags/v3.4.0.zip&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;the related user manual is:&lt;BR /&gt;&lt;A href="https://github.com/JayHeng/NXP-MCUBootUtility" target="_blank"&gt;https://github.com/JayHeng/NXP-MCUBootUtility&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;SW7 0101&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Power off the board, try to find another USB cable, one connect J28, another connect to J9, then whether your MCUBoottuility can find the PID VID with USB?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If you can find it, then try to set your flash as hyperflash, then connect it, that tool contains the memory erase button, you can erase it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Please try it on your side.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If you still have issues, kindly let me know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; About your MCUXPresso IDE, please delete the .lauch file in the project, and let the recoginize the debugger port again, whether it can be found, BTW, do you modify the on board jumper? J29-J33 should be connected, otherwise, your on board debugger will be jumpered.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wish it helps you!&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 04:55:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debug-connection-exception-in-MCUExpresso/m-p/1405717#M186369</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-01-27T04:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Debug connection exception in MCUExpresso</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debug-connection-exception-in-MCUExpresso/m-p/1406716#M186462</link>
      <description>&lt;P&gt;It was a software issue. I uninstalled MCU expresso and deleted all related files.&lt;/P&gt;&lt;P&gt;Installed again the same version. It is working fine now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 17:30:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debug-connection-exception-in-MCUExpresso/m-p/1406716#M186462</guid>
      <dc:creator>Priyanka23</dc:creator>
      <dc:date>2022-01-28T17:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Debug connection exception in MCUExpresso</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debug-connection-exception-in-MCUExpresso/m-p/1409339#M186661</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196007"&gt;@Priyanka23&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Thanks so much for your feedback!&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;If your question is solved, could you please help to mark the correct answer?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Any new issues, welcome to create the new question post, thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 02:19:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debug-connection-exception-in-MCUExpresso/m-p/1409339#M186661</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-02-07T02:19:52Z</dc:date>
    </item>
  </channel>
</rss>

