<?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 IAR and IMX6SX in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IAR-and-IMX6SX/m-p/488489#M78236</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;I would like to debug the M4 core with IAR while yocto, fido release, is running in the A9 core.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately if I stop the M4 core with IAR the A9 core stops too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using a sabre board + IAR + I-jet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I created a simple application with IAR for M4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int main()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (1);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I generated the binary (called M4.bin) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) for the A9 I built the yocto sd card&amp;nbsp; and as device-tree I used the imx6sx-sabreauto-m4.dts&lt;/P&gt;&lt;P&gt;I loaded the M4.bin in the sd card together the uImage file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) I booted the sabre with the sd card&lt;/P&gt;&lt;P&gt;4) In the u-boot console, I loaded the M4.bin file and I started the M4 core &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a) fatload mmc 0:1 0x78000000 M4.bin;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b) bootaux 0x78000000&lt;/P&gt;&lt;P&gt;5) I loaded linux &lt;/P&gt;&lt;P&gt;6) Finally I attached IAR to the M4 core and it works, now I can debug the M4 software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is only one big problem: When I stop the M4 core the A9 core stops too, when I resume the M4 core the A9 core resume too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I used IAR to debug both cores (without linux on A9 but with a program made by IAR) I can stop/resume the cores independently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jan 2016 15:22:14 GMT</pubDate>
    <dc:creator>mirkoardinghi1</dc:creator>
    <dc:date>2016-01-13T15:22:14Z</dc:date>
    <item>
      <title>IAR and IMX6SX</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IAR-and-IMX6SX/m-p/488489#M78236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;I would like to debug the M4 core with IAR while yocto, fido release, is running in the A9 core.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately if I stop the M4 core with IAR the A9 core stops too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using a sabre board + IAR + I-jet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I created a simple application with IAR for M4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int main()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (1);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I generated the binary (called M4.bin) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) for the A9 I built the yocto sd card&amp;nbsp; and as device-tree I used the imx6sx-sabreauto-m4.dts&lt;/P&gt;&lt;P&gt;I loaded the M4.bin in the sd card together the uImage file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) I booted the sabre with the sd card&lt;/P&gt;&lt;P&gt;4) In the u-boot console, I loaded the M4.bin file and I started the M4 core &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a) fatload mmc 0:1 0x78000000 M4.bin;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b) bootaux 0x78000000&lt;/P&gt;&lt;P&gt;5) I loaded linux &lt;/P&gt;&lt;P&gt;6) Finally I attached IAR to the M4 core and it works, now I can debug the M4 software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is only one big problem: When I stop the M4 core the A9 core stops too, when I resume the M4 core the A9 core resume too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I used IAR to debug both cores (without linux on A9 but with a program made by IAR) I can stop/resume the cores independently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 15:22:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IAR-and-IMX6SX/m-p/488489#M78236</guid>
      <dc:creator>mirkoardinghi1</dc:creator>
      <dc:date>2016-01-13T15:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: IAR and IMX6SX</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IAR-and-IMX6SX/m-p/488490#M78237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please refer to the Figure 57-2 of the i.MX6SoloX Applications Processor Reference Manual Rev.0 document. It shows multiple JTAG TAPs (SJC, SDMA, Cortex-A9, Cortex-M4), connected in series within the i.MX6SoloX SoC. So, please check whether your IAR software is configured properly to support the i.MX6SoloX JTAG TAP chain configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The document, mentioned above, can be found on the i.MX6SoloX Documentation web page:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-processors-based-on-arm-cores/i.mx-6-processors/i.mx6qp/i.mx-6solox-processors-heterogeneous-processing-with-arm-cortex-a9-and-cortex-m4-cores:i.MX6SX?fpsp=1&amp;amp;tab=Documentation_Tab" rel="nofollow"&gt;http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-processors-based-on-arm-cores/i.mx-6-processors/i.mx6qp/i.mx-6solox-processors-heterogeneous-processing-with-arm-cortex-a9-and-cortex-m4-cores:i.MX6SX?fpsp=1&amp;amp;tab=Documentation_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Artur&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Mon, 18 Jan 2016 10:12:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IAR-and-IMX6SX/m-p/488490#M78237</guid>
      <dc:creator>art</dc:creator>
      <dc:date>2016-01-18T10:12:06Z</dc:date>
    </item>
  </channel>
</rss>

