<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: tftpds 2.4 beta</title>
	<link>http://blog.dev-scene.com/flatware/2007/01/07/tftpds-24-beta/</link>
	<description>Updates from the creators of tetattds and tftpds</description>
	<pubDate>Wed, 08 Oct 2008 10:03:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: jsnbuchanan</title>
		<link>http://blog.dev-scene.com/flatware/2007/01/07/tftpds-24-beta/#comment-101</link>
		<dc:creator>jsnbuchanan</dc:creator>
		<pubDate>Sun, 15 Apr 2007 01:19:39 +0000</pubDate>
		<guid>http://blog.dev-scene.com/flatware/2007/01/07/tftpds-24-beta/#comment-101</guid>
		<description>To resolve the following issues:

main7.c:45: error: &#8216;TransferRegion&#8217; has no member named &#8216;curtime&#8217; and main7.c:81: error: &#8216;TransferRegion&#8217; has no member named &#8216;heartbeat&#8217;

From http://www.phoneds.com:
 
"I figured out the problems on line 52 and 87. libnds was modified so that &#8216;curtime&#8217; was inside of a union called &#8216;time&#8217;. This allows a user to either access the &#8216;curtime&#8217; variable in its entirety with &#8216;IPC-&#62;time.curtime&#8217;, or access individual fields like &#8216;day&#8217; or &#8217;seconds&#8217; with &#8216;IPC-&#62;time.rtc.day&#8217;. (&#8217;rtc&#8217; is the structure that contains day, hour, minute, seconds, etc.) The exact details of the IPC object are in &#8216;libnds/include/nds/ipc.h&#8217; under &#8216;TransferRegion&#8217;. (IPC is of type TransferRegion.) I modified those two lines appropriately so they refer to &#8216;IPC-&#62;time.curtime&#8217; instead of &#8216;IPC-&#62;curtime&#8217;."

hearbeat was removed from ipc. I have just commented that out.</description>
		<content:encoded><![CDATA[<p>To resolve the following issues:</p>
<p>main7.c:45: error: &#8216;TransferRegion&#8217; has no member named &#8216;curtime&#8217; and main7.c:81: error: &#8216;TransferRegion&#8217; has no member named &#8216;heartbeat&#8217;</p>
<p>From <a href="http://www.phoneds.com:" rel="nofollow">http://www.phoneds.com:</a></p>
<p>&#8220;I figured out the problems on line 52 and 87. libnds was modified so that &#8216;curtime&#8217; was inside of a union called &#8216;time&#8217;. This allows a user to either access the &#8216;curtime&#8217; variable in its entirety with &#8216;IPC-&gt;time.curtime&#8217;, or access individual fields like &#8216;day&#8217; or &#8217;seconds&#8217; with &#8216;IPC-&gt;time.rtc.day&#8217;. (&#8217;rtc&#8217; is the structure that contains day, hour, minute, seconds, etc.) The exact details of the IPC object are in &#8216;libnds/include/nds/ipc.h&#8217; under &#8216;TransferRegion&#8217;. (IPC is of type TransferRegion.) I modified those two lines appropriately so they refer to &#8216;IPC-&gt;time.curtime&#8217; instead of &#8216;IPC-&gt;curtime&#8217;.&#8221;</p>
<p>hearbeat was removed from ipc. I have just commented that out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sten Larsson</title>
		<link>http://blog.dev-scene.com/flatware/2007/01/07/tftpds-24-beta/#comment-11</link>
		<dc:creator>Sten Larsson</dc:creator>
		<pubDate>Fri, 09 Feb 2007 06:33:33 +0000</pubDate>
		<guid>http://blog.dev-scene.com/flatware/2007/01/07/tftpds-24-beta/#comment-11</guid>
		<description>I've also seen that, but I don't know whats wrong. Try using another tftp program on the PC.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve also seen that, but I don&#8217;t know whats wrong. Try using another tftp program on the PC.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mateom199</title>
		<link>http://blog.dev-scene.com/flatware/2007/01/07/tftpds-24-beta/#comment-10</link>
		<dc:creator>mateom199</dc:creator>
		<pubDate>Fri, 09 Feb 2007 02:00:17 +0000</pubDate>
		<guid>http://blog.dev-scene.com/flatware/2007/01/07/tftpds-24-beta/#comment-10</guid>
		<description>hey thanks for the help, everything seems to be working now. The only problem I run into is that during many transfers, I'll get the "out of order" error. I'm assuming its caused by packet loss - I'm just not sure how to remedy it. Looking at the tftp standard and the way you coded receiving files, it looks like the tftp server should attempt to re-send the lost packet until tftpds sends an ack for that packet, but it ends up just timing out.

Any suggestions?</description>
		<content:encoded><![CDATA[<p>hey thanks for the help, everything seems to be working now. The only problem I run into is that during many transfers, I&#8217;ll get the &#8220;out of order&#8221; error. I&#8217;m assuming its caused by packet loss - I&#8217;m just not sure how to remedy it. Looking at the tftp standard and the way you coded receiving files, it looks like the tftp server should attempt to re-send the lost packet until tftpds sends an ack for that packet, but it ends up just timing out.</p>
<p>Any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sten Larsson</title>
		<link>http://blog.dev-scene.com/flatware/2007/01/07/tftpds-24-beta/#comment-9</link>
		<dc:creator>Sten Larsson</dc:creator>
		<pubDate>Thu, 08 Feb 2007 21:08:05 +0000</pubDate>
		<guid>http://blog.dev-scene.com/flatware/2007/01/07/tftpds-24-beta/#comment-9</guid>
		<description>Yes it's offset 0 so it should work. What error do you get?</description>
		<content:encoded><![CDATA[<p>Yes it&#8217;s offset 0 so it should work. What error do you get?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mateom199</title>
		<link>http://blog.dev-scene.com/flatware/2007/01/07/tftpds-24-beta/#comment-8</link>
		<dc:creator>mateom199</dc:creator>
		<pubDate>Thu, 08 Feb 2007 20:05:40 +0000</pubDate>
		<guid>http://blog.dev-scene.com/flatware/2007/01/07/tftpds-24-beta/#comment-8</guid>
		<description>OK got it to compile, you were right it was just some template code that wasn't needed.
Anyways, I'm trying to boot tftpds with my M3, then I want to switch it out with my FA Turbo 256 - I lost my linker so I have no way to initially flash tftpds  to the flashcard. It seems to work this way, but I can't get tftpds to flash tftpds.nd.gba to the beginning of the flashcart. Do you know what offset I should use to flash to? I was assuming it was just offset 0, the beginning of the cart, but thats not working for me.</description>
		<content:encoded><![CDATA[<p>OK got it to compile, you were right it was just some template code that wasn&#8217;t needed.<br />
Anyways, I&#8217;m trying to boot tftpds with my M3, then I want to switch it out with my FA Turbo 256 - I lost my linker so I have no way to initially flash tftpds  to the flashcard. It seems to work this way, but I can&#8217;t get tftpds to flash tftpds.nd.gba to the beginning of the flashcart. Do you know what offset I should use to flash to? I was assuming it was just offset 0, the beginning of the cart, but thats not working for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sten Larsson</title>
		<link>http://blog.dev-scene.com/flatware/2007/01/07/tftpds-24-beta/#comment-7</link>
		<dc:creator>Sten Larsson</dc:creator>
		<pubDate>Thu, 08 Feb 2007 07:51:09 +0000</pubDate>
		<guid>http://blog.dev-scene.com/flatware/2007/01/07/tftpds-24-beta/#comment-7</guid>
		<description>Hmm ok. I don't remember using that code. It might be something from the (now old) arm7 template I used. Maybe you should compare the code to the latest template and see if you can figure it out. I cannot look into it right now (I'm at work).</description>
		<content:encoded><![CDATA[<p>Hmm ok. I don&#8217;t remember using that code. It might be something from the (now old) arm7 template I used. Maybe you should compare the code to the latest template and see if you can figure it out. I cannot look into it right now (I&#8217;m at work).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mateom199</title>
		<link>http://blog.dev-scene.com/flatware/2007/01/07/tftpds-24-beta/#comment-6</link>
		<dc:creator>mateom199</dc:creator>
		<pubDate>Thu, 08 Feb 2007 07:16:50 +0000</pubDate>
		<guid>http://blog.dev-scene.com/flatware/2007/01/07/tftpds-24-beta/#comment-6</guid>
		<description>Ok, thanks, should have seen that. Now the arm9 code compiles fine, but the arm7 chokes. It gives: main7.c:45: error: 'TransferRegion' has no member named 'curtime' and main7.c:81: error: 'TransferRegion' has no member named 'heartbeat'</description>
		<content:encoded><![CDATA[<p>Ok, thanks, should have seen that. Now the arm9 code compiles fine, but the arm7 chokes. It gives: main7.c:45: error: &#8216;TransferRegion&#8217; has no member named &#8216;curtime&#8217; and main7.c:81: error: &#8216;TransferRegion&#8217; has no member named &#8216;heartbeat&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sten Larsson</title>
		<link>http://blog.dev-scene.com/flatware/2007/01/07/tftpds-24-beta/#comment-5</link>
		<dc:creator>Sten Larsson</dc:creator>
		<pubDate>Thu, 08 Feb 2007 06:45:06 +0000</pubDate>
		<guid>http://blog.dev-scene.com/flatware/2007/01/07/tftpds-24-beta/#comment-5</guid>
		<description>I haven't the latest versions of DKP and libnds yet. This is one of the things that changed in the latest libnds (according to www.devkitpro.org):

"In our ongoing attempt to bring register naming in line with gbatek WAIT_CR changes to REG_EXEMEMCNT/REG_EXEMEMSTAT and POWER_CR changes to REG_POWERCNT. The old names have been moved to nds/registers_alt.h."</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t the latest versions of DKP and libnds yet. This is one of the things that changed in the latest libnds (according to <a href="http://www.devkitpro.org" rel="nofollow">http://www.devkitpro.org</a>):</p>
<p>&#8220;In our ongoing attempt to bring register naming in line with gbatek WAIT_CR changes to REG_EXEMEMCNT/REG_EXEMEMSTAT and POWER_CR changes to REG_POWERCNT. The old names have been moved to nds/registers_alt.h.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mateom199</title>
		<link>http://blog.dev-scene.com/flatware/2007/01/07/tftpds-24-beta/#comment-4</link>
		<dc:creator>mateom199</dc:creator>
		<pubDate>Thu, 08 Feb 2007 03:19:39 +0000</pubDate>
		<guid>http://blog.dev-scene.com/flatware/2007/01/07/tftpds-24-beta/#comment-4</guid>
		<description>I can't seem to get it to compile on the latest DKP r20. Any idea on how to get it going? I'm getting errors left and right. Strangely, I'm getting alot of 
error: 'WAIT_CR' was not declared in this scope

errors, which I can't figure out why.</description>
		<content:encoded><![CDATA[<p>I can&#8217;t seem to get it to compile on the latest DKP r20. Any idea on how to get it going? I&#8217;m getting errors left and right. Strangely, I&#8217;m getting alot of<br />
error: &#8216;WAIT_CR&#8217; was not declared in this scope</p>
<p>errors, which I can&#8217;t figure out why.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
