<?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>Kinetis Microcontrollers中的主题 Re: KW38-Not able to flash SDK bootloader code-Verification error at 0x40d: mem = 0xFF, file = 0xFB</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW38-Not-able-to-flash-SDK-bootloader-code-Verification-error-at/m-p/1408728#M62345</link>
    <description>&lt;P&gt;Hi &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 hope you are doing great.&lt;/P&gt;
&lt;P&gt;I am working on your issue. I replicated the issue that you are facing working on IAR.&lt;/P&gt;
&lt;P&gt;I will get back to you as soon as possible.&lt;/P&gt;
&lt;P&gt;In the meantime, could you please try with the MCUXpresso examples?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mario&lt;/P&gt;</description>
    <pubDate>Thu, 03 Feb 2022 18:19:58 GMT</pubDate>
    <dc:creator>mario_castaneda</dc:creator>
    <dc:date>2022-02-03T18:19:58Z</dc:date>
    <item>
      <title>KW38-Not able to flash SDK bootloader code-Verification error at 0x40d: mem = 0xFF, file = 0xFB -IAR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW38-Not-able-to-flash-SDK-bootloader-code-Verification-error-at/m-p/1406432#M62319</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1) I have tried to flash Bootloader sample code from SDK in both IAR and MCUXpresso IDE - unsuccessful in both.&lt;/P&gt;&lt;P&gt;Got the following error: Verification error at 0x40d: mem = 0xFF, file = 0xFB&lt;BR /&gt;Download completed but verification failed.&lt;/P&gt;&lt;P&gt;2) Tried "Mass Erase" using GNU Flash tool available in MCUXpresso IDE.&lt;/P&gt;&lt;P&gt;After Mass erase,&lt;/P&gt;&lt;P&gt;3) Using MCUXpresso IDE - I'm able to flash all SDK examples except Bootloader.&lt;/P&gt;&lt;P&gt;4) Using IAR- I'm not able to flash Bluetooth Wireless RTOS examples and Bootloader code.&lt;/P&gt;&lt;P&gt;For Wireless RTOS examples I'm getting -&amp;nbsp;Fatal Error[Pe1696]: cannot open source file "nxp_xcvr_gfsk_bt_0p5_h_0p5_config.h"&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Bootloader same error as point 1.&lt;/P&gt;&lt;P&gt;Please let me know how to resolve this issue and flash the bootloader code.&lt;/P&gt;&lt;P&gt;I'm trying to flash Bootloader code for testing OTAP.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 06:39:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW38-Not-able-to-flash-SDK-bootloader-code-Verification-error-at/m-p/1406432#M62319</guid>
      <dc:creator>Vishva</dc:creator>
      <dc:date>2022-01-28T06:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: KW38-Not able to flash SDK bootloader code-Verification error at 0x40d: mem = 0xFF, file = 0xFB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW38-Not-able-to-flash-SDK-bootloader-code-Verification-error-at/m-p/1408728#M62345</link>
      <description>&lt;P&gt;Hi &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 hope you are doing great.&lt;/P&gt;
&lt;P&gt;I am working on your issue. I replicated the issue that you are facing working on IAR.&lt;/P&gt;
&lt;P&gt;I will get back to you as soon as possible.&lt;/P&gt;
&lt;P&gt;In the meantime, could you please try with the MCUXpresso examples?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mario&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 18:19:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW38-Not-able-to-flash-SDK-bootloader-code-Verification-error-at/m-p/1408728#M62345</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2022-02-03T18:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: KW38-Not able to flash SDK bootloader code-Verification error at 0x40d: mem = 0xFF, file = 0xFB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW38-Not-able-to-flash-SDK-bootloader-code-Verification-error-at/m-p/1408875#M62349</link>
      <description>&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;I used MCUXpresso and flashed the Bootloader OTAP code(From SDK example). No errors, please check the attachment.&lt;/P&gt;&lt;P&gt;On top of it i have flashed&amp;nbsp;otap_client_att_freertos code. Functionality is working as expected (I was trying this Procedure for OTA implementation)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i used IAR and Flashed Bootloader OTAP code (from SDK example) i got the following error,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Verification error at 0x40d: mem = 0xFF, file = 0xFB.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Download completed but verification failed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After this if i flash any code, bm or RTOS i was getting the following error,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Fatal Error[Pe1696]: cannot open source file "nxp_xcvr_gfsk_bt_0p5_h_0p5_config.h"&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please check and let me know your comments on this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 07:06:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW38-Not-able-to-flash-SDK-bootloader-code-Verification-error-at/m-p/1408875#M62349</guid>
      <dc:creator>Vishva</dc:creator>
      <dc:date>2022-02-04T07:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: KW38-Not able to flash SDK bootloader code-Verification error at 0x40d: mem = 0xFF, file = 0xFB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW38-Not-able-to-flash-SDK-bootloader-code-Verification-error-at/m-p/1410408#M62378</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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IAR is special to modify the flash configuration field, you need to do some configuration in the options.&lt;/P&gt;
&lt;P&gt;There is a section in Kinetis devices that is protected by IAR or some other IDEs.&lt;STRONG&gt; The main reason is to avoid customers accidentally blocking the part.&lt;/STRONG&gt; By default, IAR identifies such section and avoid any writing to those flash sections.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to write those flash "protected" sections, you need to enable writing in IAR settings. You could look at the next community post for this protected area.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-protection-with-IAR/m-p/673320#M41370" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-protection-with-IAR/m-p/673320#M41370&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Our bootloader has the option to write flash protected space. You could configure some #defines in the project to disable NMI by default or to protect some section of flash if desired. In this case, we try to disable NMI by default, however, the IAR IDE is protecting the flash protection for safety about human errors when writing software.&lt;/P&gt;
&lt;P&gt;Anyway, you can follow the above post to avoid the verification error message. &lt;STRONG&gt;Have in mind that you need to be careful about what you write in the FSEC flash address, you might block the part if a wrong value is set.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mario&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 16:27:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW38-Not-able-to-flash-SDK-bootloader-code-Verification-error-at/m-p/1410408#M62378</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2022-02-08T16:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: KW38-Not able to flash SDK bootloader code-Verification error at 0x40d: mem = 0xFF, file = 0xFB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW38-Not-able-to-flash-SDK-bootloader-code-Verification-error-at/m-p/1410647#M62382</link>
      <description>&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;Thank you for the response.&lt;/P&gt;&lt;P&gt;Understood your points.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 03:55:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW38-Not-able-to-flash-SDK-bootloader-code-Verification-error-at/m-p/1410647#M62382</guid>
      <dc:creator>Vishva</dc:creator>
      <dc:date>2022-02-09T03:55:48Z</dc:date>
    </item>
  </channel>
</rss>

