Search found 17 matches

by laser
Fri Sep 03, 2010 2:07 pm
Forum: DS Development
Topic: send with big buffer
Replies: 24
Views: 13552

Re: send with big buffer

Thanks z.g!! Yes, putting a 1 second delay in before closesocket() works!! Well done. :) I did try this before BUT I was putting the delays in before the shutdown() function not before the closesocket(). Putting the delay in before shutdown() causes the socket to fail to signal the other end the con...
by laser
Fri Sep 03, 2010 9:27 am
Forum: Bug Reports
Topic: Timer set macros not accurate
Replies: 9
Views: 12397

Re: Timer set macros not accurate

Thank you for your suggestions. I am one step ahead of you. I have already got it running on the sound channels. Right channel is X axis and Left is Y axis. Works okay using the headphone jack and an external op-amp circuit but does not give DC offset. I will need to crack open the DS and tap off th...
by laser
Sat Aug 28, 2010 12:56 pm
Forum: Bug Reports
Topic: Timer set macros not accurate
Replies: 9
Views: 12397

Re: Timer set macros not accurate

I just tried running my laser software on some other DS units. The main problem I found was trying to pry the DS lites out of my children's hands for an hour... :) Tested on 2 x DSi XL and 2 x DS lite. 1 hour test time on each unit and saw no visible lag or difference on each unit. Which was the res...
by laser
Sat Aug 28, 2010 12:37 pm
Forum: DS Development
Topic: send with big buffer
Replies: 24
Views: 13552

Re: send with big buffer

I just tried 1461 bytes and it got truncated to 1420 bytes.
by laser
Fri Aug 27, 2010 10:23 am
Forum: Bug Reports
Topic: Timer set macros not accurate
Replies: 9
Views: 12397

Re: Timer set macros not accurate

Hi, Sorry, I fail to understand why this post is causing so much confusion. I'm not ready to take a screw driver to my new DSi XL unit which is still under warranty to confirm the clock crystal used is 33513982Hz. I assume whoever wrote "Timers.h" has already done this. Therefore I have to trust tha...
by laser
Fri Aug 27, 2010 8:30 am
Forum: DS Development
Topic: send with big buffer
Replies: 24
Views: 13552

Re: send with big buffer

I revisited this problem today and have done some more testing and have some more clues to offer to help fix the problem. 1420 bytes seems to be the upper limit to a successful socket send and close. Sending 1421 bytes or more and the socket will signal a closed connection to the other side before t...
by laser
Fri Aug 27, 2010 6:54 am
Forum: User Contributions
Topic: micro FTP server for DS (v0.70)
Replies: 0
Views: 5039

micro FTP server for DS (v0.70)

Hi All, This is a basic FTP server implementation for the DS using the devkitARM tool chain. It is by no means a full FTP server implementation. It's intention is to allow for basic SD card file manipulation over Wifi without having to constantly remove the SD card. The motivation was to make a smal...
by laser
Thu Aug 26, 2010 9:55 am
Forum: devkitARM
Topic: How to use full 16MB RAM on DSi and DSi XL
Replies: 4
Views: 4870

Re: How to use full 16MB RAM on DSi and DSi XL

Hi WinterMute, I saw the DSlink release - many thanks. I needed to read it several times to understand. I thought is was a simple case of setting the memory size at the time of the build but obviously there is some hardware restricting access to the extra memory unless you are in this "DSi mode". Is...
by laser
Thu Aug 26, 2010 9:31 am
Forum: Bug Reports
Topic: Timer set macros not accurate
Replies: 9
Views: 12397

Re: Timer set macros not accurate

The "0x10000" value represents the overflow count the timer needs to reach to trigger the interrupt - it's a 16 bit register (i.e 0xffff + 1 = 0x10000). The formula is correct - I get no timer lag now. I multiply the frequency (n) with the ClockDivider instead of dividing the TIMER_HZ with ClockDivi...
by laser
Tue Aug 24, 2010 11:04 am
Forum: devkitARM
Topic: How to use full 16MB RAM on DSi and DSi XL
Replies: 4
Views: 4870

Re: How to use full 16MB RAM on DSi and DSi XL

okay, thank you WinterMute. I'll keep an eye out for that release.

Many thanks,

laser