<?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のトピックFlash mimxrt1010 on Linux</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Flash-mimxrt1010-on-Linux/m-p/2070408#M235620</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have got quite a few hours in this problem but still can't get it solved.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the situation. A custom IMX RT1010 board will be put into a fixture where probes are connecting to the SWD port (and others).&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SWD port is then connected to a MCULink probe, which is connected to an Odroid (ARM64) as the "host".&amp;nbsp;&lt;/P&gt;&lt;P&gt;The host runs teststeps and one of the first step is to write a program to the board's flash. This is what I already tried:&lt;/P&gt;&lt;P&gt;- Sysprogs openOCD with (custom) flashloader, however the openOCD version of sysprogs is not made for Linux (issue #14)&lt;/P&gt;&lt;P&gt;- Linkserver, but there is no ARM64 version (already had contact with NXP expert)&lt;/P&gt;&lt;P&gt;- pyocd with evkmimxrt1010_flashloader binary as flashloader, but when reporting the flash it does not recognize imxrt flash driver.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Long story short I am running out of ideas on how to program my flash through the SWD port of the IMXRT1010. It shouldn't be so hard to do right?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I mean, MCUXpresso also uses a flashdriver, MIMXRT1010_SFDP_QSPI.cfx (elf) but this also does not seem to work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;With OpenOCD I did manage to get a connection to the CPU and I am also able to halt, run reset etc. Even setting the QE bit in the flash is done. But without a proper flashloader, the same error remains: error writing at address 0x60000000.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So here I am reaching out, hoping somebody else can give some more pointers where to search, maybe some help on a flashdriver solution...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is highly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marcel&lt;/P&gt;</description>
    <pubDate>Fri, 28 Mar 2025 16:05:56 GMT</pubDate>
    <dc:creator>MKlem</dc:creator>
    <dc:date>2025-03-28T16:05:56Z</dc:date>
    <item>
      <title>Flash mimxrt1010 on Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flash-mimxrt1010-on-Linux/m-p/2070408#M235620</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have got quite a few hours in this problem but still can't get it solved.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the situation. A custom IMX RT1010 board will be put into a fixture where probes are connecting to the SWD port (and others).&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SWD port is then connected to a MCULink probe, which is connected to an Odroid (ARM64) as the "host".&amp;nbsp;&lt;/P&gt;&lt;P&gt;The host runs teststeps and one of the first step is to write a program to the board's flash. This is what I already tried:&lt;/P&gt;&lt;P&gt;- Sysprogs openOCD with (custom) flashloader, however the openOCD version of sysprogs is not made for Linux (issue #14)&lt;/P&gt;&lt;P&gt;- Linkserver, but there is no ARM64 version (already had contact with NXP expert)&lt;/P&gt;&lt;P&gt;- pyocd with evkmimxrt1010_flashloader binary as flashloader, but when reporting the flash it does not recognize imxrt flash driver.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Long story short I am running out of ideas on how to program my flash through the SWD port of the IMXRT1010. It shouldn't be so hard to do right?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I mean, MCUXpresso also uses a flashdriver, MIMXRT1010_SFDP_QSPI.cfx (elf) but this also does not seem to work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;With OpenOCD I did manage to get a connection to the CPU and I am also able to halt, run reset etc. Even setting the QE bit in the flash is done. But without a proper flashloader, the same error remains: error writing at address 0x60000000.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So here I am reaching out, hoping somebody else can give some more pointers where to search, maybe some help on a flashdriver solution...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is highly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marcel&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 16:05:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flash-mimxrt1010-on-Linux/m-p/2070408#M235620</guid>
      <dc:creator>MKlem</dc:creator>
      <dc:date>2025-03-28T16:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Flash mimxrt1010 on Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flash-mimxrt1010-on-Linux/m-p/2073263#M235815</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205855"&gt;@MKlem&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The MCUXpresso IDE has Linux version for 64bit, did you try this before?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kan_Li_0-1743651171845.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/331116i7606CDF7DC9F7B0F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kan_Li_0-1743651171845.png" alt="Kan_Li_0-1743651171845.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 03:33:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flash-mimxrt1010-on-Linux/m-p/2073263#M235815</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2025-04-03T03:33:23Z</dc:date>
    </item>
  </channel>
</rss>

