<?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: firware doesn't run after USB boot in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526465#M9095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Tue Nov 10 01:46:27 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you unmount it before unplugging, to make sure the data was actually written?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:06:15 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:06:15Z</dc:date>
    <item>
      <title>firware doesn't run after USB boot</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526459#M9089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by miccio on Mon Nov 09 07:45:39 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hope Monday is treating you well. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having a hard time getting the USB ISP to work on the lpc1549 LPCXpresso board. This is what I do:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]generate the .bin file as described &lt;/SPAN&gt;&lt;A href="http://https://www.lpcware.com/content/faq/lpcxpresso/generating-srec-binary-and-ihex-files"&gt;here&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]plug the board from the target socket while pressing the ISP0 button in order to recall the USB bootloader&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]a driver called CRP_DISABLD shows up: I delete the firmware.bin file inside it (it takes up all the space) and then copy my own .bin file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]after a power cycle (unplug&amp;amp;plug) nothing really happens, and rebooting with both ISP asserted high falls back to the USB bootloader&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ps: in case it'd make any difference, i'm using a Linux machine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:06:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526459#M9089</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: firware doesn't run after USB boot</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526460#M9090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Mon Nov 09 07:55:58 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Forgotten Checksum&amp;nbsp; :quest: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fimage-checksums" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/content/faq/lpcxpresso/image-checksums&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:06:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526460#M9090</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: firware doesn't run after USB boot</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526461#M9091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by miccio on Mon Nov 09 11:54:51 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;unfortunately not, here's my post-build steps:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
arm-none-eabi-size "${BuildArtifactFileName}"
arm-none-eabi-objcopy -v -O binary "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin"
checksum -p ${TargetChip} -d "${BuildArtifactFileBaseName}.bin"
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(it's basically the default stuff)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:06:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526461#M9091</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: firware doesn't run after USB boot</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526462#M9092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Mon Nov 09 12:03:05 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you sure your code is working?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it working if you flash it via SWD? Or UART? Or CAN?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:06:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526462#M9092</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: firware doesn't run after USB boot</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526463#M9093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by miccio on Mon Nov 09 12:28:02 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I can successfully upload and run it through SWD, moreover I had no luck with the blinker example either :(&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:06:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526463#M9093</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: firware doesn't run after USB boot</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526464#M9094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Mon Nov 09 12:30:50 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Could be useful to post the project...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:06:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526464#M9094</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: firware doesn't run after USB boot</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526465#M9095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Tue Nov 10 01:46:27 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you unmount it before unplugging, to make sure the data was actually written?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:06:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526465#M9095</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: firware doesn't run after USB boot</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526466#M9096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by miccio on Tue Nov 10 08:55:40 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;@R2D2: I tried with the freeRTOS blinky example, 100% vanilla, only change was enabling post build steps&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@starblue: whenever i do i get an error message on linux stating&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Error ejecting /dev/sdc: Command-line `eject "/dev/sdc"' exited with non-zero exit status 1: eject: unable to eject, last error: Invalid argument&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:06:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526466#M9096</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: firware doesn't run after USB boot</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526467#M9097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Tue Nov 10 09:06:24 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: miccio&lt;/STRONG&gt;&lt;BR /&gt;@R2D2: I tried with the freeRTOS blinky example, 100% vanilla, only change was enabling post build steps&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you compare the Flash bin-file with your project bin-file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:06:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526467#M9097</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: firware doesn't run after USB boot</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526468#M9098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by miccio on Wed Nov 11 04:07:54 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure i understand what you mean by compare&amp;nbsp; :~&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when I reconnect the board after copying the bin file, a new file called firware.bin shows upand it has the same size as always (it fills up all the memory, that is)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:06:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526468#M9098</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: firware doesn't run after USB boot</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526469#M9099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Wed Nov 11 06:33:35 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: miccio&lt;/STRONG&gt;&lt;BR /&gt;I'm not sure i understand what you mean by compare&amp;nbsp; :~&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Compare these little funny bytes&amp;nbsp; :O &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If there's no difference between the flash file and your original project bin file, there's no problem with flashing your MCU and you can start to check the hardware...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:06:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526469#M9099</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: firware doesn't run after USB boot</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526470#M9100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Wed Nov 11 10:41:01 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi miccio,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As suggested by other could you please check below?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Flash binary using SWD, remove the SWD, reset the board and check if&amp;nbsp; firmware works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) If step one is okay flash the firmware using SWD and see the result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) if step2 is not correct, compare the binaries as suggested by R2D2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If step1 is not okay, could you please check if you are using a reset pin as GPIO output? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:06:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/firware-doesn-t-run-after-USB-boot/m-p/526470#M9100</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:06:18Z</dc:date>
    </item>
  </channel>
</rss>

