<?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 Re: Selecting Internal Flash Memory to flash OTAP_ATT Freertos/bm code - Using IAR in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Selecting-Internal-Flash-Memory-to-flash-OTAP-ATT-Freertos-bm/m-p/1439164#M62833</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195175"&gt;@Vishva&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The latest SDK right now is the 2.6.14, could you try updating to the latest one?&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Alexis Andalon&lt;/P&gt;</description>
    <pubDate>Tue, 05 Apr 2022 22:40:19 GMT</pubDate>
    <dc:creator>Alexis_A</dc:creator>
    <dc:date>2022-04-05T22:40:19Z</dc:date>
    <item>
      <title>Selecting Internal Flash Memory to flash OTAP_ATT Freertos/bm code - Using IAR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Selecting-Internal-Flash-Memory-to-flash-OTAP-ATT-Freertos-bm/m-p/1435412#M62787</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have followed the below procedure to configure OTAP Client software in IAR Workbench&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Wireless-Connectivity-Knowledge/KW38-Reprogramming-a-KW38-device-using-the-OTAP-Client-Software/ta-p/1169834" target="_blank"&gt;https://community.nxp.com/t5/Wireless-Connectivity-Knowledge/KW38-Reprogramming-a-KW38-device-using-the-OTAP-Client-Software/ta-p/1169834&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When i modify the otap_client_att source code to use Internal Flash memory as given in the above link, I'm getting following errors,&lt;/P&gt;&lt;P&gt;Error[Li005]: no definition for "INT_STORAGE_START"&lt;/P&gt;&lt;P&gt;Error[Li005]: no definition for "INT_STORAGE_SECTOR_SIZE"&lt;/P&gt;&lt;P&gt;Error[Li005]: no definition for "INT_STORAGE_SIZE"&lt;/P&gt;&lt;P&gt;Note : Configuring External memory works fine.&lt;/P&gt;&lt;P&gt;Kindly check and let me know how to resolve this issue.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 09:04:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Selecting-Internal-Flash-Memory-to-flash-OTAP-ATT-Freertos-bm/m-p/1435412#M62787</guid>
      <dc:creator>Vishva</dc:creator>
      <dc:date>2022-03-29T09:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting Internal Flash Memory to flash OTAP_ATT Freertos/bm code - Using IAR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Selecting-Internal-Flash-Memory-to-flash-OTAP-ATT-Freertos-bm/m-p/1435906#M62795</link>
      <description>&lt;P&gt;In Continuation with the previous query,&lt;/P&gt;&lt;P&gt;As we know OTA Image file can be stored in FlexNVM (Internal) or External flash available on FRDMKW38.&lt;/P&gt;&lt;P&gt;But why to write OTA image file, internal storage (P-flash) from 0x3e800 - 0x3d000 is selected in the example given?&lt;/P&gt;&lt;P&gt;Please refer to the attachment.&lt;/P&gt;&lt;P&gt;Please check and let me know how to use Internal flash (FlexNVM) to store OTA Image files.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 06:14:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Selecting-Internal-Flash-Memory-to-flash-OTAP-ATT-Freertos-bm/m-p/1435906#M62795</guid>
      <dc:creator>Vishva</dc:creator>
      <dc:date>2022-03-30T06:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting Internal Flash Memory to flash OTAP_ATT Freertos/bm code - Using IAR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Selecting-Internal-Flash-Memory-to-flash-OTAP-ATT-Freertos-bm/m-p/1438498#M62821</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195175"&gt;@Vishva&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Seems the predefine for the storage has been update, please change the previous one for this:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;gUseInternalStorageLink_d = 1;&lt;/LI-CODE&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Alexis Andalon&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 17:38:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Selecting-Internal-Flash-Memory-to-flash-OTAP-ATT-Freertos-bm/m-p/1438498#M62821</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2022-04-04T17:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting Internal Flash Memory to flash OTAP_ATT Freertos/bm code - Using IAR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Selecting-Internal-Flash-Memory-to-flash-OTAP-ATT-Freertos-bm/m-p/1438635#M62823</link>
      <description>&lt;P&gt;Hi Alexis,&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/167559"&gt;@Alexis_A&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried changing the settings as you suggested. Refer to the LinkerSettings.png&lt;/P&gt;&lt;P&gt;Following change is done in app_preinclude.h&lt;BR /&gt;#define gEepromType_d gEepromDevice_InternalFlash_c&lt;/P&gt;&lt;P&gt;--------------------------------------&lt;BR /&gt;Still i got the following errors,&lt;/P&gt;&lt;P&gt;Error[Li005]: no definition for "INT_STORAGE_START" [referenced from D:\xxxx\boards\frdmkw38\wireless_examples\bluetooth\w_uart\freertos\iar\debug\obj\framework\OtaSupport\OtaSupport.o]&lt;/P&gt;&lt;P&gt;Error[Li005]: no definition for "INT_STORAGE_SECTOR_SIZE" [referenced from D:\xxxx\boards\frdmkw38\wireless_examples\bluetooth\w_uart\freertos\iar\debug\obj\framework\Flash\External\source\Eeprom_InternalFlash.o]&lt;/P&gt;&lt;P&gt;Error[Li005]: no definition for "INT_STORAGE_SIZE" [referenced from D:\xxxx\boards\frdmkw38\wireless_examples\bluetooth\w_uart\freertos\iar\debug\obj\framework\OtaSupport\OtaSupport.o]&lt;/P&gt;&lt;P&gt;---------------------------------------&lt;BR /&gt;I have tried to move the&amp;nbsp;variables to OtaSupport.c file which resolved the issues(COMPILATION SUCCESSFUL) but follwoing warnings are there,&lt;/P&gt;&lt;P&gt;Warning[Pe1682]: array variable "INT_STORAGE_SIZE" assumed to have one element D:\xxxx\middleware\wireless\framework\Flash\External\interface\Eeprom.h 88&lt;BR /&gt;Warning[Pe1682]: array variable "INT_STORAGE_START" assumed to have one element D:\xxxx\middleware\wireless\framework\Flash\External\interface\Eeprom.h 89&lt;BR /&gt;Warning[Pe1682]: array variable "INT_STORAGE_SECTOR_SIZE" assumed to have one element D:\xxxx\middleware\wireless\framework\Flash\External\interface\Eeprom.h 90&lt;BR /&gt;Warning[Pe1682]: array variable "Image$$INT_STORAGE$$Base" assumed to have one element D:\xxxx\boards\frdmkw38\wireless_examples\bluetooth\w_uart\freertos\iar\debug\BrowseInfo\framework\OtaSupport\source\OtaSupport.c 29&lt;BR /&gt;Warning[Pe1682]: array variable "Image$$INT_STORAGE$$Length" assumed to have one element D:\xxxx\boards\frdmkw38\wireless_examples\bluetooth\w_uart\freertos\iar\debug\BrowseInfo\framework\OtaSupport\source\OtaSupport.c 30&lt;/P&gt;&lt;P&gt;-------------------------------------------&lt;BR /&gt;But after flashing the code, unable to do OTA update. Firmware update hangs in 0-1%.&lt;BR /&gt;Refer to FirmwareUpdateScreen.png&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please check and let me know.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 04:30:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Selecting-Internal-Flash-Memory-to-flash-OTAP-ATT-Freertos-bm/m-p/1438635#M62823</guid>
      <dc:creator>Vishva</dc:creator>
      <dc:date>2022-04-05T04:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting Internal Flash Memory to flash OTAP_ATT Freertos/bm code - Using IAR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Selecting-Internal-Flash-Memory-to-flash-OTAP-ATT-Freertos-bm/m-p/1438947#M62827</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195175"&gt;@Vishva&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you tell me which SDK version are you using?&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Alexis Andalon&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 14:39:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Selecting-Internal-Flash-Memory-to-flash-OTAP-ATT-Freertos-bm/m-p/1438947#M62827</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2022-04-05T14:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting Internal Flash Memory to flash OTAP_ATT Freertos/bm code - Using IAR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Selecting-Internal-Flash-Memory-to-flash-OTAP-ATT-Freertos-bm/m-p/1438954#M62828</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/167559"&gt;@Alexis_A&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;SDK version "SDK_2_6_12_FRDM-KW38"&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vishva&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 14:45:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Selecting-Internal-Flash-Memory-to-flash-OTAP-ATT-Freertos-bm/m-p/1438954#M62828</guid>
      <dc:creator>Vishva</dc:creator>
      <dc:date>2022-04-05T14:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting Internal Flash Memory to flash OTAP_ATT Freertos/bm code - Using IAR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Selecting-Internal-Flash-Memory-to-flash-OTAP-ATT-Freertos-bm/m-p/1439164#M62833</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195175"&gt;@Vishva&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The latest SDK right now is the 2.6.14, could you try updating to the latest one?&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Alexis Andalon&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 22:40:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Selecting-Internal-Flash-Memory-to-flash-OTAP-ATT-Freertos-bm/m-p/1439164#M62833</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2022-04-05T22:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting Internal Flash Memory to flash OTAP_ATT Freertos/bm code - Using IAR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Selecting-Internal-Flash-Memory-to-flash-OTAP-ATT-Freertos-bm/m-p/1440728#M62853</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195175"&gt;@Vishva&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I found that in the post there is a typo. I did a mistake writing the name of the linker flag that needs to be set to 1 for internal storage.&lt;/P&gt;
&lt;P&gt;The proper name is "gUseInternalStorageLink_d=1". See the picture below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EdgarLomeli_0-1649344058606.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/176283i3C06E170FD098F1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EdgarLomeli_0-1649344058606.png" alt="EdgarLomeli_0-1649344058606.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Could you please try to build the OTAP Client again with this linker flag?&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;
&lt;P&gt;Edgar.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 15:09:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Selecting-Internal-Flash-Memory-to-flash-OTAP-ATT-Freertos-bm/m-p/1440728#M62853</guid>
      <dc:creator>EdgarLomeli</dc:creator>
      <dc:date>2022-04-07T15:09:47Z</dc:date>
    </item>
  </channel>
</rss>

