<?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>LPC Microcontrollers中的主题 Re: LPC4330 Xplorer Booting from Reset Problem</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4330-Xplorer-Booting-from-Reset-Problem/m-p/590571#M22085</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 Aug 27 09:13:24 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;For internal flash probably checksum. Read below thread.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.keil.com%2Fsupport%2Fdocs%2F3592.htm" rel="nofollow" target="_blank"&gt;http://www.keil.com/support/docs/3592.htm&lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:17:46 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:17:46Z</dc:date>
    <item>
      <title>LPC4330 Xplorer Booting from Reset Problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4330-Xplorer-Booting-from-Reset-Problem/m-p/590568#M22082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by joohyun.seo on Wed Aug 27 08:27:37 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am experiencing difficulty in in booting from reset. I am using a KEIL debugger, and I have played around with periph_blinky example, but I think I am missing some concept that doesn't only apply to KEIL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I can successfully download the image to both internal flash (using DFUSec) and to external flash. I can see that the 12 MHz crystal is oscillating after I download the image. However, it doesn't start the code or main(). When I press Reset switch on the board, then the boot should be initiated from the internal flash if P2_7 is sampled high. Since I successfully downloaded the image into internal flash P2_7 is high when I RESET, and I expect to start the program from internal flash, but nothing happens. I also reset the board while sampling P2_7 to be low with boot switch configured for external flash, but nothing happens.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that the image that I download does not include something like 'startup from reset'. When I run the code for targeting external flash in the Debugger mode, then the code runs fine. I can even make the target address to be internal flash (Device : LPC4337 IROM Address starting from : 0x1A000000, and making setup(0x1A000000) in *.ini file). In both cases, once I run the code in Debugger mode, then it runs fine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I cannot just make the code run by simply pressing the reset switch. I feel that the example code is meant to be debugging purpose so that the code should not be automatically executed, but I hope to implement the code that is executed from the reset.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me learn more about this issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:17:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4330-Xplorer-Booting-from-Reset-Problem/m-p/590568#M22082</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4330 Xplorer Booting from Reset Problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4330-Xplorer-Booting-from-Reset-Problem/m-p/590569#M22083</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 Aug 27 08:45:00 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi joohyun,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using periph_blinky from LPCOpen? Please let us know the exact project and target used by you?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:17:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4330-Xplorer-Booting-from-Reset-Problem/m-p/590569#M22083</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4330 Xplorer Booting from Reset Problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4330-Xplorer-Booting-from-Reset-Problem/m-p/590570#M22084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by joohyun.seo on Wed Aug 27 09:01:04 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi MC,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, it is lpcopen_2_12_keil_iar_ngx_xplorer_4330.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:17:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4330-Xplorer-Booting-from-Reset-Problem/m-p/590570#M22084</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4330 Xplorer Booting from Reset Problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4330-Xplorer-Booting-from-Reset-Problem/m-p/590571#M22085</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 Aug 27 09:13:24 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;For internal flash probably checksum. Read below thread.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.keil.com%2Fsupport%2Fdocs%2F3592.htm" rel="nofollow" target="_blank"&gt;http://www.keil.com/support/docs/3592.htm&lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:17:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4330-Xplorer-Booting-from-Reset-Problem/m-p/590571#M22085</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4330 Xplorer Booting from Reset Problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4330-Xplorer-Booting-from-Reset-Problem/m-p/590572#M22086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by joohyun.seo on Wed Aug 27 10:14:43 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I included the another command line after build as directed in your reference, it works fine. I can see the LED blinking by simply pressing RESET switch. Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a supplemental question. I also want to download the image using DFU programmer. So what I did is to generate the bin file by inserting following command in Options for Targets - User - Run User Programs After Build/Rebuild&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;: C:\Keil\ARM\ARMCC\bin\fromelf.exe --bin --output=periph_systick.bin periph_systick.axf&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, I opened the DFU programmer and include binary file in HDR/RAW modes tab with Auto append header to the binary image and Auto-verify header on boot enabled. Then, I generate binary file with header. Next, in program mode, I include the *.bin.hdr file and specify the address 0x1A000000, size 0x00010000, and Param 0x00000000. I also enabled the verify image after programming by reading it back, and compute/insert checksum in image before programming. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, I press START to download the image. However, with this approach after I reset the board, the board doesn't show any activity. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To my understanding, I converted *.axf (which works fine by downloading it using the Debugger mode) into *.bin so *.bin should be correct. So I thought that this method should work, but unfortunately, it is not working. There is no particular error message in Output log nor Program Log. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also tried with 'Compute/Insert checksum in image before programming' disabled, but it doesn't show any difference. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:17:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4330-Xplorer-Booting-from-Reset-Problem/m-p/590572#M22086</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:17:46Z</dc:date>
    </item>
  </channel>
</rss>

