<?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: Debug works on EA Baseboard, but not on final PCB in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Debug-works-on-EA-Baseboard-but-not-on-final-PCB/m-p/518417#M2658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TKoe on Mon Dec 17 03:57:42 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess we have figured it out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;According to the datasheet the pin P2.10 needs a pull-up resistor because if it's low after reset the chip will enter its ISP mode (which explains the 12 MHz and the "Executing in bootloader" part in the log [which was also not present on the EA Baseboard]).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We closely followed the schematics from EA, but I guess we overlooked that part...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:32:15 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:32:15Z</dc:date>
    <item>
      <title>Debug works on EA Baseboard, but not on final PCB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Debug-works-on-EA-Baseboard-but-not-on-final-PCB/m-p/518416#M2657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TKoe on Mon Dec 17 02:55:45 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have programmed a piece of firmware on the Embedded Artists LPC1788 Baseboard (with the OEM board in the SODIMM socket) which works fine. Now we have recently produced our prototype PCB which also uses a fresh OEM board of the same type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, if I use the fresh OEM board in my Baseboard everything works fine and as expected. However, when I insert it into my prototype PCB some funny stuff happens. First of all, programming with the LPCXpresso programmer seems to work just fine (the log file is at the end of this post), as it says that the programming was successful. What already worries me at that part is the line with "assumed clock: 12.0MHz", because on the EA Baseboard it says "assumed clock: 120.0MHz".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also when I try to debug it through LPCXpresso it successfully starts, but it doesn't execute my code but rather starts off in some part at address 0x1fff.... which, according to the linker file, is somewhere at the end of the RAM section.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Needless to say that it doesn't do a thing, regardless of whether I am debugging it or just letting it run normally.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: (&amp;nbsp; 0) Reading remote configuration&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ni: LPCXpresso Debug Driver v4.0 (Sep 19 2012 09:03:19)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Looked for chip XML file in C:/nxp/LPCXpresso_4.3.0_1023/lpcxpresso/bin/LPC1788.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Looked for vendor directory XML file in C:/nxp/LPCXpresso_4.3.0_1023/lpcxpresso/bin/nxp_directory.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Found generic directory XML file in C:/nxp/LPCXpresso_4.3.0_1023/lpcxpresso/bin/crt_directory.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: (&amp;nbsp; 5) Remote configuration complete&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 30) Emulator Connected&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 40) Debug Halt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 50) CPU ID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Emu(0): Conn&amp;amp;Reset. DpID: 2BA01477. Info: WIN32HS12&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: SWD Frequency: 250 KHz. RTCK: False. Vector catch: False.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Packet delay: 0&amp;nbsp; Poll delay: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: NXP: LPC1788&amp;nbsp; Part ID: 0x281D3F47&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 65) Chip Setup Complete&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nt: Connected: was_reset=false. was_stopped=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cr:v Registered license, download limit of 128K&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 70) License Check Complete&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nt: Loading ELF file 'MY_Cool_Firmware.axf' at location 00006000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nt: Writing 34760 bytes to 6000 in Flash (assumed clock: 12.0MHz)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pb: 1 of 2 (&amp;nbsp; 0) Writing pages 6-13 at 0x00006000 with 32768 bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ps: (&amp;nbsp; 0) Page&amp;nbsp; 6 at 00006000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ps: ( 12) Page&amp;nbsp; 6 at 00006000: 4096 bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ps: ( 25) Page&amp;nbsp; 7 at 00007000: 4096 bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ps: ( 37) Page&amp;nbsp; 8 at 00008000: 4096 bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ps: ( 50) Page&amp;nbsp; 9 at 00009000: 4096 bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ps: ( 62) Page 10 at 0000A000: 4096 bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ps: ( 75) Page 11 at 0000B000: 4096 bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ps: ( 87) Page 12 at 0000C000: 4096 bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ps: (100) Page 13 at 0000D000: 4096 bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nt: Verified-same page 6-13 with 32768 bytes in 2460msec&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pb: 2 of 2 ( 94) Writing pages 14-14 at 0x0000E000 with 1992 bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ps: (&amp;nbsp; 0) Page 14 at 0000E000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ps: (100) Page 14 at 0000E000: 1992 bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nt: Verified-same page 14-14 with 1992 bytes in 427msec&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pb: (100) Finished writing Flash successfully.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nt: Flash write Done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: nSRST assert (if available)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Executing in bootloader.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wc: SWD Frequency (Final): 250 KHz. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Debug-works-on-EA-Baseboard-but-not-on-final-PCB/m-p/518416#M2657</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Debug works on EA Baseboard, but not on final PCB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Debug-works-on-EA-Baseboard-but-not-on-final-PCB/m-p/518417#M2658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TKoe on Mon Dec 17 03:57:42 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess we have figured it out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;According to the datasheet the pin P2.10 needs a pull-up resistor because if it's low after reset the chip will enter its ISP mode (which explains the 12 MHz and the "Executing in bootloader" part in the log [which was also not present on the EA Baseboard]).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We closely followed the schematics from EA, but I guess we overlooked that part...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Debug-works-on-EA-Baseboard-but-not-on-final-PCB/m-p/518417#M2658</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:15Z</dc:date>
    </item>
  </channel>
</rss>

