<?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: SDK_2.7.0_LPCXpresso55S69.zip flashiap(driver_example) operate failed in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-7-0-LPCXpresso55S69-zip-flashiap-driver-example-operate/m-p/1026279#M2170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="337509" data-username="lizhihong@zlgmcu.com" href="https://community.nxp.com/people/lizhihong@zlgmcu.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Zhihong Li&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and &lt;BR /&gt;the opportunity to serve you.&lt;BR /&gt;To provide the fastest possible support, I've attached an update fsl_iap.c, please use it instead of the original fsl_iap.c.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&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;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jan 2020 08:35:56 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2020-01-02T08:35:56Z</dc:date>
    <item>
      <title>SDK_2.7.0_LPCXpresso55S69.zip flashiap(driver_example) operate failed</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-7-0-LPCXpresso55S69-zip-flashiap-driver-example-operate/m-p/1026278#M2169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;flashiap(driver_example) in sdk 2.7.0 of lpc55s69 is operating in hardfault&lt;/P&gt;&lt;P&gt;reason:&amp;nbsp;runCmdFuncOption was declare in struct&amp;nbsp;struct BootloaderTree. when iap function(such as: FLASH_Erase) was called,&amp;nbsp;BOOTLOADER_API_TREE_POINTER, where is mapped in rom address, was wrote. Then, it results in hardfault.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is recommanded that it was re written as below.&lt;/P&gt;&lt;P&gt;typedef struct BootloaderTree&lt;BR /&gt;{&lt;BR /&gt; void (*runBootloader)(void *arg); /*!&amp;lt; Function to start the bootloader executing. */&lt;BR /&gt; standard_version_t bootloader_version; /*!&amp;lt; Bootloader version number. */&lt;BR /&gt; const char *copyright; /*!&amp;lt; Copyright string. */&lt;BR /&gt; const uint32_t *reserved; /*!&amp;lt; Do NOT use. */&lt;BR /&gt; flash_driver_interface_t flashDriver;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through; color: #ff0000;"&gt;function_command_option_t runCmdFuncOption;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;} bootloader_tree_t;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;function_command_option_t runCmdFuncOption;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;#define RUN_COMMAND_FUNC_OPTION &lt;SPAN style="text-decoration: line-through;"&gt;BOOTLOADER_API_TREE_POINTER-&amp;gt;&lt;/SPAN&gt;runCmdFuncOption&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;POST: the last 8k flash is&amp;nbsp;recommanded never iap. At lease, I have never operated succeed.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2019 07:22:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-7-0-LPCXpresso55S69-zip-flashiap-driver-example-operate/m-p/1026278#M2169</guid>
      <dc:creator>lizhihong</dc:creator>
      <dc:date>2019-12-30T07:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: SDK_2.7.0_LPCXpresso55S69.zip flashiap(driver_example) operate failed</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-7-0-LPCXpresso55S69-zip-flashiap-driver-example-operate/m-p/1026279#M2170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="337509" data-username="lizhihong@zlgmcu.com" href="https://community.nxp.com/people/lizhihong@zlgmcu.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Zhihong Li&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and &lt;BR /&gt;the opportunity to serve you.&lt;BR /&gt;To provide the fastest possible support, I've attached an update fsl_iap.c, please use it instead of the original fsl_iap.c.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&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;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2020 08:35:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-7-0-LPCXpresso55S69-zip-flashiap-driver-example-operate/m-p/1026279#M2170</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2020-01-02T08:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: SDK_2.7.0_LPCXpresso55S69.zip flashiap(driver_example) operate failed</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-7-0-LPCXpresso55S69-zip-flashiap-driver-example-operate/m-p/1026280#M2171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;‌ ,&lt;/P&gt;&lt;P&gt;Can it be so that this fix need for some old version of board ?&lt;/P&gt;&lt;P&gt;On my A2 board it return version 3 of flash API&lt;/P&gt;&lt;P&gt;PRINTF("FLASH API version - %d\r\n", versionMajor);&amp;nbsp; ---&amp;gt; 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But fix implemented for version 2 only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (versionMajor == 2U)&lt;BR /&gt; {&lt;BR /&gt; runCmdFuncOption.commandAddr = 0x1300413bU; /*!&amp;lt; get the flash erase api location adress in rom */&lt;BR /&gt; return runCmdFuncOption.eraseCommend(config, start, lengthInBytes, key);&lt;BR /&gt; }&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt; assert(VERSION1_FLASH_API_TREE);&lt;BR /&gt; return VERSION1_FLASH_API_TREE-&amp;gt;flash_erase(config, start, lengthInBytes, key);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jan 2020 13:01:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-7-0-LPCXpresso55S69-zip-flashiap-driver-example-operate/m-p/1026280#M2171</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2020-01-11T13:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: SDK_2.7.0_LPCXpresso55S69.zip flashiap(driver_example) operate failed</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-7-0-LPCXpresso55S69-zip-flashiap-driver-example-operate/m-p/1026281#M2172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I updated fsl_iap.c, but the&amp;nbsp;problem is still. Is there anyone can offer more help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jan 2020 00:33:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-7-0-LPCXpresso55S69-zip-flashiap-driver-example-operate/m-p/1026281#M2172</guid>
      <dc:creator>wangqyfm</dc:creator>
      <dc:date>2020-01-19T00:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: SDK_2.7.0_LPCXpresso55S69.zip flashiap(driver_example) operate failed</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-7-0-LPCXpresso55S69-zip-flashiap-driver-example-operate/m-p/1026282#M2173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@&lt;A _jive_internal="true" data-content-finding="Community" data-userid="349267" data-username="wangqyfm@foxmail.com" href="https://community.nxp.com/people/wangqyfm@foxmail.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: underline; font-size: 1.286rem;"&gt;Quincy Wang&lt;/A&gt;, you can test SDK2.7.1, the Flash driver version update from 2.0.2 in SDK2.7 to 2.1.3 in SDK2.7.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*! @brief Flash driver version for SDK*/&lt;BR /&gt;#define FSL_FLASH_DRIVER_VERSION (MAKE_VERSION(2, 0, 2)) /*!&amp;lt; Version 2.0.2 */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*! @brief Flash driver version for SDK*/&lt;BR /&gt;#define FSL_FLASH_DRIVER_VERSION (MAKE_VERSION(2, 1, 3)) /*!&amp;lt; Version 2.1.3 */&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2020 01:50:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-7-0-LPCXpresso55S69-zip-flashiap-driver-example-operate/m-p/1026282#M2173</guid>
      <dc:creator>hansonhe</dc:creator>
      <dc:date>2020-03-03T01:50:01Z</dc:date>
    </item>
  </channel>
</rss>

