<?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: hex file does not run when download with Flash Magic in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/hex-file-does-not-run-when-download-with-Flash-Magic/m-p/537641#M5639</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Thu Apr 17 05:53:13 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;How do you know that it doesn't run? Maybe it is running, but the LED is on a different GPIO? Why don't you debug it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:50:56 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:50:56Z</dc:date>
    <item>
      <title>hex file does not run when download with Flash Magic</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/hex-file-does-not-run-when-download-with-Flash-Magic/m-p/537640#M5638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Dan Griffin on Thu Apr 17 05:45:34 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Have created a simple "blinky" project which runs just fine with the LPCxpresso download to a target LPC1114/301 processor on the OM11049 board. I use the format&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-size ${BuildArtifactFileName}; arm-none-eabi-objcopy -O ihex ${BuildArtifactFileName} ${BuildArtifactFileBaseName}.hex ; to create the hex file. which all works just fine. The hex file is then downloaded to a custom board using Flash Magic. Flash Magic reads the target "LPC11114/302 device code back correctly and the code is download and verified correctly, however, the code just fails to run. Any suggestions to get the simple code to work! Have tried on two different boards, so don't think their is a problem with the custom target!&lt;/SPAN&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338169"&gt;BLINKY.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:50:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/hex-file-does-not-run-when-download-with-Flash-Magic/m-p/537640#M5638</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: hex file does not run when download with Flash Magic</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/hex-file-does-not-run-when-download-with-Flash-Magic/m-p/537641#M5639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Thu Apr 17 05:53:13 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;How do you know that it doesn't run? Maybe it is running, but the LED is on a different GPIO? Why don't you debug it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:50:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/hex-file-does-not-run-when-download-with-Flash-Magic/m-p/537641#M5639</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: hex file does not run when download with Flash Magic</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/hex-file-does-not-run-when-download-with-Flash-Magic/m-p/537642#M5640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Dan Griffin on Thu Apr 17 06:50:46 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Leds are on correct GPIO pins PIO1_10, PIO1_11 and verified on LPCXpresso board with added LEDs on these same ports!&amp;nbsp; How to debugg with no attached debugger!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Scope verifies the clock is not running on CLOCKOUT.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:50:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/hex-file-does-not-run-when-download-with-Flash-Magic/m-p/537642#M5640</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: hex file does not run when download with Flash Magic</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/hex-file-does-not-run-when-download-with-Flash-Magic/m-p/537643#M5641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Thu Apr 17 07:19:03 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;A common design problem with custom boards is floating ISP and RESET pins - which would stop your board running. Search this forum - there are lots of posts on this subject.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also suggest that you learn how to attach a debugger. Its not difficult and will save you a lot of time in the long run.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:50:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/hex-file-does-not-run-when-download-with-Flash-Magic/m-p/537643#M5641</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: hex file does not run when download with Flash Magic</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/hex-file-does-not-run-when-download-with-Flash-Magic/m-p/537644#M5642</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 Thu Apr 17 07:32:31 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Dan Griffin&lt;/STRONG&gt;&lt;BR /&gt;Any suggestions to get the simple code to work! Have tried on two different boards, so don't think their is a problem with the custom target!&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your code is working (at least with a working hardware) and toggling the LEDs with 0.7s. So you have not a software problem&amp;nbsp; :) &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:50:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/hex-file-does-not-run-when-download-with-Flash-Magic/m-p/537644#M5642</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: hex file does not run when download with Flash Magic</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/hex-file-does-not-run-when-download-with-Flash-Magic/m-p/537645#M5643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Dan Griffin on Tue Apr 22 11:28:56 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Final Solution::&amp;nbsp; For some reason the project default build for the lpcxpresso for the LPC11xx using CMSISv2p00_LPC11xx has in the file system_LPC11xx.c default set to and external clock! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define SYSPLLCLKSEL_Val&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000001&amp;nbsp; {line 128}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; // changed value from 1 to 0 to select IRC inplace of the ext crystal clock.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Note my board has no external crystal, so when the code try to&amp;nbsp; wait until the PLL lock { which never happen--It never got out of the while loop}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Why is default is set to ext crystal clock????&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Making the change to line 128 now permits the hex file downloaded by Flash Magic to run correctly. The test board LPCXpresso Board has a external crystal installed, so this section of code did not hang, before reiniting the clock to the IRC osc in the main program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:50:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/hex-file-does-not-run-when-download-with-Flash-Magic/m-p/537645#M5643</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: hex file does not run when download with Flash Magic</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/hex-file-does-not-run-when-download-with-Flash-Magic/m-p/537646#M5644</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 Apr 22 11:49:25 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Dan Griffin&lt;/STRONG&gt;&lt;BR /&gt;Why is default is set to ext crystal clock????&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Datasheet:&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;The IRC is trimmed to 1 % accuracy...&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So it's not possible to use all peripherals (at least if higher baudrates are required) with this accuracy.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:50:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/hex-file-does-not-run-when-download-with-Flash-Magic/m-p/537646#M5644</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:50:59Z</dc:date>
    </item>
  </channel>
</rss>

