<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using C30 with Piklab</title>
	<atom:link href="http://www.electricrock.co.nz/blog/2009/08/using-c30-with-piklab/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.electricrock.co.nz/blog/2009/08/using-c30-with-piklab/</link>
	<description>Electronic Ramblings</description>
	<lastBuildDate>Tue, 10 Aug 2010 03:35:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Justin</title>
		<link>http://www.electricrock.co.nz/blog/2009/08/using-c30-with-piklab/comment-page-1/#comment-954</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Thu, 27 May 2010 21:01:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.electricrock.co.nz/blog/?p=47#comment-954</guid>
		<description>For the &#039;__reset&#039; error make sure you include the following libraries -lpic30-coff -lm-coff -lc-coff</description>
		<content:encoded><![CDATA[<p>For the &#8216;__reset&#8217; error make sure you include the following libraries -lpic30-coff -lm-coff -lc-coff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas</title>
		<link>http://www.electricrock.co.nz/blog/2009/08/using-c30-with-piklab/comment-page-1/#comment-527</link>
		<dc:creator>Nicolas</dc:creator>
		<pubDate>Sun, 02 May 2010 16:43:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.electricrock.co.nz/blog/?p=47#comment-527</guid>
		<description>Do you know how to resolve the problem of encoding in Piklab ? It always prints strange characters in the console of Piklab even though when I use directly pic30-coff-gcc it prints fine. I suspect a problem of encoding (UTF-8 ...).</description>
		<content:encoded><![CDATA[<p>Do you know how to resolve the problem of encoding in Piklab ? It always prints strange characters in the console of Piklab even though when I use directly pic30-coff-gcc it prints fine. I suspect a problem of encoding (UTF-8 &#8230;).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kemp</title>
		<link>http://www.electricrock.co.nz/blog/2009/08/using-c30-with-piklab/comment-page-1/#comment-257</link>
		<dc:creator>Kemp</dc:creator>
		<pubDate>Wed, 17 Mar 2010 14:48:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.electricrock.co.nz/blog/?p=47#comment-257</guid>
		<description>I&#039;ve rebuilt using the new command before making binutils, but I&#039;m now getting undefined references to PORTB and all of the I2C1* sort-of-variables. I have -I/home/kemp/pic30/pic30-nonfree/support/PIC24F/h/ in the GCC calls (that&#039;s the PIC I&#039;m targetting) but the error occurs when linking. It worked prior to the rebuild. I&#039;m wondering if this is a similar issue to the one Netfoot had after rebuilding.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve rebuilt using the new command before making binutils, but I&#8217;m now getting undefined references to PORTB and all of the I2C1* sort-of-variables. I have -I/home/kemp/pic30/pic30-nonfree/support/PIC24F/h/ in the GCC calls (that&#8217;s the PIC I&#8217;m targetting) but the error occurs when linking. It worked prior to the rebuild. I&#8217;m wondering if this is a similar issue to the one Netfoot had after rebuilding.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.electricrock.co.nz/blog/2009/08/using-c30-with-piklab/comment-page-1/#comment-235</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 10 Mar 2010 23:30:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.electricrock.co.nz/blog/?p=47#comment-235</guid>
		<description>Kemp,  I just got it to work using the above instructions.  You need to rebuild binutils.  You can just do a make clean, then run the command supplied by
netfoot above:

find . -name “*.y” -o -name “*.l” -exec touch ‘{}’ ‘;’

When I copied and pasted it, it messed up the quotes, so make sure it&#039;s typed in correctly. Next, make and make install.  Revert any changes you made to the linker script.  It worked for me at this point:

pic30-coff-gcc -mcpu=24FJ128GA010 -mresource=./pic30/info/c30_device.info ./test.c

Chris</description>
		<content:encoded><![CDATA[<p>Kemp,  I just got it to work using the above instructions.  You need to rebuild binutils.  You can just do a make clean, then run the command supplied by<br />
netfoot above:</p>
<p>find . -name “*.y” -o -name “*.l” -exec touch ‘{}’ ‘;’</p>
<p>When I copied and pasted it, it messed up the quotes, so make sure it&#8217;s typed in correctly. Next, make and make install.  Revert any changes you made to the linker script.  It worked for me at this point:</p>
<p>pic30-coff-gcc -mcpu=24FJ128GA010 -mresource=./pic30/info/c30_device.info ./test.c</p>
<p>Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kemp</title>
		<link>http://www.electricrock.co.nz/blog/2009/08/using-c30-with-piklab/comment-page-1/#comment-173</link>
		<dc:creator>Kemp</dc:creator>
		<pubDate>Wed, 17 Feb 2010 16:56:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.electricrock.co.nz/blog/?p=47#comment-173</guid>
		<description>Scratch that, I&#039;m getting that default linker script error as posted by someone else above. v3.23 of everything with the Lite (academic) compiler. Also occurs with the the p24FJ64GA002.gld linker script selected instead of the default one. Did anyone find a consistently working resolution for this?</description>
		<content:encoded><![CDATA[<p>Scratch that, I&#8217;m getting that default linker script error as posted by someone else above. v3.23 of everything with the Lite (academic) compiler. Also occurs with the the p24FJ64GA002.gld linker script selected instead of the default one. Did anyone find a consistently working resolution for this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kemp</title>
		<link>http://www.electricrock.co.nz/blog/2009/08/using-c30-with-piklab/comment-page-1/#comment-171</link>
		<dc:creator>Kemp</dc:creator>
		<pubDate>Wed, 17 Feb 2010 16:49:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.electricrock.co.nz/blog/?p=47#comment-171</guid>
		<description>Compiling for PIC24F seems to work fine with instructions as given and v3.23 of Microchip&#039;s side of things. Will report back on programming soon.</description>
		<content:encoded><![CDATA[<p>Compiling for PIC24F seems to work fine with instructions as given and v3.23 of Microchip&#8217;s side of things. Will report back on programming soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://www.electricrock.co.nz/blog/2009/08/using-c30-with-piklab/comment-page-1/#comment-125</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Mon, 25 Jan 2010 22:26:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.electricrock.co.nz/blog/?p=47#comment-125</guid>
		<description>Hey, sorry about the delay replying, I am in the US attending a conference. Not sure about libgcc, I have never had issues with it. Do you need it to build the c30 compiler, or to build firmware with the c30 compiler?

Also, on a side node I found out how I solved previously solved the syntax error in the linker scripts.  I was just looking through an old project, in which I had copied over the linker script and had just deleted the two CRT0_STARTUP and CRT1_STARTUP lines ;).</description>
		<content:encoded><![CDATA[<p>Hey, sorry about the delay replying, I am in the US attending a conference. Not sure about libgcc, I have never had issues with it. Do you need it to build the c30 compiler, or to build firmware with the c30 compiler?</p>
<p>Also, on a side node I found out how I solved previously solved the syntax error in the linker scripts.  I was just looking through an old project, in which I had copied over the linker script and had just deleted the two CRT0_STARTUP and CRT1_STARTUP lines <img src='http://www.electricrock.co.nz/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Netfoot</title>
		<link>http://www.electricrock.co.nz/blog/2009/08/using-c30-with-piklab/comment-page-1/#comment-118</link>
		<dc:creator>Netfoot</dc:creator>
		<pubDate>Fri, 22 Jan 2010 23:13:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.electricrock.co.nz/blog/?p=47#comment-118</guid>
		<description>Matt, I can&#039;t seem to find the libgcc library.  Any suggestions?</description>
		<content:encoded><![CDATA[<p>Matt, I can&#8217;t seem to find the libgcc library.  Any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://www.electricrock.co.nz/blog/2009/08/using-c30-with-piklab/comment-page-1/#comment-116</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Thu, 21 Jan 2010 19:39:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.electricrock.co.nz/blog/?p=47#comment-116</guid>
		<description>Sweet, glad to hear you&#039;ve made progress :D.  When you say undefined references, do you mean within the PIC peripheral libraries?  I found when I was trying to use I2C with the 30F4013, that support for it was missing from the library.  If this is the case, they supply the sources so you can either recompile the library yourself (by running a two hundred thousand line DOS .BAT script :P -- I was going to write a makefile but never got around to it), or just include the appropriate files into your project.

Anyway, good luck with your project.  I&#039;m gonna be away from the computer for a couple of days but keep us posted with your progress. Cheers</description>
		<content:encoded><![CDATA[<p>Sweet, glad to hear you&#8217;ve made progress <img src='http://www.electricrock.co.nz/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> .  When you say undefined references, do you mean within the PIC peripheral libraries?  I found when I was trying to use I2C with the 30F4013, that support for it was missing from the library.  If this is the case, they supply the sources so you can either recompile the library yourself (by running a two hundred thousand line DOS .BAT script <img src='http://www.electricrock.co.nz/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  &#8212; I was going to write a makefile but never got around to it), or just include the appropriate files into your project.</p>
<p>Anyway, good luck with your project.  I&#8217;m gonna be away from the computer for a couple of days but keep us posted with your progress. Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Netfoot</title>
		<link>http://www.electricrock.co.nz/blog/2009/08/using-c30-with-piklab/comment-page-1/#comment-115</link>
		<dc:creator>Netfoot</dc:creator>
		<pubDate>Thu, 21 Jan 2010 16:31:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.electricrock.co.nz/blog/?p=47#comment-115</guid>
		<description>Ok, Matt!  With help from some friends (thanks Adam &amp; Peter) I&#039;ve made some progress by adding 

 find . -name &quot;*.y&quot; -o -name &quot;*.l&quot; -exec touch &#039;{}&#039; &#039;;&#039;

just before making binutils.  Still got some errors to deal with (undefined references due to a missing library, it looks like), but not script syntax related.</description>
		<content:encoded><![CDATA[<p>Ok, Matt!  With help from some friends (thanks Adam &amp; Peter) I&#8217;ve made some progress by adding </p>
<p> find . -name &#8220;*.y&#8221; -o -name &#8220;*.l&#8221; -exec touch &#8216;{}&#8217; &#8216;;&#8217;</p>
<p>just before making binutils.  Still got some errors to deal with (undefined references due to a missing library, it looks like), but not script syntax related.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
