Project idea, Filesharing on an AVR

Go To Last Post
11 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello everyone,

Filesharing protocols such as bittorrent, emule, kazaa are quite popular and work well.

How feasible would it be to get one of those filesharing protocols running on an AVR? IP/TCP stacks don't need to be written, neither are the filesharing protocols. Making it work in an AVR would be an eye opener.

My question is, has anyone done this already? Or is planning to do this? :wink:

//Steven

MY MICROCONTROLLER CAN BEAT THE HELL OUT OF YOUR MICROCONTROLLER /ATMEL

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

IMHO:
Weeell, it's not what's possible, it's what's wise.
Connecting a AVR to a SDcard/HDD has been done, also TCP/IP has been done, but this is more of a job for ARM/AVR32. Filesharing requires quite an amount of RAM just for connecting to one peer. Maybe several AVRs might do the job. And the amount of coding without an OS...someone would go postal.

If you need something small, lowpower to do yuoor torrents for you either hack a inteligent router (soem run under linux and have ARMs inside) or http://www.acmesystems.it/?id=4 .

But what's wrong with a PC? Or a server with geode?

There are pointy haired bald people.
Time flies when you have a bad prescaler selected.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Not to mention that even if you only had one person connecting at a time (which kinda defeats the purpose of file sharing system in the first place) you would have ridiculously slow download speeds. The AVR doesn't have enough RAM or speed to efficiently read data from the card over SPI and transfer it out the ethernet port.

Clancy _________________ Step 1: RTFM Step 2: RTFF (Forums) Step 3: RTFG (Google) Step 4: Post

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Get an ARM, get Linux, job done.

Cliff

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I completely agree with Cliff. In fact, that actually might be an interesting product! I could imagine a little box attached to a NAS.

Go electric!
Happy electric car owner / builder

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Except that (unless you have completely unlimited ADSL) why would you want to only give without receiving? The whole point of peer to peer is that you give something back for having got something yourself.

cliff

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

cliff: Well, having a PC turned on 24/7 is a wee bit power consuming. There are disks with Ethernet (well actually it's an embembed server with a gazilion functions) which serve the purpose of a network disk without the server. The OP could hack them or add a function and download/upload at the time his PC is not on.

But ceratinly not with an AVR

There are pointy haired bald people.
Time flies when you have a bad prescaler selected.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Im fully aware of NAS solutions.

And Im also aware current NAS devices use ARM's with a lean linux on it.

The amount of cheap ARM's is taking the fun away from trying to make such things work on a AVR/MCU :roll:

MY MICROCONTROLLER CAN BEAT THE HELL OUT OF YOUR MICROCONTROLLER /ATMEL

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Max,

I dare say it's possible to fell a pine tree using a nail file but personally I'd go for the chainsaw every time myself!

(point being: choose the right tool for the right job)

Cliff

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

And if you want to show that it can be done
using a nail file......
(wow, do you have that time and
that enthusiasm ?)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Point taken 8)

MY MICROCONTROLLER CAN BEAT THE HELL OUT OF YOUR MICROCONTROLLER /ATMEL