Dangerous Prototypes

Other projects => Past projects => Web platform => Topic started by: Scorpia on January 05, 2010, 05:58:53 am

Title: Open Source Fat FS code
Post by: Scorpia on January 05, 2010, 05:58:53 am
I just wanted to post a link for this code so i wouldnt forget where it was.

Also i thought it might be usefull with a couple of projects here

http://elm-chan.org/fsw/ff/00index_e.html (http://elm-chan.org/fsw/ff/00index_e.html)

its a small fat fs code libary that seems to be able to be used with GPL / Open source code.
Title: Re: Open Source Fat FS code
Post by: ian on January 05, 2010, 09:40:58 am
That's great, I'm going to move this to the web platform folder too. Here's DOSFS, a GPL fat file system I'm currently porting to the web platform:

http://www.larwe.com/zws/products/dosfs/index.html (http://www.larwe.com/zws/products/dosfs/index.html)
Title: Re: Open Source Fat FS code
Post by: octal on August 08, 2010, 01:32:46 pm
Hi Ian,
any news about porting DOSFS to webPlatform ?

I tried to use Microchip lib to access the SD on my webplatform, but without success (got a linker error that I cannot figure out how to solve).

My aim is **not** to make a webserver!!!
I'm using WebPlatform as a TCP Client (using DHCP). I used mainly the Tweet example you provide and modified it to call my own server to upload data.
Everything work OK.
Now I want to be able to log data to MicroSD, and when TCP connection is available, I want to upload all data to server using HTTP-GET and URL data passing technique (this choice is imposed by the context I'm working in, so dont ask me why not use FTP or direct TCP ... or TFTP ...).
The main pb I'm facing is when I include the Microchip lib, and activate needed directives to use the lib (with SPI stuff .... I disabled EEprom access), the linker is complaining about FSOpen routine :(
I dont really understand what's happening.
Microchip lib seems to be made mainly to serve as a Webserver pages repository, and I dont need it for that.
Is there any advance with DOSFS port?

Regards
Title: Re: Open Source Fat FS code
Post by: ian on August 08, 2010, 03:31:40 pm
I believe that Trev used DOSFS in his uIP port for the web platform.
Title: Re: Open Source Fat FS code
Post by: dpropicweb on August 09, 2010, 04:55:29 am
Actually, Tony's been doing the uIP port, not me.
Title: Re: Open Source Fat FS code
Post by: ian on August 09, 2010, 07:54:49 am
Ack, you're right, check the posts of user Bonybrown:

http://dangerousprototypes.com/forum/in ... 66#msg5966 (http://dangerousprototypes.com/forum/index.php?topic=605.msg5966#msg5966)
Title: Re: Open Source Fat FS code
Post by: IPenguin on August 10, 2010, 02:42:48 am
DosFS works for me (and Trev) in Bonybrowns uIP code we downloaded from SVN in late June.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01032056160session_write_close ( )...(null):0
20.01062187736ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01062188512Database_MySQL->query( ).../DatabaseHandler.php:119
40.05582327232Database_MySQL->error( ).../Db-mysql.class.php:273