<?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: IMXRT1050-EVKB issue debugging with CMSIS-DAP in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1050-EVKB-issue-debugging-with-CMSIS-DAP/m-p/1226151#M12560</link>
    <description>&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;Thanks for your input, your comment really helped clarifying what's happening.&lt;/P&gt;&lt;P&gt;I will upgrade Bootloader version to the latest (244) as you requested and perform some tests in case this solves the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To answer your question, no, the issue doesn't happen when I can successfully recover from that state an run an SDK example, it happens always while running the code I am playing with, and exactly at the same code point. I just didn't expect an app issue will mess with the debugger connection.&lt;/P&gt;&lt;P&gt;Regarding the app code affecting the debugger connection:&lt;/P&gt;&lt;P&gt;1. is this something likely to happen often when debugging with&amp;nbsp;&lt;SPAN&gt;CMSIS DAP?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. is there something I can do to prevent the code affecting the debugger connection?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. should I expect same behaviour when debugging with other debuggers through J-TAG?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;</description>
    <pubDate>Thu, 04 Feb 2021 06:53:48 GMT</pubDate>
    <dc:creator>dmedc</dc:creator>
    <dc:date>2021-02-04T06:53:48Z</dc:date>
    <item>
      <title>IMXRT1050-EVKB issue debugging with CMSIS-DAP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1050-EVKB-issue-debugging-with-CMSIS-DAP/m-p/1225393#M12538</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I am relatively new to NXP and I've been playing a bit with&amp;nbsp;IMXRT1050-EVKB (REVA1) for some time now. I suddenly started to have problems with CMSIS-DAP debugging capabilities. Basically I get the following messages:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dmedc_0-1612344347919.png" style="width: 668px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/136398i87E21C98F32045BF/image-dimensions/668x381?v=v2" width="668" height="381" role="button" title="dmedc_0-1612344347919.png" alt="dmedc_0-1612344347919.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;dmedc_0-1612344347919.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I can recover from this state switching back and forth boot modes on SW7&amp;nbsp; but the issue will be reproduced again and again, making the development process very painful and slow.&amp;nbsp;&lt;/P&gt;&lt;P&gt;From DAPLink firmware text file:&lt;/P&gt;&lt;P&gt;· Interface Version: 0244&lt;BR /&gt;· Bootloader Version: 0242&lt;/P&gt;&lt;P&gt;So it seems I am up to date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Is it worth reflashing latest firmware to DAPLink?&lt;/P&gt;&lt;P&gt;2. Is there something wrong with this specific development board?&lt;/P&gt;&lt;P&gt;3. Any further ideas?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 09:26:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1050-EVKB-issue-debugging-with-CMSIS-DAP/m-p/1225393#M12538</guid>
      <dc:creator>dmedc</dc:creator>
      <dc:date>2021-02-03T09:26:42Z</dc:date>
    </item>
    <item>
      <title>IMXRT1050-EVKB issue debugging with CMSIS-DAP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1050-EVKB-issue-debugging-with-CMSIS-DAP/m-p/1226002#M12556</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A id="link_10" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/183063" target="_self"&gt;dmedc&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; I also use the MIMXRT1050-EVKB revA1, the following are my DAPLINK information:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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: 0000000047784e4500549003d7450031ddb1000097969900&lt;BR /&gt;HIC ID: 97969900&lt;BR /&gt;Auto Reset: 0&lt;BR /&gt;Automation allowed: 1&lt;BR /&gt;Overflow detection: 0&lt;BR /&gt;Daplink Mode: Bootloader&lt;BR /&gt;&lt;STRONG&gt;Bootloader Version: 0244&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Interface Version: 0244&lt;/STRONG&gt;&lt;BR /&gt;Git SHA: 50ebbf0acf46027498f0eaae6d9c40e8523330b9&lt;BR /&gt;Local Mods: 0&lt;BR /&gt;USB Interfaces: MSD&lt;BR /&gt;Bootloader CRC: 0x44eadb90&lt;BR /&gt;Interface CRC: 0x0135174a&lt;BR /&gt;Remount count: 0&lt;/P&gt;
&lt;P&gt;My bootloader version is 0244, really higher than you.&lt;/P&gt;
&lt;P&gt;So, please go to this link, and updated your CMSIS DAP version:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/microcontrollers-developer-resources/ides-for-kinetis-mcus/opensda-serial-and-debug-adapter:OPENSDA?lang=en#MIMXRT1050-EVK" target="_blank"&gt;https://www.nxp.com/design/microcontrollers-developer-resources/ides-for-kinetis-mcus/opensda-serial-and-debug-adapter:OPENSDA?lang=en#MIMXRT1050-EVK&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Board enter bootloader mode, and download the newest &lt;SPAN&gt;DAPLink v0244 - Supports onboard hyper-flash, then exit the bootloader mode, can you make it works?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BTW, do you try the official SDK project, whether you also have the CMSIS debugger issues or not?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As I know, if the app code have issues, it will also cause the debugger connection issues, then you need enter the serial downloader mode, and erase the external flash at first.&lt;/SPAN&gt;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 02:35:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1050-EVKB-issue-debugging-with-CMSIS-DAP/m-p/1226002#M12556</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-02-04T02:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1050-EVKB issue debugging with CMSIS-DAP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1050-EVKB-issue-debugging-with-CMSIS-DAP/m-p/1226151#M12560</link>
      <description>&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;Thanks for your input, your comment really helped clarifying what's happening.&lt;/P&gt;&lt;P&gt;I will upgrade Bootloader version to the latest (244) as you requested and perform some tests in case this solves the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To answer your question, no, the issue doesn't happen when I can successfully recover from that state an run an SDK example, it happens always while running the code I am playing with, and exactly at the same code point. I just didn't expect an app issue will mess with the debugger connection.&lt;/P&gt;&lt;P&gt;Regarding the app code affecting the debugger connection:&lt;/P&gt;&lt;P&gt;1. is this something likely to happen often when debugging with&amp;nbsp;&lt;SPAN&gt;CMSIS DAP?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. is there something I can do to prevent the code affecting the debugger connection?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. should I expect same behaviour when debugging with other debuggers through J-TAG?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 06:53:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1050-EVKB-issue-debugging-with-CMSIS-DAP/m-p/1226151#M12560</guid>
      <dc:creator>dmedc</dc:creator>
      <dc:date>2021-02-04T06:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1050-EVKB issue debugging with CMSIS-DAP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1050-EVKB-issue-debugging-with-CMSIS-DAP/m-p/1226164#M12562</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/183063" target="_self"&gt;dmedc&lt;/A&gt;，&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; So the issue always happen on your own app project, not the SDK project, whether my understanding is correct or not?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; Answer your questions:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;1. is this something likely to happen often when debugging with&amp;nbsp;&lt;SPAN&gt;CMSIS DAP?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Answer: Please help to check, whether this debugger issue just in your own project, SDK project no issues, right?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In fact, just as I have said, when the project have the running issues, it may cause the chip boot failed from the external flash, the chip will take the external flash code as invalid, then it will cause the debugger issues, that's why you erase the external memory, and it works again, this is the know issue to the debugger, the workaround is to erase the external flash memory.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2. is there something I can do to prevent the code affecting the debugger connection?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Answer: You can debug your code, as you said, it always happen when you run the specific code line, check that code, whether that code have issues or not, if you comment it, still have this issues or not?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3. should I expect same behaviour when debugging with other debuggers through J-TAG?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Answer: RT chip is using the SWD interface in default, if you want to use the JTAG, you need to write the fuse. In fact, to your question, JTAG result should be the same as your SWD debugger.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Wish it helps you!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kerry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 07:21:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1050-EVKB-issue-debugging-with-CMSIS-DAP/m-p/1226164#M12562</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-02-04T07:21:02Z</dc:date>
    </item>
  </channel>
</rss>

