<?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: iMX6UL USB Example Code Won't Run in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-USB-Example-Code-Won-t-Run/m-p/952587#M142379</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; We are using the I-jet debug probe, and not the J-Link debug probe.&amp;nbsp; I did find a suggestion that helped.&amp;nbsp; In the project options, under Debugger -&amp;gt; Setup -&amp;gt; Setup macros, we changed the "Use macro files" field from "iMX6UL_EVK.mac" to "mcimx6ul_ddr.mac".&amp;nbsp; The "iMX6UL_EVK.mac" file was the default that came with the project.&amp;nbsp; The "mcimx6ul_ddr.mac" file came from the Getting Started project that was associated with our processor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now, we can get into the debugger.&amp;nbsp; However, we have a different problem now.&amp;nbsp; When we try to run the debugger on this project, we get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="font-size: 11.0pt;"&gt;Cannot start core 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;What would be causing that, and how can we get past this error?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Dennis&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jun 2019 00:24:26 GMT</pubDate>
    <dc:creator>dennis_jelcic</dc:creator>
    <dc:date>2019-06-14T00:24:26Z</dc:date>
    <item>
      <title>iMX6UL USB Example Code Won't Run</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-USB-Example-Code-Won-t-Run/m-p/952585#M142377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are developing software on the NXP i.MX 6UltraLite, ARM Cortex-A7 (MCIMX6G2CVM05AA) using IAR EW 8.32.4.&amp;nbsp; We need to develop software that will communicate via the USB port on the baseboard (NXP MCIMX6UL-BB).&amp;nbsp; We have installed version 2.2 of the SDK (SDK_2.2_MCIM6UL_RFP_Win).&amp;nbsp; We found example code for a USB ramdisk at the following path in the SDK: %SDK_PATH%\boards\evkmcimx6ul\usb_examples\usb_device_msc_ramdisk\bm.&amp;nbsp; We could not find example code that is specific to the processor we are using.&amp;nbsp; We have modified the existing project file so that we can get the project to compile cleanly.&amp;nbsp; We are using an I-jet debug pod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, we have run into a problem.&amp;nbsp; When we try to debug the program, here is what happens.&amp;nbsp; We click on the "Download and Debug (Ctrl-D) button on the toolbar to run the debugger."&amp;nbsp; A dialog box titled "larldePm" is displayed with the following message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The debugging session could not be started.&amp;nbsp; Either the debugger initialization failed, or else the file "iar_all_modules_loaded" was missing", corrupt or of an unsupported format.&amp;nbsp; There might be more information in the Debug Log window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following message was written to the end of the Debug Log window: "Download error at 0x80002000: memory write failed."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using the "ddr_debug" configuration, and we are using the "MCIMX6G2xxx07_ram.icf" linker configuration file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In summary, the example code is compiled cleanly.&amp;nbsp; But when the debugger is started, it can't run the code.&amp;nbsp; Can you please assist us with getting this project to run?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for any help that you can provide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dennis Jelcic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2019 22:25:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-USB-Example-Code-Won-t-Run/m-p/952585#M142377</guid>
      <dc:creator>dennis_jelcic</dc:creator>
      <dc:date>2019-06-05T22:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6UL USB Example Code Won't Run</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-USB-Example-Code-Won-t-Run/m-p/952586#M142378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dennis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for jlink debug one can check&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN5229.pdf" title="https://www.nxp.com/docs/en/application-note/AN5229.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN5229.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also one can test with IAR Embedded Workbench for ARM version 7.80.4&lt;/P&gt;&lt;P&gt;as mentioned in Release Notes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 23:41:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-USB-Example-Code-Won-t-Run/m-p/952586#M142378</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-06-06T23:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6UL USB Example Code Won't Run</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-USB-Example-Code-Won-t-Run/m-p/952587#M142379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; We are using the I-jet debug probe, and not the J-Link debug probe.&amp;nbsp; I did find a suggestion that helped.&amp;nbsp; In the project options, under Debugger -&amp;gt; Setup -&amp;gt; Setup macros, we changed the "Use macro files" field from "iMX6UL_EVK.mac" to "mcimx6ul_ddr.mac".&amp;nbsp; The "iMX6UL_EVK.mac" file was the default that came with the project.&amp;nbsp; The "mcimx6ul_ddr.mac" file came from the Getting Started project that was associated with our processor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now, we can get into the debugger.&amp;nbsp; However, we have a different problem now.&amp;nbsp; When we try to run the debugger on this project, we get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="font-size: 11.0pt;"&gt;Cannot start core 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;What would be causing that, and how can we get past this error?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Dennis&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2019 00:24:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-USB-Example-Code-Won-t-Run/m-p/952587#M142379</guid>
      <dc:creator>dennis_jelcic</dc:creator>
      <dc:date>2019-06-14T00:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6UL USB Example Code Won't Run</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-USB-Example-Code-Won-t-Run/m-p/952588#M142380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="font-size: 11.0pt;"&gt;Dennis&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is no imx problem, seems this is IAR/jtag jlink/ I-jet and issue may be&lt;/P&gt;&lt;P&gt;posted on iar support forum&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://supp.iar.com/FilesPublic/UPDINFO/011006/arm/doc/infocenter/jet-fw.ENU.html" title="http://supp.iar.com/FilesPublic/UPDINFO/011006/arm/doc/infocenter/jet-fw.ENU.html"&gt;I-jet, JTAGjet-Trace and JTAGjet Firmware Versions&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2019 13:53:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-USB-Example-Code-Won-t-Run/m-p/952588#M142380</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-06-14T13:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6UL USB Example Code Won't Run</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-USB-Example-Code-Won-t-Run/m-p/952589#M142381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; I am pursuing this issue with IAR.&amp;nbsp; When I find a solution, I will post it here.&amp;nbsp; Thanks again for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dennis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2019 13:56:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-USB-Example-Code-Won-t-Run/m-p/952589#M142381</guid>
      <dc:creator>dennis_jelcic</dc:creator>
      <dc:date>2019-06-25T13:56:56Z</dc:date>
    </item>
  </channel>
</rss>

