Search found 10 matches

by ashairey
Fri Jan 23, 2015 10:20 am
Forum: devkitARM
Topic: Can't write file to nitrofs
Replies: 7
Views: 15753

Re: Can't write file to nitrofs

The other option is to set slot2 to MPCF Flash Card Device and select "use path of the loaded ROM".
Thx, this works perfectly and will make development a lot faster.
by ashairey
Sat Jan 17, 2015 11:49 am
Forum: devkitARM
Topic: Can't write file to nitrofs
Replies: 7
Views: 15753

Re: Can't write file to nitrofs

Some feedback on this topic.
Got it working again on an old M3 movie player card using Libfat and M3sd_alt.dldi driver
The ROM runs on hardware, not in DeSmuMe v09.10 nor No$gbs v2.7d
However hardware it the one we need so its not a real problem.

Thx for the comments
by ashairey
Sun Jan 11, 2015 8:09 pm
Forum: devkitARM
Topic: Can't write file to nitrofs
Replies: 7
Views: 15753

Re: Can't write file to nitrofs

Some background. About 3-4 year ago i made some software and games for the DS with i believe was v20 of devkitARM. By then i was able too use DLDI patch with the driver for my card a M3 card (indeed an older card) and got writing to a file was working. By then i started also to work on a project to ...
by ashairey
Sun Jan 11, 2015 10:57 am
Forum: devkitARM
Topic: Can't write file to nitrofs
Replies: 7
Views: 15753

Re: Can't write file to nitrofs

I've tried it on real hardware too and with NO$GBA all with the same results but if it's readonly then that clears the smoke. I also tried the included nds\filesystem\libfat\libfatdir example but i couldn't get that one to write a file either. Could it be the same issue of being readonly too? btw, w...
by ashairey
Sat Jan 10, 2015 3:13 pm
Forum: devkitARM
Topic: Can't write file to nitrofs
Replies: 7
Views: 15753

Can't write file to nitrofs

Hello, I am using the latest devkitARM version r43, installed via the installer All is working fine and nicely. However i got a problem with writing a file to the filesystem. For this is am using the nitrofs\nitrofsdir example. After a make i start the nds file up with DeSmuMe 0.9.10 and the files t...
by ashairey
Sun Feb 05, 2012 8:56 pm
Forum: DS/DSi Development
Topic: Dswifi works but fails after 7 attempts.
Replies: 13
Views: 18454

Re: Dswifi works but fails after 7 attempts.

Sorry for the delay. I had a very rough week at the office. :-( I've looked into your suggestions. - forceclosesocket(); According me that one doesn't exits. :wink: - shutdown(my_socket, SHUT_RD) - shutdown(my_socket, SHUT_WR) - shutdown(my_socket, SHUT_RDWR) None worked for me. I started working on...
by ashairey
Mon Jan 30, 2012 8:49 pm
Forum: DS/DSi Development
Topic: Dswifi works but fails after 7 attempts.
Replies: 13
Views: 18454

Re: Dswifi works but fails after 7 attempts.

@Elhobbs I start the httpGet function by hand (after pressing a key on de NDS) so there is lots of time between calls and i see that each call is proceesed completly by printing the resopnse on screen. The code won't reach the send anymore on the 7th call. About the data send, this is max 46 bytes. ...
by ashairey
Mon Jan 30, 2012 7:22 pm
Forum: DS/DSi Development
Topic: Dswifi works but fails after 7 attempts.
Replies: 13
Views: 18454

Re: Dswifi works but fails after 7 attempts.

Some additional information If i check the socket number with my_socket = socket( AF_INET, SOCK_STREAM, 0 ); iprintf("Created Socket %i\n", my_socket); then i see the number go up to 6 and when it's 7 the program stalls. What i expected to see is that this number will get lower or 0 over t...
by ashairey
Mon Jan 30, 2012 6:52 pm
Forum: DS/DSi Development
Topic: Dswifi works but fails after 7 attempts.
Replies: 13
Views: 18454

Re: Dswifi works but fails after 7 attempts.

I've went back to the example and tried that one but it too has the same trouble. sgtair point out at me that this might be a socket problem and indeed this part my_socket = socket( AF_INET, SOCK_STREAM, 0 ); will lock up the code because there are no free sockets left. If i wait 10-15 seconds betwe...
by ashairey
Fri Jan 27, 2012 2:47 pm
Forum: DS/DSi Development
Topic: Dswifi works but fails after 7 attempts.
Replies: 13
Views: 18454

Dswifi works but fails after 7 attempts.

Hello, I have made a working server on a pc accepting tcp calls. I've tested the server with a client on another PC and i am able to connect many, many times. I have also made a client on the DS using the httpget example from the latest devkitarm code. This ds client connects en works just fine. But...