<?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のトピックM4core setup for imx8 QXP mek (with Zephyr Project)</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/M4core-setup-for-imx8-QXP-mek-with-Zephyr-Project/m-p/823386#M126654</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;I am using Zephyr Project to build applications for the M4core on my imx8 qxp mek board. I started with the Hello World sample application provided with Zephyr and I used my board's specific settings to do that. The compile was successfull&amp;nbsp;&lt;SPAN style="font-size: 11.0pt;"&gt;but I had some difficulties and misunderstandings when I tried to load the generated binary file into the board and run it from memory.&amp;nbsp;I do not know exactly what I am doing wrong but I still can’t get the expected output. In my head, to know I’ve done the things right, I think I should see some “Hello World” message on terminal after I run the bin file from memory, but I didn’t manage to get that “Hello world” message.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Anyways, I&amp;nbsp;used an sdcard and the u-boot fatload command to load the file into the board to a certain memory address. After that I used the bootaux command to start the M4 core from that specific memory address. I received this message&amp;nbsp;&amp;nbsp;“Copy image from 0x80280000 to 0x34fe0000 Start M4 bootaux complete” which tells me that I've done the things correctly. The problem is that I didn't get&amp;nbsp;that "Hello World" message I expected. If I try to run ‘go 0x80280000’, &amp;nbsp;‘go 0x34fe0000’, or to go to any other memory address my board is just resetting and freezes. I tried to run the bootaux command again and switch&amp;nbsp;back to the main core where I did not get this weird behaviours, but the same thing happened, freezing and every time I have to manually reset the board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Furthermore, I realised that no matter what memory address I use to start the M4 core, I still get that message saying that M4 core was succesfully started and the bootaux was complete, even though I didn't load any binary file to that address.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;I do not know if this was supposed to happen or what I am doing wrong if not, so can you please help me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Dec 2018 10:51:29 GMT</pubDate>
    <dc:creator>kraduku</dc:creator>
    <dc:date>2018-12-21T10:51:29Z</dc:date>
    <item>
      <title>M4core setup for imx8 QXP mek (with Zephyr Project)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/M4core-setup-for-imx8-QXP-mek-with-Zephyr-Project/m-p/823386#M126654</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;I am using Zephyr Project to build applications for the M4core on my imx8 qxp mek board. I started with the Hello World sample application provided with Zephyr and I used my board's specific settings to do that. The compile was successfull&amp;nbsp;&lt;SPAN style="font-size: 11.0pt;"&gt;but I had some difficulties and misunderstandings when I tried to load the generated binary file into the board and run it from memory.&amp;nbsp;I do not know exactly what I am doing wrong but I still can’t get the expected output. In my head, to know I’ve done the things right, I think I should see some “Hello World” message on terminal after I run the bin file from memory, but I didn’t manage to get that “Hello world” message.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Anyways, I&amp;nbsp;used an sdcard and the u-boot fatload command to load the file into the board to a certain memory address. After that I used the bootaux command to start the M4 core from that specific memory address. I received this message&amp;nbsp;&amp;nbsp;“Copy image from 0x80280000 to 0x34fe0000 Start M4 bootaux complete” which tells me that I've done the things correctly. The problem is that I didn't get&amp;nbsp;that "Hello World" message I expected. If I try to run ‘go 0x80280000’, &amp;nbsp;‘go 0x34fe0000’, or to go to any other memory address my board is just resetting and freezes. I tried to run the bootaux command again and switch&amp;nbsp;back to the main core where I did not get this weird behaviours, but the same thing happened, freezing and every time I have to manually reset the board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Furthermore, I realised that no matter what memory address I use to start the M4 core, I still get that message saying that M4 core was succesfully started and the bootaux was complete, even though I didn't load any binary file to that address.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;I do not know if this was supposed to happen or what I am doing wrong if not, so can you please help me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2018 10:51:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/M4core-setup-for-imx8-QXP-mek-with-Zephyr-Project/m-p/823386#M126654</guid>
      <dc:creator>kraduku</dc:creator>
      <dc:date>2018-12-21T10:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: M4core setup for imx8 QXP mek (with Zephyr Project)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/M4core-setup-for-imx8-QXP-mek-with-Zephyr-Project/m-p/823387#M126655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Radu-Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try to debug it using&amp;nbsp; iar_segger_support_patch_imx8 mentioned on&lt;BR /&gt;&lt;A href="https://community.nxp.com/thread/487485"&gt;Using JLink Debugger for M4 software on IMX8M&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also may be useful to check MCUXpresso SDK for i.MX Cortex-M i.MX8QXP from :&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/pages/alpha-beta-bsps-for-microprocessors:IMXPRERELEASES" title="https://www.nxp.com/pages/alpha-beta-bsps-for-microprocessors:IMXPRERELEASES"&gt;Alpha / Beta BSPs for Microprocessors|NXP&lt;/A&gt;&amp;nbsp;&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>Sat, 22 Dec 2018 00:08:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/M4core-setup-for-imx8-QXP-mek-with-Zephyr-Project/m-p/823387#M126655</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-12-22T00:08:52Z</dc:date>
    </item>
  </channel>
</rss>

