<?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>MCUXpresso GeneralのトピックProblems with simultaneous firmware download using multiple MCU-Links</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/Problems-with-simultaneous-firmware-download-using-multiple-MCU/m-p/1657519#M5013</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I am trying to "simultaneously" download firmware to 4 MIMXRT1021 MCUs after connecting 4 MCU-Links to 1 PC.&lt;BR /&gt;However, problems often arise during this operation.&lt;/P&gt;&lt;P&gt;The working environment is as follows.&lt;/P&gt;&lt;P&gt;- JTAG : MCU-Link (V2.263) 4EA&lt;BR /&gt;- MCU : MIMXRT1021&lt;BR /&gt;- Tool : Redlink (crt_emu_cm_redlink.exe)&lt;BR /&gt;- Run command : " --flash-load-exec &lt;EM&gt;&lt;STRONG&gt;filepath&lt;/STRONG&gt;&lt;/EM&gt; -g --debug 2 --vendor NXP -p MIMXRT1021xxxxx --load-base=0x60000000 --ConnectScript RT1020_connect.scp --probeserial &lt;EM&gt;&lt;STRONG&gt;SN&lt;/STRONG&gt;&lt;/EM&gt; -CoreIndex=0 --flash-driver= -x &lt;EM&gt;&lt;STRONG&gt;Flash&lt;/STRONG&gt;&lt;STRONG&gt;DriverFile&lt;/STRONG&gt;&lt;/EM&gt; --flash-dir &lt;EM&gt;&lt;STRONG&gt;Directory_1&lt;/STRONG&gt;&lt;/EM&gt; --flash-dir &lt;EM&gt;&lt;STRONG&gt;Directory_2&lt;/STRONG&gt;&lt;/EM&gt; --flash-hashing"&lt;/P&gt;&lt;P&gt;After creating a thread in C#, the above operation was simultaneously downloaded to 4 MCUs, and it was confirmed that it proceeded normally.&lt;/P&gt;&lt;P&gt;Sometimes problems arise here. If the firmware downloads to all four MCUs are "almost" simultaneous, there is no problem.&lt;BR /&gt;However, if even one of the four finishes first (approximately 2 to 3 seconds ahead), the connection with the Redlink server is disconnected, and firmware downloads of other MCUs are stopped.&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Nt: Loading 'file.bin' Binary 0x60000000 len 0x9E640&lt;BR /&gt;Nc: Opening flash driver MIMXRT1020-EVK_IS25LP064.cfx&lt;BR /&gt;Nc: Sending VECTRESET to run flash driver&lt;BR /&gt;Nc: Flash device supported (8MB = 128*64K at 0x60000000)&lt;BR /&gt;Nt: Writing 648768 bytes to address 0x60000000 in Flash&lt;BR /&gt;Pb: 1 of 1 ( 0) Writing sectors 0-9 at 0x60000000 with 648768 bytes&lt;BR /&gt;Ps: ( 0) at 60000000: 0 bytes - 0/648768&lt;BR /&gt;Ps: ( 2) at 60000000: 16384 bytes - 16384/648768&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;*****&amp;nbsp;Another MCU's download completed or aborted with an error *****&lt;BR /&gt;(The above phrase is not the actual log content)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Ns: redlink server client - failed to receive response (to op 6) from server after 2000ms - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request (op 4) to server - timed out (rc 138)&lt;BR /&gt;Nc: After error Ee(FF). Redlink interface error 255. -&lt;BR /&gt;Nc: Failed to read address register in DAP - Ee(FF). Redlink interface error 255.&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Wc: failed to send op EraseSector message - rc Ee(FF). Redlink interface error 255.&lt;/P&gt;&lt;P&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Nc: Sectors written: 10, unchanged: 0, total: 10&lt;BR /&gt;Nc: Closing flash driver MIMXRT1020-EVK_IS25LP064.cfx&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Wc: failed to send op Terminate message - rc Ee(FF). Redlink interface error 255.&lt;/P&gt;&lt;P&gt;Pb: (100) Writing Flash ended with an error.&lt;BR /&gt;Ed:05: File 'file.bin' load failure: Ee(FF). Redlink interface error 255.&lt;BR /&gt;Pc: (100) Target Connection Failed&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Nc: error closing down debug session - Ee(FF). Redlink interface error 255.&lt;BR /&gt;Ns: redlink server client - failed to send request (op 27) to server - timed out (rc 138)&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1.&amp;nbsp;Why are other download tasks forced to abort when one finishes first?&lt;BR /&gt;2.&amp;nbsp;How to reliably progress concurrent download tasks?&lt;BR /&gt;3.&amp;nbsp;In order to download as stable as possible, should I proceed with "sequential download" rather than simultaneous download?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 25 May 2023 09:11:18 GMT</pubDate>
    <dc:creator>stanley-kylee</dc:creator>
    <dc:date>2023-05-25T09:11:18Z</dc:date>
    <item>
      <title>Problems with simultaneous firmware download using multiple MCU-Links</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Problems-with-simultaneous-firmware-download-using-multiple-MCU/m-p/1657519#M5013</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I am trying to "simultaneously" download firmware to 4 MIMXRT1021 MCUs after connecting 4 MCU-Links to 1 PC.&lt;BR /&gt;However, problems often arise during this operation.&lt;/P&gt;&lt;P&gt;The working environment is as follows.&lt;/P&gt;&lt;P&gt;- JTAG : MCU-Link (V2.263) 4EA&lt;BR /&gt;- MCU : MIMXRT1021&lt;BR /&gt;- Tool : Redlink (crt_emu_cm_redlink.exe)&lt;BR /&gt;- Run command : " --flash-load-exec &lt;EM&gt;&lt;STRONG&gt;filepath&lt;/STRONG&gt;&lt;/EM&gt; -g --debug 2 --vendor NXP -p MIMXRT1021xxxxx --load-base=0x60000000 --ConnectScript RT1020_connect.scp --probeserial &lt;EM&gt;&lt;STRONG&gt;SN&lt;/STRONG&gt;&lt;/EM&gt; -CoreIndex=0 --flash-driver= -x &lt;EM&gt;&lt;STRONG&gt;Flash&lt;/STRONG&gt;&lt;STRONG&gt;DriverFile&lt;/STRONG&gt;&lt;/EM&gt; --flash-dir &lt;EM&gt;&lt;STRONG&gt;Directory_1&lt;/STRONG&gt;&lt;/EM&gt; --flash-dir &lt;EM&gt;&lt;STRONG&gt;Directory_2&lt;/STRONG&gt;&lt;/EM&gt; --flash-hashing"&lt;/P&gt;&lt;P&gt;After creating a thread in C#, the above operation was simultaneously downloaded to 4 MCUs, and it was confirmed that it proceeded normally.&lt;/P&gt;&lt;P&gt;Sometimes problems arise here. If the firmware downloads to all four MCUs are "almost" simultaneous, there is no problem.&lt;BR /&gt;However, if even one of the four finishes first (approximately 2 to 3 seconds ahead), the connection with the Redlink server is disconnected, and firmware downloads of other MCUs are stopped.&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Nt: Loading 'file.bin' Binary 0x60000000 len 0x9E640&lt;BR /&gt;Nc: Opening flash driver MIMXRT1020-EVK_IS25LP064.cfx&lt;BR /&gt;Nc: Sending VECTRESET to run flash driver&lt;BR /&gt;Nc: Flash device supported (8MB = 128*64K at 0x60000000)&lt;BR /&gt;Nt: Writing 648768 bytes to address 0x60000000 in Flash&lt;BR /&gt;Pb: 1 of 1 ( 0) Writing sectors 0-9 at 0x60000000 with 648768 bytes&lt;BR /&gt;Ps: ( 0) at 60000000: 0 bytes - 0/648768&lt;BR /&gt;Ps: ( 2) at 60000000: 16384 bytes - 16384/648768&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;*****&amp;nbsp;Another MCU's download completed or aborted with an error *****&lt;BR /&gt;(The above phrase is not the actual log content)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Ns: redlink server client - failed to receive response (to op 6) from server after 2000ms - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request (op 4) to server - timed out (rc 138)&lt;BR /&gt;Nc: After error Ee(FF). Redlink interface error 255. -&lt;BR /&gt;Nc: Failed to read address register in DAP - Ee(FF). Redlink interface error 255.&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Wc: failed to send op EraseSector message - rc Ee(FF). Redlink interface error 255.&lt;/P&gt;&lt;P&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Nc: Sectors written: 10, unchanged: 0, total: 10&lt;BR /&gt;Nc: Closing flash driver MIMXRT1020-EVK_IS25LP064.cfx&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Wc: failed to send op Terminate message - rc Ee(FF). Redlink interface error 255.&lt;/P&gt;&lt;P&gt;Pb: (100) Writing Flash ended with an error.&lt;BR /&gt;Ed:05: File 'file.bin' load failure: Ee(FF). Redlink interface error 255.&lt;BR /&gt;Pc: (100) Target Connection Failed&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Ns: redlink server client - failed to send request to server - timed out (rc 138)&lt;BR /&gt;Nc: error closing down debug session - Ee(FF). Redlink interface error 255.&lt;BR /&gt;Ns: redlink server client - failed to send request (op 27) to server - timed out (rc 138)&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1.&amp;nbsp;Why are other download tasks forced to abort when one finishes first?&lt;BR /&gt;2.&amp;nbsp;How to reliably progress concurrent download tasks?&lt;BR /&gt;3.&amp;nbsp;In order to download as stable as possible, should I proceed with "sequential download" rather than simultaneous download?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 09:11:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Problems-with-simultaneous-firmware-download-using-multiple-MCU/m-p/1657519#M5013</guid>
      <dc:creator>stanley-kylee</dc:creator>
      <dc:date>2023-05-25T09:11:18Z</dc:date>
    </item>
  </channel>
</rss>

