<?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 FRDM-KW38 can't program app_code into flash over 256KB using KinetisFlashTool.exe in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KW38-can-t-program-app-code-into-flash-over-256KB-using/m-p/1570885#M64465</link>
    <description>&lt;P&gt;I have two quesetions please see the below :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question 1. When I program app_code ( example :&amp;nbsp;frdmkw38_lp_master_bm ) bin file, the KinetisFlashTool show the error message :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="HCC_T_0-1671154426713.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204662i1825704D804EC87A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HCC_T_0-1671154426713.png" alt="HCC_T_0-1671154426713.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I modify the&amp;nbsp;app_code flash start address [ 0xa000 ] and size (see the below red box ) :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HCC_T_1-1671154878819.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204663i25697FEA34ACCC9D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HCC_T_1-1671154878819.png" alt="HCC_T_1-1671154878819.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think this bin file size over the 256KB ( KW38 flash are two bank =&amp;gt;&amp;nbsp; 256KB + 256KB ) so it can not jump to next 256KB flash bank to finish program action.&lt;/P&gt;&lt;P&gt;as the title, how to program the bin file size over 256KB using this tool (&amp;nbsp;KinetisFlashTool.exe ) .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question 2. I try to&amp;nbsp;modify the&amp;nbsp;app_code flash start address [ 0x40000 ] and size (see the below red box ) :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HCC_T_4-1671156781760.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204667iE8DF0E5F26929071/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HCC_T_4-1671156781760.png" alt="HCC_T_4-1671156781760.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The tool show the below error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HCC_T_3-1671156767759.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204666iC08A9716EAF01770/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HCC_T_3-1671156767759.png" alt="HCC_T_3-1671156767759.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think it can not program to KW38 flash bank2 (0x1000000 ~ 0x1003FFFF) ,&lt;/P&gt;&lt;P&gt;Could you give some suggestion for us .&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2022 02:20:15 GMT</pubDate>
    <dc:creator>HCC_T</dc:creator>
    <dc:date>2022-12-16T02:20:15Z</dc:date>
    <item>
      <title>FRDM-KW38 can't program app_code into flash over 256KB using KinetisFlashTool.exe</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KW38-can-t-program-app-code-into-flash-over-256KB-using/m-p/1570885#M64465</link>
      <description>&lt;P&gt;I have two quesetions please see the below :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question 1. When I program app_code ( example :&amp;nbsp;frdmkw38_lp_master_bm ) bin file, the KinetisFlashTool show the error message :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="HCC_T_0-1671154426713.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204662i1825704D804EC87A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HCC_T_0-1671154426713.png" alt="HCC_T_0-1671154426713.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I modify the&amp;nbsp;app_code flash start address [ 0xa000 ] and size (see the below red box ) :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HCC_T_1-1671154878819.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204663i25697FEA34ACCC9D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HCC_T_1-1671154878819.png" alt="HCC_T_1-1671154878819.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think this bin file size over the 256KB ( KW38 flash are two bank =&amp;gt;&amp;nbsp; 256KB + 256KB ) so it can not jump to next 256KB flash bank to finish program action.&lt;/P&gt;&lt;P&gt;as the title, how to program the bin file size over 256KB using this tool (&amp;nbsp;KinetisFlashTool.exe ) .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question 2. I try to&amp;nbsp;modify the&amp;nbsp;app_code flash start address [ 0x40000 ] and size (see the below red box ) :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HCC_T_4-1671156781760.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204667iE8DF0E5F26929071/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HCC_T_4-1671156781760.png" alt="HCC_T_4-1671156781760.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The tool show the below error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HCC_T_3-1671156767759.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204666iC08A9716EAF01770/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HCC_T_3-1671156767759.png" alt="HCC_T_3-1671156767759.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think it can not program to KW38 flash bank2 (0x1000000 ~ 0x1003FFFF) ,&lt;/P&gt;&lt;P&gt;Could you give some suggestion for us .&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 02:20:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KW38-can-t-program-app-code-into-flash-over-256KB-using/m-p/1570885#M64465</guid>
      <dc:creator>HCC_T</dc:creator>
      <dc:date>2022-12-16T02:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KW38 can't program app_code into flash over 256KB using KinetisFlashTool.exe</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KW38-can-t-program-app-code-into-flash-over-256KB-using/m-p/1572671#M64482</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203913"&gt;@HCC_T&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Firstly, could you please confirm you are using the latest SDK for the KW38?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This seems to be a problem with the memory banks, have you tried uploading the project with a starting location of 0x0?&lt;/P&gt;
&lt;P&gt;If this isn't the issue, please help me try the Kinetis Flash Tool with a lighter project (preferably less than 256KB) to confirm this behavior.&lt;/P&gt;
&lt;P&gt;If possible, please help me with the use of the GUI Flash Tool. For this, the project needs to be selected before programming the board.&amp;nbsp;When generating the bin file, device and project configurations (such as flash driver) will be inherited from the selected project; therefore, change the parameters in the project to export the bin file.&lt;/P&gt;
&lt;P lang="es-MX"&gt;More information on this can be found in the &lt;A href="https://www.nxp.com/docs/en/user-guide/MCUXpresso_IDE_User_Guide.pdf" target="_blank"&gt;MCUXpresso IDE User Guide&lt;/A&gt;, chapter 14.1: The Advanced GUI Flash Tool.&lt;/P&gt;
&lt;P lang="es-MX"&gt;Please keep me updated, best regards, Julián.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 18:03:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KW38-can-t-program-app-code-into-flash-over-256KB-using/m-p/1572671#M64482</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2022-12-20T18:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KW38 can't program app_code into flash over 256KB using KinetisFlashTool.exe</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KW38-can-t-program-app-code-into-flash-over-256KB-using/m-p/1572793#M64484</link>
      <description>&lt;P&gt;Hi ,&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I using the KW38 latest SDK&amp;nbsp; ( v2.6.15 ) now.&lt;/P&gt;&lt;P&gt;According to what you mentioned , the below items are not problem can work :&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;U&lt;SPAN&gt;ploading the project with a starting location of 0x0 ( Program Success )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;The Kinetis Flash Tool with a lighter project (preferably less than 256KB) to confirm this behavior. (Program Success)&lt;/P&gt;&lt;P&gt;3. Using MCUxpresso IDE 's GUI Flash tool to program app_code ( Program Success)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know the KinetisFlashTool.exe the below function :&amp;nbsp;&lt;/P&gt;&lt;P&gt;a. Our customer want to using factory flashing ( mass production stage ) ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;This tool ( KinetisFlashTool.exe ) can program KW38 bin file size over 256KB ?&lt;/P&gt;&lt;P&gt;b. This tool can progam the bin file with a start location of 0x1000000 ( KW38 flash 2nd bank start address )?&amp;nbsp;&lt;/P&gt;&lt;P&gt;c. if above [ a ] and [ b ] result are "No" , It means the tool not fit to factory flashing ( mass production stage )?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I would like to check with NXP comapny to confirm it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;d. About KW38 factory flashing ( mass production stage ) , could you give some suggestion for us how to do this ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your great technical support.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 02:05:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KW38-can-t-program-app-code-into-flash-over-256KB-using/m-p/1572793#M64484</guid>
      <dc:creator>HCC_T</dc:creator>
      <dc:date>2022-12-21T02:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KW38 can't program app_code into flash over 256KB using KinetisFlashTool.exe</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KW38-can-t-program-app-code-into-flash-over-256KB-using/m-p/1573864#M64499</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203913"&gt;@HCC_T&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for your response and tests. The Kinetis Flash Tool seems to only access into the P-Flash (Programmable) of the device. The KW38 memory map is as follows:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_0-1671734800441.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205285i98C1960A049F98EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_0-1671734800441.png" alt="Julin_AragnM_0-1671734800441.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Even if the flash is correctly configured, the flash arrangement is set. For this issue, I recommend flashing or utilizing the GUI Flash Tool included in MCUXpresso.&lt;/P&gt;
&lt;P&gt;For this, Kinetis Flash Tool is not fit for mass production stage.&lt;/P&gt;
&lt;P&gt;Unfortunately, NXP does not provide flash programmers for mass production. There are some options for debug and flashing probes, as the &lt;A href="https://www.nxp.com/design/microcontrollers-developer-resources/mcu-link-debug-probe:MCU-LINK" target="_blank"&gt;MCU-Link&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;For mass production programming solutions, there are third-party partners who provide, companies like &lt;A href="http://www.pemicro.com/" target="_blank"&gt;PEMicro&lt;/A&gt;, &lt;A href="https://www.xeltek.com/" target="_blank"&gt;Xeltek&lt;/A&gt; and others. For example, &lt;A href="https://www.pemicro.com/products/product_viewDetails.cfm?product_id=15320169&amp;amp;productTab=3" target="_blank"&gt;PE Micro Cyclone&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;I hope you find this helpful! Best regards, Julián.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 18:47:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KW38-can-t-program-app-code-into-flash-over-256KB-using/m-p/1573864#M64499</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2022-12-22T18:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KW38 can't program app_code into flash over 256KB using KinetisFlashTool.exe</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KW38-can-t-program-app-code-into-flash-over-256KB-using/m-p/1573937#M64502</link>
      <description>&lt;P&gt;Hi, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got it,&lt;/P&gt;&lt;P&gt;I will advise our customer others solution for factory flashing on mass production stage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your providing information and good&amp;nbsp;technical support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 01:13:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KW38-can-t-program-app-code-into-flash-over-256KB-using/m-p/1573937#M64502</guid>
      <dc:creator>HCC_T</dc:creator>
      <dc:date>2022-12-23T01:13:13Z</dc:date>
    </item>
  </channel>
</rss>

