<?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: Baremetal debug imx8</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Baremetal-debug-imx8/m-p/880462#M133478</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry also I forgot is there any detailed information on how does the CortexA53 boots on the evaluation boards. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2019 15:13:03 GMT</pubDate>
    <dc:creator>eddie_vazquez_h</dc:creator>
    <dc:date>2019-01-17T15:13:03Z</dc:date>
    <item>
      <title>Baremetal debug imx8</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Baremetal-debug-imx8/m-p/880459#M133475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to baremetal debug the I.MX8M, specifically the Cortex A53 core; using JTAG, OpenOCD and GBD for aarch64, however I bumped into a couple of questions. I hope you can help me out. I went through all IMX8M section and I did not find anything that could help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I managed to communicate with the Cortex A53 using OpenOCD to my host computer, however I am not sure I can really debug the code I want. I compiled both a basic assembly and c code with the intention of modifying the processor registers (w0,w1…etc.)and run it using GBD, however all registers stay the same all the time only the PC changes accordingly which makes me think the code is not actually running on the processor. So, does the imx8m accept code via JTAG and GBD or do I have to load &amp;nbsp;in the NAND or eMMC, or SD card beforehand? &amp;nbsp;Sorry if this stupid question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not interested in running linux at all I just want to run a basic &lt;STRONG&gt;COMPLETELY BAREMETAL&lt;/STRONG&gt; code namely a basic C driver or just a basic assembly code (ie. Adding two numbers). How can I accomplish this? Do I have to program the code in one of the memories the processor normally uses to boot? If, so is there any guide or starting template you can provide me with ? I found several document but they all refer to linux baremetal or to the Cortex M core which I am not interested in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Specifically, how can I run a simple single baremetal C code on the Cortex A53 of the IMX8M ?&lt;/LI&gt;&lt;LI&gt;How or what tools could I use to program the available memories to run such code?&lt;/LI&gt;&lt;LI&gt;Is there something I am not considering?&lt;/LI&gt;&lt;LI&gt;Is this even possible for this processor?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be welcomed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2019 23:58:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Baremetal-debug-imx8/m-p/880459#M133475</guid>
      <dc:creator>eddie_vazquez_h</dc:creator>
      <dc:date>2019-01-16T23:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal debug imx8</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Baremetal-debug-imx8/m-p/880460#M133476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eddie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can check&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.emcraft.com/som/imx-8m/debugging-the-imx-8m-som-using-arm-ds-5" title="https://www.emcraft.com/som/imx-8m/debugging-the-imx-8m-som-using-arm-ds-5"&gt;Debugging the i.MX 8M SOM Using ARM DS-5&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://community.arm.com/tools/b/blog/posts/ds5-529-brings-latest-ip-support-debug-improvements" title="https://community.arm.com/tools/b/blog/posts/ds5-529-brings-latest-ip-support-debug-improvements"&gt;DS-5 5.29 brings latest IP support, debug improvements - Software Tools blog - Software Tools - Arm Community&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am afraid nxp does not support baremetal examples on the Cortex A53 i.MX8M.&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, 17 Jan 2019 10:33:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Baremetal-debug-imx8/m-p/880460#M133476</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-01-17T10:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal debug imx8</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Baremetal-debug-imx8/m-p/880461#M133477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks a lot for your info. very helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not quite understand tho. So can a GDB send and run code via JTAG to the I.MX8M and debug?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the baremetal on COrtex A53. Does the ROM prevent then from running baremetal code?&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp; Igor,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 15:08:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Baremetal-debug-imx8/m-p/880461#M133477</guid>
      <dc:creator>eddie_vazquez_h</dc:creator>
      <dc:date>2019-01-17T15:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal debug imx8</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Baremetal-debug-imx8/m-p/880462#M133478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry also I forgot is there any detailed information on how does the CortexA53 boots on the evaluation boards. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 15:13:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Baremetal-debug-imx8/m-p/880462#M133478</guid>
      <dc:creator>eddie_vazquez_h</dc:creator>
      <dc:date>2019-01-17T15:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal debug imx8</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Baremetal-debug-imx8/m-p/880463#M133479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eddie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;boot is described in sect.6.1 System Boot i.MX8MDQ Reference Manual &lt;BR /&gt;&lt;A href="https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf"&gt;https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;ROM does not prevent from running baremetal code.&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, 18 Jan 2019 01:42:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Baremetal-debug-imx8/m-p/880463#M133479</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-01-18T01:42:40Z</dc:date>
    </item>
  </channel>
</rss>

