<?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: IMXRTEVK - CMSIS DAP debug too slow and often fails in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMXRTEVK-CMSIS-DAP-debug-too-slow-and-often-fails/m-p/760899#M118228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wigros, thanks for the fast reply.&lt;BR /&gt;&lt;BR /&gt;I understand now the ways to reach on the debug, it also worked, but the speed stills too low, I know the daplink probe is slow I've used it on kintetis and LPC MCU some months a go, but in the current IMXRT a single step takes too much time, as I said in previous post it takes 5--6 seconds to complete.&lt;BR /&gt;&lt;BR /&gt;Is there any explanation about the debug too slow? &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;EDIT: Is there also some planning to debug through the QSPI Flash?&lt;/P&gt;&lt;P&gt;Best&lt;BR /&gt;&lt;BR /&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Dec 2017 11:50:08 GMT</pubDate>
    <dc:creator>ulipe</dc:creator>
    <dc:date>2017-12-05T11:50:08Z</dc:date>
    <item>
      <title>IMXRTEVK - CMSIS DAP debug too slow and often fails</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMXRTEVK-CMSIS-DAP-debug-too-slow-and-often-fails/m-p/760897#M118226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;BR /&gt;&lt;BR /&gt;We are developing a new project based on IMXRT1050 because its features has a good fit to our requirements, so we buyed a IMXRTEVK which features a CMSIS DAP / DAPLINK debugger on board. I performed the SDK installation steps on MCUExpresso, and created a simple hello world on FreeRTOS application built with no errors, good!&lt;BR /&gt;&lt;BR /&gt;Time to debug, but when I tried to start debug, it failed with&amp;nbsp; the attached message, it basically takes time then it report error on redlink. I tried then to download a application to QSPI Flash changing the boot source in the onboard switch SW7, the daplink connects but the firmware gets stuck on ROM bootloader and never reach main. &lt;BR /&gt;&lt;BR /&gt;After this, I tried again to boot from HyperFlash changing SW7, and the daplink connected, but, it is too slow, a simple step takes about 6-7 seconds to complete, turning the debug almost impossible. Using a Jlink was not worked as well, the firmware gets stucked. &lt;BR /&gt;&lt;BR /&gt;My question given this scenario: Is it possible to debug the code using the IMXRTEVK? &lt;BR /&gt;&lt;BR /&gt;Please note:&lt;BR /&gt;&lt;BR /&gt;IDE: MCUEXPRESSO 10.01.0 BUILD 589&lt;BR /&gt;SDK: SDK_2.x_EVK-MIMXRT1050 v2.3.0&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any hint about this problem, I really want to proceed to use the processor.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;&lt;BR /&gt;Felipe&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 18:11:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMXRTEVK-CMSIS-DAP-debug-too-slow-and-often-fails/m-p/760897#M118226</guid>
      <dc:creator>ulipe</dc:creator>
      <dc:date>2017-12-04T18:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRTEVK - CMSIS DAP debug too slow and often fails</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMXRTEVK-CMSIS-DAP-debug-too-slow-and-often-fails/m-p/760898#M118227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;A _jive_internal="true" data-content-finding="Community" data-userid="308823" data-username="ulipe" href="https://community.nxp.com/people/ulipe"&gt;Felipe&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;gt;&amp;gt;Is it possible to debug the code using the IMXRTEVK?&lt;/P&gt;&lt;P&gt;Yes, it is.&lt;/P&gt;&lt;P&gt;--For debug: you will have 2 method to debug IMXRTEVK&lt;/P&gt;&lt;P&gt;(1) Using OpenSDA based on K20 MCU(DAP link debugger) to debug it.&lt;/P&gt;&lt;P&gt;But firmware of OpenSDA only supports HyperFlash by default, it can't be use to program QSPI .&lt;/P&gt;&lt;P&gt;(2) Using J-LINK Plus.&lt;/P&gt;&lt;P&gt;You can use J-LINK Plus to debug the board, but the debugger doesn't support program HyperFlash or QSPI Nor Flash.&lt;/P&gt;&lt;P&gt;--For Programing HyperFlash: you wil have to 2 methods to program HyperFlash.&lt;/P&gt;&lt;P&gt;(1) Using DAPLINK debugger on board.&lt;/P&gt;&lt;P&gt;After connecting usb otg of the board to PC USB HOST, you will find a new disk on your PC explorer, copy your images to the new disk, burning will be done.&lt;/P&gt;&lt;P&gt;(2) Using MFG Tools.&lt;/P&gt;&lt;P&gt;Released in Flashloader packages, this the manufacturing tools for customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;TIC Weidong Sun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 05:57:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMXRTEVK-CMSIS-DAP-debug-too-slow-and-often-fails/m-p/760898#M118227</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2017-12-05T05:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRTEVK - CMSIS DAP debug too slow and often fails</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMXRTEVK-CMSIS-DAP-debug-too-slow-and-often-fails/m-p/760899#M118228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wigros, thanks for the fast reply.&lt;BR /&gt;&lt;BR /&gt;I understand now the ways to reach on the debug, it also worked, but the speed stills too low, I know the daplink probe is slow I've used it on kintetis and LPC MCU some months a go, but in the current IMXRT a single step takes too much time, as I said in previous post it takes 5--6 seconds to complete.&lt;BR /&gt;&lt;BR /&gt;Is there any explanation about the debug too slow? &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;EDIT: Is there also some planning to debug through the QSPI Flash?&lt;/P&gt;&lt;P&gt;Best&lt;BR /&gt;&lt;BR /&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 11:50:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMXRTEVK-CMSIS-DAP-debug-too-slow-and-often-fails/m-p/760899#M118228</guid>
      <dc:creator>ulipe</dc:creator>
      <dc:date>2017-12-05T11:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRTEVK - CMSIS DAP debug too slow and often fails</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMXRTEVK-CMSIS-DAP-debug-too-slow-and-often-fails/m-p/760900#M118229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys, I found the issue.&lt;BR /&gt;&lt;BR /&gt;To speed up the debug you need to disable the CPU cache (both I and D), this solved my issue.&lt;BR /&gt;For debug failing this was a the SDRAM not being initialized during system init, after provide this snippet &lt;/P&gt;&lt;P&gt;the debug functions now is stable and fast as expected from daplink used in Kinetis parts.&lt;BR /&gt;&lt;BR /&gt;Please mark it as resolved.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 17:45:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMXRTEVK-CMSIS-DAP-debug-too-slow-and-often-fails/m-p/760900#M118229</guid>
      <dc:creator>ulipe</dc:creator>
      <dc:date>2017-12-20T17:45:57Z</dc:date>
    </item>
  </channel>
</rss>

