<?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: LPC54605  firmware update by MSC failed in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54605-firmware-update-by-MSC-failed/m-p/1279637#M45077</link>
    <description>&lt;P&gt;I have an update. I first erased the flash via SWD (also blank checked), then restarted the system in ISP and updated the binary image. I've restarted the system and performed a verify against the same binary and here the output:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;Verifying 'E1820_BareMetal_Project.bin' Binary section 0 at 0x00000000 len 0xDD50&lt;BR /&gt;Opening flash driver LPC5460x_512K.cfx&lt;BR /&gt;Sending VECTRESET to run flash driver&lt;BR /&gt;Flash device supported (512KB = 16*32K at 0x0)&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000000&lt;BR /&gt;Flash file verification failed at (at least) these memory addresses&lt;BR /&gt;@00000000 - file 20028000 '... ' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000004&lt;BR /&gt;@00000004 - file 00000161 'a...' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000008&lt;BR /&gt;@00000008 - file 000001E9 '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x0000000C&lt;BR /&gt;@0000000C - file 000001EB '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000010&lt;BR /&gt;@00000010 - file 000001ED '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000014&lt;BR /&gt;@00000014 - file 000001EF '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000018&lt;BR /&gt;@00000018 - file 000001F1 '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x0000001C&lt;BR /&gt;@0000001C - file DFFD74FE '.t..' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000020&lt;BR /&gt;@00000020 - file 00000000 '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000024&lt;BR /&gt;@00000024 - file 00000000 '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000028&lt;BR /&gt;@00000028 - file 00000000 '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x0000002C&lt;BR /&gt;@0000002C - file 000001F3 '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000030&lt;BR /&gt;@00000030 - file 000001F5 '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000034&lt;BR /&gt;@00000034 - file 00000000 '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000038&lt;BR /&gt;@00000038 - file 000001F7 '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x0000003C&lt;BR /&gt;@0000003C - file 000001F9 '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000040&lt;BR /&gt;@00000040 - file 0000B549 'I...' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000044&lt;BR /&gt;@00000044 - file 0000B551 'Q...' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000048&lt;BR /&gt;@00000048 - file 0000B559 'Y...' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x0000004C&lt;BR /&gt;@0000004C - file 0000B561 'a...' != flash FFFFFFFF '....'&lt;BR /&gt;Closing flash driver LPC5460x_512K.cfx&lt;BR /&gt;(100) File matches flash.&lt;BR /&gt;Read 0x114748 bytes in 4982ms (about 227kB/s) - verify FAILED&lt;BR /&gt;(100) Target Connection Failed&lt;BR /&gt;Unable to perform operation!&lt;BR /&gt;Command failed with exit code 1&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;for some reason the flash is still blank! do I miss something in the procedure?&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR.&lt;/P&gt;</description>
    <pubDate>Thu, 20 May 2021 09:08:35 GMT</pubDate>
    <dc:creator>fcopetti</dc:creator>
    <dc:date>2021-05-20T09:08:35Z</dc:date>
    <item>
      <title>LPC54605  firmware update by MSC failed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54605-firmware-update-by-MSC-failed/m-p/1196041#M43191</link>
      <description>&lt;P&gt;I am working with a LPC54605 which can accept firmware updates using MSC mode. but, when I drag and drop my firmware.bin to LPC54605 u disk,then reset the board,it do not run.&lt;/P&gt;&lt;P&gt;But when I use Jlink to download the fireware,it works. why?&amp;nbsp;Is there anything I didn't do right?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 06:01:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54605-firmware-update-by-MSC-failed/m-p/1196041#M43191</guid>
      <dc:creator>37139023</dc:creator>
      <dc:date>2020-12-09T06:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54605  firmware update by MSC failed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54605-firmware-update-by-MSC-failed/m-p/1196127#M43192</link>
      <description>&lt;P&gt;Hello ,&lt;/P&gt;
&lt;P&gt;What about your firmware?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your project is probably configured semihosting printf : See section 15.4, "What is Semihosting?" (and in particular section 16.4.5 Semihosted printf and Debugging"), of the MCUXpresso IDE User Guide for details. For example printf to console, not UART.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 07:58:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54605-firmware-update-by-MSC-failed/m-p/1196127#M43192</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2020-12-09T07:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54605  firmware update by MSC failed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54605-firmware-update-by-MSC-failed/m-p/1200278#M43278</link>
      <description>&lt;P&gt;Hi，&lt;/P&gt;&lt;P&gt;Thank you for your reply。&lt;/P&gt;&lt;P&gt;Firmware is just a simple flash example. Does firmware need safe mode firmware? How to make it safe mode?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 09:29:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54605-firmware-update-by-MSC-failed/m-p/1200278#M43278</guid>
      <dc:creator>37139023</dc:creator>
      <dc:date>2020-12-16T09:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54605  firmware update by MSC failed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54605-firmware-update-by-MSC-failed/m-p/1208777#M43490</link>
      <description>&lt;P&gt;HI，Can anyoneelse help me?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 07:56:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54605-firmware-update-by-MSC-failed/m-p/1208777#M43490</guid>
      <dc:creator>37139023</dc:creator>
      <dc:date>2021-01-08T07:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54605  firmware update by MSC failed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54605-firmware-update-by-MSC-failed/m-p/1278269#M45038</link>
      <description>&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;I'm having the same problem on lpc54616 . using the same binary over SWD and USB MSC leads to different behavior, SWD works while MSC doesn't.&lt;/P&gt;&lt;P&gt;The procedure i'm folling for the update is the following (in linux OS &lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;1) boot the board with ISP pins set for MSC mode&lt;/P&gt;&lt;P&gt;2) mount the uC partition&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) delete the file "firmware.bin"&lt;/P&gt;&lt;P&gt;4) copy the binary file changing the name to firmware.bin&lt;/P&gt;&lt;P&gt;5) unmount the partition (tried also without unmouinting)&amp;nbsp;&lt;/P&gt;&lt;P&gt;6) power cycle.&lt;/P&gt;&lt;P&gt;Are these the right steps ?&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;Filippo&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 13:35:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54605-firmware-update-by-MSC-failed/m-p/1278269#M45038</guid>
      <dc:creator>fcopetti</dc:creator>
      <dc:date>2021-05-18T13:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54605  firmware update by MSC failed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54605-firmware-update-by-MSC-failed/m-p/1278274#M45039</link>
      <description>&lt;P&gt;Have you created the image checksum?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/LPC-Image-Checksums/m-p/471035" target="_blank"&gt;https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/LPC-Image-Checksums/m-p/471035&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 13:47:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54605-firmware-update-by-MSC-failed/m-p/1278274#M45039</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2021-05-18T13:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54605  firmware update by MSC failed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54605-firmware-update-by-MSC-failed/m-p/1279561#M45074</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/144226"&gt;@converse&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Indeed, the binary creation and checksum procedure was commented out in the build step.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've added it but still no luck, the FW still doesn't work after the update.&lt;/P&gt;&lt;P&gt;Please advice? I'm out of ideas.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Filippo&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 07:40:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54605-firmware-update-by-MSC-failed/m-p/1279561#M45074</guid>
      <dc:creator>fcopetti</dc:creator>
      <dc:date>2021-05-20T07:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54605  firmware update by MSC failed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54605-firmware-update-by-MSC-failed/m-p/1279637#M45077</link>
      <description>&lt;P&gt;I have an update. I first erased the flash via SWD (also blank checked), then restarted the system in ISP and updated the binary image. I've restarted the system and performed a verify against the same binary and here the output:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;Verifying 'E1820_BareMetal_Project.bin' Binary section 0 at 0x00000000 len 0xDD50&lt;BR /&gt;Opening flash driver LPC5460x_512K.cfx&lt;BR /&gt;Sending VECTRESET to run flash driver&lt;BR /&gt;Flash device supported (512KB = 16*32K at 0x0)&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000000&lt;BR /&gt;Flash file verification failed at (at least) these memory addresses&lt;BR /&gt;@00000000 - file 20028000 '... ' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000004&lt;BR /&gt;@00000004 - file 00000161 'a...' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000008&lt;BR /&gt;@00000008 - file 000001E9 '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x0000000C&lt;BR /&gt;@0000000C - file 000001EB '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000010&lt;BR /&gt;@00000010 - file 000001ED '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000014&lt;BR /&gt;@00000014 - file 000001EF '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000018&lt;BR /&gt;@00000018 - file 000001F1 '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x0000001C&lt;BR /&gt;@0000001C - file DFFD74FE '.t..' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000020&lt;BR /&gt;@00000020 - file 00000000 '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000024&lt;BR /&gt;@00000024 - file 00000000 '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000028&lt;BR /&gt;@00000028 - file 00000000 '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x0000002C&lt;BR /&gt;@0000002C - file 000001F3 '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000030&lt;BR /&gt;@00000030 - file 000001F5 '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000034&lt;BR /&gt;@00000034 - file 00000000 '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000038&lt;BR /&gt;@00000038 - file 000001F7 '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x0000003C&lt;BR /&gt;@0000003C - file 000001F9 '....' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000040&lt;BR /&gt;@00000040 - file 0000B549 'I...' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000044&lt;BR /&gt;@00000044 - file 0000B551 'Q...' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x00000048&lt;BR /&gt;@00000048 - file 0000B559 'Y...' != flash FFFFFFFF '....'&lt;BR /&gt;( 0) Comparing Flash against file at 0x0000004C&lt;BR /&gt;@0000004C - file 0000B561 'a...' != flash FFFFFFFF '....'&lt;BR /&gt;Closing flash driver LPC5460x_512K.cfx&lt;BR /&gt;(100) File matches flash.&lt;BR /&gt;Read 0x114748 bytes in 4982ms (about 227kB/s) - verify FAILED&lt;BR /&gt;(100) Target Connection Failed&lt;BR /&gt;Unable to perform operation!&lt;BR /&gt;Command failed with exit code 1&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;for some reason the flash is still blank! do I miss something in the procedure?&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR.&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 09:08:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54605-firmware-update-by-MSC-failed/m-p/1279637#M45077</guid>
      <dc:creator>fcopetti</dc:creator>
      <dc:date>2021-05-20T09:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54605  firmware update by MSC failed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54605-firmware-update-by-MSC-failed/m-p/1281843#M45128</link>
      <description>&lt;P&gt;I found what was wrong.&lt;/P&gt;&lt;P&gt;In the update procedure, since I had no control over the reset pin, i was power cycling the board and this was leading to FW corruption.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wired a reset button first and a GPIO later and this solved the issue, just resetting the uC instead of powercycling the system.&lt;/P&gt;&lt;P&gt;Thanks for the help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Filippo&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 12:50:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54605-firmware-update-by-MSC-failed/m-p/1281843#M45128</guid>
      <dc:creator>fcopetti</dc:creator>
      <dc:date>2021-05-25T12:50:17Z</dc:date>
    </item>
  </channel>
</rss>

