<?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: Need help for LPC54628 random Flash Corruption Issue in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/939003#M37443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you find any solution from your end to resolve that issue either from hardware or software side?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ritesh prajapati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Dec 2019 04:04:15 GMT</pubDate>
    <dc:creator>ritesh_prajapat</dc:creator>
    <dc:date>2019-12-17T04:04:15Z</dc:date>
    <item>
      <title>Need help for LPC54628 random Flash Corruption Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938975#M37415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using LPC54628 chip into few of our industrial products in which we are facing one issue while accessing flash of LPC54628.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flash Memory was working fine till few days on LPC54628 Module but suddenly first 4 bytes location may be damaged after that and not able to erase first 4 bytes of Flash Memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Due to that we are not able to start boot loader and application image into that board. Also, We have faced same issue into 3 to 4 boards as of now in which there is no any specific steps for that. Sometimes, We flashed boot loader image and we got that issue while sometimes we got that issue runtime into development phase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please fine attached screen shot with highlighted 4 bytes of LPC54628 Flash Memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any or any clue for this issue or let me know if need any more details regarding this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2019 05:09:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938975#M37415</guid>
      <dc:creator>ritesh_prajapat</dc:creator>
      <dc:date>2019-07-04T05:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for LPC54628 random Flash Corruption Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938976#M37416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello NXP Support team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have also tried to debug this issue yesterday with below steps and found few more useful things from our side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have used Flash Magic Tool and MCUXpresso IDE to flash boot loader or application image directly over 0x0000 location. Then We have tried same with NXP LPC Link 2 SWD Interface and found that first 4 bytes are written successfully while doing same with SWD Interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, When we checked first 4 bytes with UART/ I2C / SPI (auto detect) means ISP-0 LOW at that time again we are getting first 4 bytes as 0x00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, Would you please let us know that are we doing anything wrong or anyone has same time of issue as mentioned into screen-shot earlier?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ritesh Prajapati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2019 03:55:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938976#M37416</guid>
      <dc:creator>ritesh_prajapat</dc:creator>
      <dc:date>2019-07-05T03:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for LPC54628 random Flash Corruption Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938977#M37417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Ritesh Prajapati,&lt;/P&gt;&lt;P&gt;Can you use the J-link tools to erase the flash and check the result instead of flash magic tools?&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2019 09:42:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938977#M37417</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-07-05T09:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for LPC54628 random Flash Corruption Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938978#M37418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello XiangJun Rong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arr you asking J-Link Tool from software tool perspective or both software and hardware which supports J-Link? Can you please send me reference link for same if you have?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will check it with that tool and let you know results ASAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2019 11:50:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938978#M37418</guid>
      <dc:creator>ritesh_prajapat</dc:creator>
      <dc:date>2019-07-05T11:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for LPC54628 random Flash Corruption Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938979#M37419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello XiangJun Rong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you please send me J-Link software or hardware tool for reference purpose if you have?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ritesh Prajapati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jul 2019 09:34:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938979#M37419</guid>
      <dc:creator>ritesh_prajapat</dc:creator>
      <dc:date>2019-07-06T09:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for LPC54628 random Flash Corruption Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938980#M37420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Ritesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The J-Link is third party device and software tools, pls order the J-Link device from the link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.segger.com/products/debug-probes/j-link/" title="https://www.segger.com/products/debug-probes/j-link/"&gt;J-Link Debug Probes | SEGGER - The Embedded Experts&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 05:05:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938980#M37420</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-07-08T05:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for LPC54628 random Flash Corruption Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938981#M37421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We will check it and let you know if need any further help for same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 06:02:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938981#M37421</guid>
      <dc:creator>ritesh_prajapat</dc:creator>
      <dc:date>2019-07-08T06:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for LPC54628 random Flash Corruption Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938982#M37422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the description I don't get a clear picture of the issue. Let me try to sort it out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You have an application running in the LPC54628 in your development, it worked for a while and then it stopped. So you started an investigation and saw that something is wrong with the first 4 bytes of the internal flash.&lt;/LI&gt;&lt;LI&gt;You used MCUXpresso and FlashMagic to check the flash content and to erase/program it.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The Link-2 adapter together with MCUXpresso seems to work, you can erase and program an application image. This uses SWD on the JTAG port.&lt;/LI&gt;&lt;LI&gt;If you use Flash Magic to read out a flash which is supposed to be programmed, you see the first 4 bytes as 0x00&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The algorithms to erase/program/read/verify the internal flash are in ROM code, so whatever tool you use (Flash Magic, Link-2, J-Link, U-Link, i-Jet etc), they all talk to the ISP API in the ROM code. So whatever happens with the flash, the real action comes from the ROM code and not from the external tool. This external tool gives a command and provides the binary to be programmed, nothing else. So I don't expect any magic behavior from the SEGGER J-Link.&lt;/P&gt;&lt;P&gt;If I remember correctly, the Link-2 can be programmed with a SEGGER J-Link firmware, so it behaves like a J-Link adapter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What remains is maybe a problem with Flash Magic. I tested the actual version 12.25 and also the Classic version 11.20, both read the first sector 0 - 0x7FFF with the first 4 bytes as 0. So I will try to find out what's going on here.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 09:02:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938982#M37422</guid>
      <dc:creator>bernhardfink</dc:creator>
      <dc:date>2019-07-08T09:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for LPC54628 random Flash Corruption Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938983#M37423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bernhard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. Exactly we have also doubt to have problem while using Flash Magic. So, You have also faced same issue like we have faced into few of our boards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using Flash Magic 12.01 version for our firmware flash or erase purpose over serial or SWD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, Is it recommended to not to use Flash Magic Tool for Flash Erase or Firmware Flash Purpose? We have tried using MCUXpresso as well into one of faulty board and not getting issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest from your side regarding this so that we can have idea to move further for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ritesh Prajapati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2019 05:07:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938983#M37423</guid>
      <dc:creator>ritesh_prajapat</dc:creator>
      <dc:date>2019-07-09T05:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for LPC54628 random Flash Corruption Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938984#M37424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bernhard,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;What remains is maybe a problem with Flash Magic. I tested the actual version 12.25 and also the Classic version 11.20, both read the first sector 0 - 0x7FFF with the first 4 bytes as 0. So I will try to find out what's going on here.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Do you have any update regarding this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using Flash Magic 12.01 version for our firmware flash or erase purpose over serial or SWD.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, Is it recommended to not to use Flash Magic Tool for Flash Erase or Firmware Flash Purpose? We have tried using MCUXpresso as well into one of faulty board and not getting issue.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest from your side regarding this so that we can have idea to move further for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ritesh Prajapati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2019 09:33:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938984#M37424</guid>
      <dc:creator>ritesh_prajapat</dc:creator>
      <dc:date>2019-07-12T09:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for LPC54628 random Flash Corruption Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938985#M37425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;I can't see a useful output of this Read function in Flash Magic for the first 4 bytes in combination with the LPC54628.&lt;/LI&gt;&lt;LI&gt;I tested the latest Flash Magic version in combination with the LPC4357 and I can read the flash content correctly.&lt;/LI&gt;&lt;LI&gt;I also made a crosscheck with the KEIL µVision debugger on the LPC54628 board and I can see true content in the flash.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it seems that the Read function for the LPC54xxx devices in FlashMagic is doing something wrong.&lt;/P&gt;&lt;P&gt;Or there is a blocking mechanism in the LPCF54628 which prevents a reading via ISP.&lt;/P&gt;&lt;P&gt;My recommendation at the moment is: don't use FlashMagic &lt;SPAN style="text-decoration: underline;"&gt;for this purpose&lt;/SPAN&gt;, at least not if want to know the content of the first 4 bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will check with Embedded Academy what's the reason for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2019 14:30:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938985#M37425</guid>
      <dc:creator>bernhardfink</dc:creator>
      <dc:date>2019-07-12T14:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for LPC54628 random Flash Corruption Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938986#M37426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your quick reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So,&amp;nbsp; It means there is no prefered to use Flash Magic at this moment to flash firmware even if we have taken care for ISP lines for boot straping purpose. Correct?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you please clarify that is there any relation between flash magic and ISP line configuration or will it create any issue into flash first 4 bytes while using Flash Magic tool?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We will be waiting for your reply from Academy as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ritesh Prajapati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2019 18:10:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938986#M37426</guid>
      <dc:creator>ritesh_prajapat</dc:creator>
      <dc:date>2019-07-12T18:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for LPC54628 random Flash Corruption Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938987#M37427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Thanks for your quick reply.&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So,&amp;nbsp; It means there is no prefered to use Flash Magic at this moment to flash firmware even if we have taken care for ISP lines for boot straping purpose. Correct?&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you please clarify that is there any relation between flash magic and ISP line configuration or will it create any issue into flash first 4 bytes while using Flash Magic tool?&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We will be waiting for your reply from Academy as well.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Any update for last reply which i have sent to get clarifications from your side as well? Still, I will be waiting for your reply from Academy as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ritesh Prajapati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2019 06:03:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938987#M37427</guid>
      <dc:creator>ritesh_prajapat</dc:creator>
      <dc:date>2019-07-17T06:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for LPC54628 random Flash Corruption Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938988#M37428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am having a similar issue with &lt;SPAN class="" data-qa="message-text"&gt;LPC54616J512 and Flash Magic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" data-qa="message-text"&gt;My program runs fine when executing from Flash Magic, but doesn't run when running from the MCU alone.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" data-qa="message-text"&gt;I suspect the issue is with the first 4 bytes being written as zeros, but don't know what to do next and how to solve the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" data-qa="message-text"&gt;The last post is 2 months old, and wanted to know if there were any new developments.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" data-qa="message-text"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" data-qa="message-text"&gt;Jonnie&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2019 06:44:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938988#M37428</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-30T06:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for LPC54628 random Flash Corruption Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938989#M37429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you read first 4 bytes from flash memory? if not then can you please read and post results for same. As it has been recommended that don't use Flash Magic Tool which is not trustworthy as we faced same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also what are the configuration of boot strap pins into your board? and in which way you have configured it? which option you have selected as per described into technical reference manual?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have replaced LPC module when we faced that type of issue to recover it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need anything else from my side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ritesh Prajapati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2019 05:13:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938989#M37429</guid>
      <dc:creator>ritesh_prajapat</dc:creator>
      <dc:date>2019-10-01T05:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for LPC54628 random Flash Corruption Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938990#M37430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you read first 4 bytes from flash memory?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes, I read from the flash memory&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also what are the configuration of boot strap pins into your board? and in which way you have configured it? which option you have selected as per described into technical reference manual?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;UART (port 0-4 &amp;gt; low,&amp;nbsp;port 0-5 &amp;gt; high,&amp;nbsp;port 0-6 &amp;gt; high)&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have replaced LPC module when we faced that type of issue to recover it.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Do you mean you replaced the MCU? I have 5 boards at the moment, all presenting the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not Flash Magic, what other tools are you using? Have you tried j-link as recommended by&amp;nbsp;XiangJun Rong?&lt;/P&gt;&lt;P&gt;How did you solve your problem in the end?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jonnie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2019 06:24:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938990#M37430</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-01T06:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for LPC54628 random Flash Corruption Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938991#M37431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have replaced LPC54628 MCU into those faulty boards and we are not using Flash Magic after that. We are using either MCUXpresso IDE or LPCXpresso IDE from which you can flash boot loader and firmware file as per your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No. We haven't tried with J-Link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At that time, We have tried to resolve issue from tool or flashing mechanism but didn't get any success at that time and at the end we replaced MCU to resolve that issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you have more number of boards then would you please check by replacing MCU into one of board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if need anything else from my side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ritesh Prajapati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2019 03:38:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938991#M37431</guid>
      <dc:creator>ritesh_prajapat</dc:creator>
      <dc:date>2019-10-02T03:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for LPC54628 random Flash Corruption Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938992#M37432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;I'll try LPCXpresso first, and if that doesn't work I'll try replacing the MCU.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jonnie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2019 04:36:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938992#M37432</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-02T04:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for LPC54628 random Flash Corruption Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938993#M37433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please don't mix up things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment I only see one issue with FlashMagic for the LPC54628:&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;reading&lt;/STRONG&gt; the first 4 bytes &lt;/SPAN&gt;from internal flash sector 0.&lt;/P&gt;&lt;P&gt;This is due to a restriction in the ISP ROM code in the LPC546xx devices. Below is the place in the UM where this is mentioned:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/92782i98A22A4ED144A73E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difference between reading with Flash Magic and a debugger is described below:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I use for testing a correctly running LPC54628 board&lt;/LI&gt;&lt;LI&gt;I don't change the memory content, I don't erase or program anything on this board&lt;/LI&gt;&lt;LI&gt;I read out flash sector 0 with Flash Magic&lt;/LI&gt;&lt;LI&gt;I read out flash sector 0 with a JTAG debugger (SWD), no matter what sort of debugger&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="LPC54628_ReadFlash.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/92756i8F879F1374BC0920/image-size/large?v=v2&amp;amp;px=999" role="button" title="LPC54628_ReadFlash.png" alt="LPC54628_ReadFlash.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonnie, if you can run your boards when starting them from Flash Magic but not without, then you may have forgotten to apply the vector checksum value at address 0x1C to the program binary image (check information to this in the User's Manual, chapter 3.3.2.7).&lt;/P&gt;&lt;P&gt;So please don't start changing the MCUs on your board before you didn't clarify this. I'm rather sure that the MCUs are ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flash Magic will &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;write&lt;/STRONG&gt; &lt;/SPAN&gt;a binary correctly to flash memory, from what I see it is just the read-out function on &lt;SPAN style="text-decoration: underline;"&gt;this &lt;/SPAN&gt;LPC54000 MCU architecture which does not allow for reading the first word and therefore FlashMagic reports this word as 0x0000 0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2019 09:52:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938993#M37433</guid>
      <dc:creator>bernhardfink</dc:creator>
      <dc:date>2019-10-02T09:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for LPC54628 random Flash Corruption Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938994#M37434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick response with details for same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. You might be correct like there might be chances to mix two issues together. Anyways, He will check issues with MCUXpresso and LPCXpresso IDE and will let us know results for same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, I have put my understanding which we have faces last time into LPC54628 board. So there might be chances like I have missed something as we didn't go too much details into that. We have checked all ISP settings and Flash Magic settings and at that time we were not able to resolve issue at that time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ritesh Prajapati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2019 03:55:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-for-LPC54628-random-Flash-Corruption-Issue/m-p/938994#M37434</guid>
      <dc:creator>ritesh_prajapat</dc:creator>
      <dc:date>2019-10-03T03:55:02Z</dc:date>
    </item>
  </channel>
</rss>

