<?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: LPC1769 Debug Problem in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545155#M9072</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 Jul 14 06:20:25 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you remove the source file containing main(). All C programs must have a main().&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:52:20 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:52:20Z</dc:date>
    <item>
      <title>LPC1769 Debug Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545150#M9067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by furkan.yuksel on Thu Jul 14 05:50:46 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This time I encounter a problem when I'm trying to initialize debug,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error is below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error Stopping at main.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Reason: Target request Failed: Function "main" not defined.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm creating my project from example projects of "mcb1700.code.bundle.lpc1769.lpcxpresso" and I'm just exchanging source files and header files with my sources and headers. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I wonder whether the mistake caused by creating project or writing codes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545150#M9067</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 Debug Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545151#M9068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Jul 14 05:55:21 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: furkan.yuksel&lt;/STRONG&gt;&lt;BR /&gt;So, I wonder whether the mistake caused by creating project or writing codes?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's 'creating project' :eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously you are mixing old / new projects / files. It's a good idea to use examples to learn, but I prefer to create a new LPCXpresso project for own projects. So you are sure that you are using CMSIS2.0 and semihosting...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545151#M9068</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 Debug Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545152#M9069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by furkan.yuksel on Thu Jul 14 06:03:36 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Zero&lt;/STRONG&gt;&lt;BR /&gt; So you are sure that you are using CMSIS2.0 and semihosting...&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm importimg both CMSIS project and an example project from same example bundle. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually I tried to create my own project but I couldn't succeded :( So, I tried this way because it seemed easier.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545152#M9069</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 Debug Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545153#M9070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Jul 14 06:08:08 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;And this original example isn't working?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545153#M9070</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 Debug Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545154#M9071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by furkan.yuksel on Thu Jul 14 06:13:19 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;No,&amp;nbsp; I think I mislead you. Original Example is working well. And I want to use that example as template for my project. So, I'm deleting source files and header files of&amp;nbsp; that example and replace with my own files. And than I got that error message.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545154#M9071</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 Debug Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545155#M9072</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 Jul 14 06:20:25 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you remove the source file containing main(). All C programs must have a main().&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545155#M9072</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 Debug Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545156#M9073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by furkan.yuksel on Thu Jul 14 06:23:27 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I removed but my file also have main itself, but I think GNU debugger cannot see it :(&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545156#M9073</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 Debug Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545157#M9074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Jul 14 06:26:19 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If clean and rebuild doesn't work, you've obviously changed something important :eek:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545157#M9074</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 Debug Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545158#M9075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by furkan.yuksel on Thu Jul 14 06:37:21 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;But, I tried this with different example projects and I change nothing except source code files and header files :( &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I attached my source codes and header files, can anyone chech if problem is with my codes ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: My main function is in Akya_I2C_main.c&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545158#M9075</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 Debug Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545159#M9076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Jul 14 06:43:39 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Please export your complete project :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545159#M9076</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 Debug Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545160#M9077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by furkan.yuksel on Thu Jul 14 06:59:26 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;ok you're rigth :) But I just added these files to a new project that's all.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545160#M9077</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 Debug Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545161#M9078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Jul 14 07:08:54 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Where is your cr_startup_lpc176x.c file :confused:&amp;nbsp; Deleted :eek::eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adding cr_startup_lpc176x.c, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;disabling WDT_Init&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;
//WDTInit();
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;and changing write / read buffers to real buffers seems to work here&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&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;
//uint8_t * write_buf;
//uint8_t * read_buf;

uint8_t write_buf[50];
uint8_t read_buf[50];
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545161#M9078</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 Debug Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545162#M9079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by furkan.yuksel on Thu Jul 14 07:34:23 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes it works :) Thank you Zero :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought that cr_startup is not necessary when I use cmsis, so this shows that I thougth wrong :p&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But now I wonder that why do I disable wdt_init? how can I use wdt?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545162#M9079</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 Debug Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545163#M9080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Jul 14 07:42:06 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Debugger can't stop WDT, so just disable it during testing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you release your project enable it and use it to reset your LPC:&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;
LPC_WDT-&amp;gt;MOD = WDEN | WDRESET;
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545163#M9080</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 Debug Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545164#M9081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by furkan.yuksel on Thu Jul 14 07:45:24 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok ZERO. Thanks for all your help. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Furkan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Debug-Problem/m-p/545164#M9081</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:25Z</dc:date>
    </item>
  </channel>
</rss>

