<?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 Secure Provisioning ToolのトピックRe: Timeout when writing image on flash-erase-region</title>
    <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Timeout-when-writing-image-on-flash-erase-region/m-p/1035984#M11</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi Jack,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;thanks for both question and correct answer. We will include the fix of timeout problem in next version of&lt;SPAN data-container-display-name="MCUXpresso Secure Provisioning Tool" data-container-url="/community/mcuxpresso/mcuxpresso-secure-provisioning-tool" data-content-browse-filter="/community/mcuxpresso/mcuxpresso-secure-provisioning-tool/content?filterID=contentstatus%5Bpublished%5D%7Eobjecttype%7Ethread%5Bquestions%5D" data-has-content-rel-intro-key="forum.thrd.relatedQuestionsIn.link" data-no-content-rel-intro-key="forum.thrd.upToQuestionsIn.link" style="color: #606060; background-color: rgba(255, 255, 255, 0.86); border: 0px; font-size: 11.9994px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN data-container-display-name="MCUXpresso Secure Provisioning Tool" data-container-url="/community/mcuxpresso/mcuxpresso-secure-provisioning-tool" data-content-browse-filter="/community/mcuxpresso/mcuxpresso-secure-provisioning-tool/content?filterID=contentstatus%5Bpublished%5D%7Eobjecttype%7Ethread%5Bquestions%5D" data-has-content-rel-intro-key="forum.thrd.relatedQuestionsIn.link" data-no-content-rel-intro-key="forum.thrd.upToQuestionsIn.link"&gt;&lt;A _jive_internal="true" data-content-finding="Community" href="https://community.nxp.com/community/mcuxpresso/mcuxpresso-secure-provisioning-tool" style="color: #000000;"&gt;MCUXpresso Secure Provisioning Tool&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN data-container-display-name="MCUXpresso Secure Provisioning Tool" data-container-url="/community/mcuxpresso/mcuxpresso-secure-provisioning-tool" data-content-browse-filter="/community/mcuxpresso/mcuxpresso-secure-provisioning-tool/content?filterID=contentstatus%5Bpublished%5D%7Eobjecttype%7Ethread%5Bquestions%5D" data-has-content-rel-intro-key="forum.thrd.relatedQuestionsIn.link" data-no-content-rel-intro-key="forum.thrd.upToQuestionsIn.link"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN data-container-display-name="MCUXpresso Secure Provisioning Tool" data-container-url="/community/mcuxpresso/mcuxpresso-secure-provisioning-tool" data-content-browse-filter="/community/mcuxpresso/mcuxpresso-secure-provisioning-tool/content?filterID=contentstatus%5Bpublished%5D%7Eobjecttype%7Ethread%5Bquestions%5D" data-has-content-rel-intro-key="forum.thrd.relatedQuestionsIn.link" data-no-content-rel-intro-key="forum.thrd.upToQuestionsIn.link"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN data-container-display-name="MCUXpresso Secure Provisioning Tool" data-container-url="/community/mcuxpresso/mcuxpresso-secure-provisioning-tool" data-content-browse-filter="/community/mcuxpresso/mcuxpresso-secure-provisioning-tool/content?filterID=contentstatus%5Bpublished%5D%7Eobjecttype%7Ethread%5Bquestions%5D" data-has-content-rel-intro-key="forum.thrd.relatedQuestionsIn.link" data-no-content-rel-intro-key="forum.thrd.upToQuestionsIn.link"&gt;Tomas&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Mar 2020 12:33:03 GMT</pubDate>
    <dc:creator>tomaslestyan</dc:creator>
    <dc:date>2020-03-02T12:33:03Z</dc:date>
    <item>
      <title>Timeout when writing image on flash-erase-region</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Timeout-when-writing-image-on-flash-erase-region/m-p/1035982#M9</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to write a generated bootable image to flash, but it fails with an error during the flash erase action.&amp;nbsp; I tried changing the wrapper script to blhost to add a timeout, but it still eventually failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the debug output:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;### Check presence of flashloader ###
/Applications/MCUX_Provi_v1/MCUXpresso Secure Provisioning Tools v1.app/Contents/MacOS/tools/blhost/mac /Applications/MCUX_Provi_v1
/Applications/MCUX_Provi_v1/MCUXpresso Secure Provisioning Tools v1.app/Contents/MacOS/tools/blhost/mac/blhost -u 0x15A2,0x0073 -j -- get-property 1 0
/Applications/MCUX_Provi_v1
{
   "command" : "get-property",
   "response" : [ 1258424064 ],
   "status" : {
      "description" : "0 (0x0) Success.",
      "value" : 0
   }
}
blhost succeeded
### Check presence of flashloader ###
/Applications/MCUX_Provi_v1/MCUXpresso Secure Provisioning Tools v1.app/Contents/MacOS/tools/blhost/mac /Applications/MCUX_Provi_v1
/Applications/MCUX_Provi_v1/MCUXpresso Secure Provisioning Tools v1.app/Contents/MacOS/tools/blhost/mac/blhost -u 0x15A2,0x0073 -j -- get-property 1 0
/Applications/MCUX_Provi_v1
{
   "command" : "get-property",
   "response" : [ 1258424064 ],
   "status" : {
      "description" : "0 (0x0) Success.",
      "value" : 0
   }
}
blhost succeeded
### Configure flex-spi-nor using options on address 0x2000 ###
/Applications/MCUX_Provi_v1/MCUXpresso Secure Provisioning Tools v1.app/Contents/MacOS/tools/blhost/mac /Applications/MCUX_Provi_v1
/Applications/MCUX_Provi_v1/MCUXpresso Secure Provisioning Tools v1.app/Contents/MacOS/tools/blhost/mac/blhost -u 0x15A2,0x0073 -j -- fill-memory 0x2000 4 0xC0803007 word
/Applications/MCUX_Provi_v1
{
   "command" : "fill-memory",
   "response" : [],
   "status" : {
      "description" : "0 (0x0) Success.",
      "value" : 0
   }
}
blhost succeeded
/Applications/MCUX_Provi_v1/MCUXpresso Secure Provisioning Tools v1.app/Contents/MacOS/tools/blhost/mac /Applications/MCUX_Provi_v1
/Applications/MCUX_Provi_v1/MCUXpresso Secure Provisioning Tools v1.app/Contents/MacOS/tools/blhost/mac/blhost -u 0x15A2,0x0073 -j -- fill-memory 0x2004 4 0x00000000 word
/Applications/MCUX_Provi_v1
{
   "command" : "fill-memory",
   "response" : [],
   "status" : {
      "description" : "0 (0x0) Success.",
      "value" : 0
   }
}
blhost succeeded
/Applications/MCUX_Provi_v1/MCUXpresso Secure Provisioning Tools v1.app/Contents/MacOS/tools/blhost/mac /Applications/MCUX_Provi_v1
/Applications/MCUX_Provi_v1/MCUXpresso Secure Provisioning Tools v1.app/Contents/MacOS/tools/blhost/mac/blhost -u 0x15A2,0x0073 -j -- configure-memory 9 0x2000
/Applications/MCUX_Provi_v1
{
   "command" : "configure-memory",
   "response" : [],
   "status" : {
      "description" : "0 (0x0) Success.",
      "value" : 0
   }
}
blhost succeeded
### Erase memory before writing image ###
/Applications/MCUX_Provi_v1/MCUXpresso Secure Provisioning Tools v1.app/Contents/MacOS/tools/blhost/mac /Applications/MCUX_Provi_v1
/Applications/MCUX_Provi_v1/MCUXpresso Secure Provisioning Tools v1.app/Contents/MacOS/tools/blhost/mac/blhost -u 0x15A2,0x0073 -j -- flash-erase-region 0x60000000 774416 9
/Applications/MCUX_Provi_v1
{
   "command" : "flash-erase-region",
   "response" : [],
   "status" : {
      "description" : "10004 (0x2714) No response packet from target device.",
      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&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Feb 2020 21:07:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Timeout-when-writing-image-on-flash-erase-region/m-p/1035982#M9</guid>
      <dc:creator>jackking</dc:creator>
      <dc:date>2020-02-16T21:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Timeout when writing image on flash-erase-region</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Timeout-when-writing-image-on-flash-erase-region/m-p/1035983#M10</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I found a fix.&amp;nbsp;&amp;nbsp; In the blhost wrapper script (for Mac), I had only added the timeout to the debug output echo command.&amp;nbsp;&amp;nbsp; I added the timeout to the *actual* command and it is now successful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="blhost_mac_wrapper_sh_—__Applications_MCUX_Provi_v1_MCUXpresso_Secure_Provisioning_Tools_v1_app_Contents_Resources_tools_scripts.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100753i17A4039A21124994/image-size/large?v=v2&amp;amp;px=999" role="button" title="blhost_mac_wrapper_sh_—__Applications_MCUX_Provi_v1_MCUXpresso_Secure_Provisioning_Tools_v1_app_Contents_Resources_tools_scripts.jpg" alt="blhost_mac_wrapper_sh_—__Applications_MCUX_Provi_v1_MCUXpresso_Secure_Provisioning_Tools_v1_app_Contents_Resources_tools_scripts.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2020 13:48:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Timeout-when-writing-image-on-flash-erase-region/m-p/1035983#M10</guid>
      <dc:creator>jackking</dc:creator>
      <dc:date>2020-02-17T13:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Timeout when writing image on flash-erase-region</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Timeout-when-writing-image-on-flash-erase-region/m-p/1035984#M11</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi Jack,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;thanks for both question and correct answer. We will include the fix of timeout problem in next version of&lt;SPAN data-container-display-name="MCUXpresso Secure Provisioning Tool" data-container-url="/community/mcuxpresso/mcuxpresso-secure-provisioning-tool" data-content-browse-filter="/community/mcuxpresso/mcuxpresso-secure-provisioning-tool/content?filterID=contentstatus%5Bpublished%5D%7Eobjecttype%7Ethread%5Bquestions%5D" data-has-content-rel-intro-key="forum.thrd.relatedQuestionsIn.link" data-no-content-rel-intro-key="forum.thrd.upToQuestionsIn.link" style="color: #606060; background-color: rgba(255, 255, 255, 0.86); border: 0px; font-size: 11.9994px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN data-container-display-name="MCUXpresso Secure Provisioning Tool" data-container-url="/community/mcuxpresso/mcuxpresso-secure-provisioning-tool" data-content-browse-filter="/community/mcuxpresso/mcuxpresso-secure-provisioning-tool/content?filterID=contentstatus%5Bpublished%5D%7Eobjecttype%7Ethread%5Bquestions%5D" data-has-content-rel-intro-key="forum.thrd.relatedQuestionsIn.link" data-no-content-rel-intro-key="forum.thrd.upToQuestionsIn.link"&gt;&lt;A _jive_internal="true" data-content-finding="Community" href="https://community.nxp.com/community/mcuxpresso/mcuxpresso-secure-provisioning-tool" style="color: #000000;"&gt;MCUXpresso Secure Provisioning Tool&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN data-container-display-name="MCUXpresso Secure Provisioning Tool" data-container-url="/community/mcuxpresso/mcuxpresso-secure-provisioning-tool" data-content-browse-filter="/community/mcuxpresso/mcuxpresso-secure-provisioning-tool/content?filterID=contentstatus%5Bpublished%5D%7Eobjecttype%7Ethread%5Bquestions%5D" data-has-content-rel-intro-key="forum.thrd.relatedQuestionsIn.link" data-no-content-rel-intro-key="forum.thrd.upToQuestionsIn.link"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN data-container-display-name="MCUXpresso Secure Provisioning Tool" data-container-url="/community/mcuxpresso/mcuxpresso-secure-provisioning-tool" data-content-browse-filter="/community/mcuxpresso/mcuxpresso-secure-provisioning-tool/content?filterID=contentstatus%5Bpublished%5D%7Eobjecttype%7Ethread%5Bquestions%5D" data-has-content-rel-intro-key="forum.thrd.relatedQuestionsIn.link" data-no-content-rel-intro-key="forum.thrd.upToQuestionsIn.link"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN data-container-display-name="MCUXpresso Secure Provisioning Tool" data-container-url="/community/mcuxpresso/mcuxpresso-secure-provisioning-tool" data-content-browse-filter="/community/mcuxpresso/mcuxpresso-secure-provisioning-tool/content?filterID=contentstatus%5Bpublished%5D%7Eobjecttype%7Ethread%5Bquestions%5D" data-has-content-rel-intro-key="forum.thrd.relatedQuestionsIn.link" data-no-content-rel-intro-key="forum.thrd.upToQuestionsIn.link"&gt;Tomas&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2020 12:33:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Timeout-when-writing-image-on-flash-erase-region/m-p/1035984#M11</guid>
      <dc:creator>tomaslestyan</dc:creator>
      <dc:date>2020-03-02T12:33:03Z</dc:date>
    </item>
  </channel>
</rss>

