<?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 Need help with most basic configuration LPC804. in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-with-most-basic-configuration-LPC804/m-p/878675#M35131</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using the LPC804M101DJH24 package for my project.&amp;nbsp; I have it mounted on a 24-DIP so I can plug it into my breadboard.&amp;nbsp; I am trying to program it with Arm Keil and using the ST-Link V2 STM8 &amp;amp; STM32 USB debugger.&amp;nbsp; I have tried to run example code I downloaded from NXP but to no avail.&amp;nbsp; It builds without any problem, but when I go into the debugger mode it will never reach the main() function.&amp;nbsp; It seems to get stuck in the startup/boot process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same problem when I try to run my own code.&amp;nbsp; I have the proper header files I believe (LPC804.h) but it still won't run to the main() when I try to debug.&amp;nbsp; Therefore I don't think it is actually executing any code.&amp;nbsp; In the example code from NXP, the header file is (LPC8xx.h) and I think it may not be targeting my chip correctly.&amp;nbsp; I think this because of the notes at the top of the (keil_startup.s) file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am asking here because I want help with literally the most basic configuration I need to get my chip working.&amp;nbsp; I just want something to work on my chip because&amp;nbsp;I have been stuck like this for a while.&amp;nbsp; GPIO would be something simple I can start with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I have&amp;nbsp;the debugger connected to the chip:&lt;/P&gt;&lt;P&gt;I have 3.3V going to VDD pin&lt;/P&gt;&lt;P&gt;I have GND going to VSS pin&lt;/P&gt;&lt;P&gt;I have RST going to reset pin and also have a pull-up resistor to 3.3V&lt;/P&gt;&lt;P&gt;I have SWDIO going to SWDIO pin and also have a pull-up resistor to 3.3V&lt;/P&gt;&lt;P&gt;I have SWCLK going to SWCLK pin and also have a pull-down resistor going to ground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the SWD connections recommended in the NXP LPC804 User manual (UM11065).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will attach the code I have been trying to get working.&amp;nbsp; Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Apr 2019 16:11:52 GMT</pubDate>
    <dc:creator>pmchoudek</dc:creator>
    <dc:date>2019-04-03T16:11:52Z</dc:date>
    <item>
      <title>Need help with most basic configuration LPC804.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-with-most-basic-configuration-LPC804/m-p/878675#M35131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using the LPC804M101DJH24 package for my project.&amp;nbsp; I have it mounted on a 24-DIP so I can plug it into my breadboard.&amp;nbsp; I am trying to program it with Arm Keil and using the ST-Link V2 STM8 &amp;amp; STM32 USB debugger.&amp;nbsp; I have tried to run example code I downloaded from NXP but to no avail.&amp;nbsp; It builds without any problem, but when I go into the debugger mode it will never reach the main() function.&amp;nbsp; It seems to get stuck in the startup/boot process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same problem when I try to run my own code.&amp;nbsp; I have the proper header files I believe (LPC804.h) but it still won't run to the main() when I try to debug.&amp;nbsp; Therefore I don't think it is actually executing any code.&amp;nbsp; In the example code from NXP, the header file is (LPC8xx.h) and I think it may not be targeting my chip correctly.&amp;nbsp; I think this because of the notes at the top of the (keil_startup.s) file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am asking here because I want help with literally the most basic configuration I need to get my chip working.&amp;nbsp; I just want something to work on my chip because&amp;nbsp;I have been stuck like this for a while.&amp;nbsp; GPIO would be something simple I can start with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I have&amp;nbsp;the debugger connected to the chip:&lt;/P&gt;&lt;P&gt;I have 3.3V going to VDD pin&lt;/P&gt;&lt;P&gt;I have GND going to VSS pin&lt;/P&gt;&lt;P&gt;I have RST going to reset pin and also have a pull-up resistor to 3.3V&lt;/P&gt;&lt;P&gt;I have SWDIO going to SWDIO pin and also have a pull-up resistor to 3.3V&lt;/P&gt;&lt;P&gt;I have SWCLK going to SWCLK pin and also have a pull-down resistor going to ground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the SWD connections recommended in the NXP LPC804 User manual (UM11065).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will attach the code I have been trying to get working.&amp;nbsp; Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 16:11:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-with-most-basic-configuration-LPC804/m-p/878675#M35131</guid>
      <dc:creator>pmchoudek</dc:creator>
      <dc:date>2019-04-03T16:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with most basic configuration LPC804.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-with-most-basic-configuration-LPC804/m-p/878676#M35132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter Choudek,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am don't know whether your ST-LINK can support the NXP LPC product or not, maybe it can't support it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; We suggest you to use our LPC-LINK2 tool, the link is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A class="link-titled" href="https://www.nxp.com/support/developer-resources/software-development-tools/lpc-developer-resources-/lpc-microcontroller-utilities/lpc-link2:OM13054" title="https://www.nxp.com/support/developer-resources/software-development-tools/lpc-developer-resources-/lpc-microcontroller-utilities/lpc-link2:OM13054"&gt;LPC-Link2 | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; This tool can be CMSIS DAP or the JLINK debugger.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I think you can use the JLINK commander to connect your board, whether you can find the ARM core or not?&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2019 07:37:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Need-help-with-most-basic-configuration-LPC804/m-p/878676#M35132</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-04-04T07:37:02Z</dc:date>
    </item>
  </channel>
</rss>

