electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Harddisk (ATA) To Ethernet converter / emulator


Post new topic  Reply to topic    EDAboard.com Forum Index -> Hobby Circuits and Small Projects Problems -> Harddisk (ATA) To Ethernet converter / emulator
Author Message
kyndal



Joined: 16 Feb 2003
Posts: 62


Post27 Apr 2003 12:53   

ide to ethernet converter


Hi all..

i just had this crazy idea!
i have this m3po mp3 player.. and i would reallt like to have it play mp3's
from my server, insted of the internal harddrive..
so how about making a IDE emulator that plugs in, insted og the harddrive,
this emulator then emulates harddrive for the m3po. and gets the data from network..

is this at all posible.. is it done?
Any ideas!

/Rune Kyndal
Back to top
dainis



Joined: 15 May 2001
Posts: 1451
Helped: 56


Post27 Apr 2003 13:28   

ide emulator ethernet


More simple and real is making new network (Ethernet and TCP/IP) baset MP3 player .... Smile
Back to top
kyndal



Joined: 16 Feb 2003
Posts: 62


Post27 Apr 2003 17:23   

project ethernet hard disk


Yes ofcource.. But it is not just that..
the whole idea, og emulation an harddrive through network, could be used in many cases!!

it could even be a CF card! then i can take pics with my digicam,
directly to my server! Smile..

but the networking of "old" ide based units, would be verry smart.


there are many projects conserning for instance a pic16f877
where harddrives and cdroms have been connected.
and also network cards..
so the knowledge is probally out there!

/Kyndal
Back to top
dainis



Joined: 15 May 2001
Posts: 1451
Helped: 56


Post27 Apr 2003 18:52   

ata emulator


Connecting any IDE device to CPU is easy, but making IDE device emulation with network protocol stack and network data maping to IDE sectors, not easy ...
Back to top
silvio



Joined: 31 Dec 2001
Posts: 801
Helped: 90


Post27 Apr 2003 20:29   

atmega32 hdd mp3


Hi kyndal,

If you will follow the posts wrote by dainis overall this forum you will find the most pertinent advices regarding network. The present idea it's not exception from the rule above.

However, if you're eager enough and willing to spend some time on subject (I mean more than a crazy idea) you can buy a ready made PCB as you can see in attached picture. It's true that the board has been developed with other purpose in mind but you can reverse the direction at ATA conector and attach there your cable from mp3 player, then use 64K X 16 for buffering of data which is coming from network via RTL8019 controler and make the mp3 player thinks it's a hard drive attach.
Obvious, you must rewrite all the code for ATMega 128 micro.
You can find more about here: http://www.edtp.com/ata.htm
It's a big chalenge. I don't say you will succeed 100 % due to the bus lattency and cache efficiency. Maybe you'll need to switch to 100M ethernet chip.
I don't know because I hadn't tried before. But it's better than nothing.

Harddisk (ATA) To Ethernet converter / emulator
Back to top
dainis



Joined: 15 May 2001
Posts: 1451
Helped: 56


Post27 Apr 2003 21:48   


[quote="silvio"]
It's true that the board has been developed with other purpose in mind but you can reverse the direction at ATA conector and attach there your cable from mp3 player

[quote]

Hi Silvio,

I wrote that connect IDE drive to CPU and network not problem, and
if can found many designs on internet, but "reverse direction of ATA conector" not easy, you need use special controller IC from HDD or PFGA for ATA high speed emulation ....
Back to top
silvio



Joined: 31 Dec 2001
Posts: 801
Helped: 90


Post28 Apr 2003 1:13   


Hi dainis,

You are right for high speed emulation.
I've searched a little and found that most of mp3 player fitted with HDD as storage media, don't take full use of IDE and ATA features. Hence, I still believe that for this kind of application, and only for this, you can still do "reverse direction of ATA conector" in one word, emulation.
But, like you mentioned above, real high speed emulation it's not possible without using special controller IC from HDD or FPGA. Thus, the kyndal's presumption that emulation an harddrive through network, could be used in many cases it's not full sustained by the emulation I'm talking above as still possible. He still needs those circuits mentioned by you and another design approach.

I agree with you that more simple and real is making new network (ethernet and TCP/IP) based MP3 player, rather than maping IDE sectors through network.
Really madness. Less headache if the complete files are brought in the local cache and fed to mp3 core.
The only concerned is accessing the network and if the privileges are granted, to extract the required mp3 file.
Yes, this design approach is much more viable.

silvio
Back to top
silvio



Joined: 31 Dec 2001
Posts: 801
Helped: 90


Post28 Apr 2003 9:50   


Hi kyndal,

Do you know how HDD is driven inside your mp3po mp3 player ?
It follows a FAT 16 or 32 file systems ? That means it can be pulled out from the box, loaded in PC and then fited again.
Or HDD storage data it's nothing else than a continuos stream of bytes spreaded around sectors and accessed in proprietary format inside your mp3o mp3 player ?
This way you have non amovible storage device that could be loaded from PC only through ordinary external bus: USB, ethernet, paralell, serial.... as provided by the manufacturer.
I'm telling you these things because I didn't find any TerraTec mp3po mp3 player working with a HDD. Only CD Rom device. And you're talking about HDD emulation not specific ATA Atapi.

Silvio
Back to top
dainis



Joined: 15 May 2001
Posts: 1451
Helped: 56


Post28 Apr 2003 10:00   


I found this:
http://www.m3po.net/_eng/index_eng.html
http://www.m3po.net/_eng/details.html

But there’s more: in addition to the CD drive already installed, a conventional IDE hard disk can be easily retrofitted!* You can copy over compressed audio files and their playlists to the hard disk. Considering that a 30 GB HDD contains more than 546 hours (or 3 weeks!) of music, TerraTec’s m3po could mean the sudden end to any need for space in your CD rack! Wink
Back to top
Google
AdSense
Google Adsense




Post28 Apr 2003 10:00   

Ads




Back to top
silvio



Joined: 31 Dec 2001
Posts: 801
Helped: 90


Post28 Apr 2003 10:38   


Yep,

As expected to hear, the file format is compatible to ISO9660/Joliet and Fat 16/32 file systems.
I give up on emulation since I can't compete with Hitachi SH703x; 32Bit RISC engine. It's a strong horse and I'm small donkey riding by a fat jockey (I call this the HDD)

Silvio
Back to top
kyndal



Joined: 16 Feb 2003
Posts: 62


Post28 Apr 2003 12:10   


Yes. as mentioned, i have already fitted a harddrive in my m3po..
i have even fitted in, a removable harddrive "rack" so it only takes a few minutes to do a turnaround refil of the disk...

but i would rather have my 120gb disk in the server so the files are avaible all over!

and yes the drive is formatted with FAT..

the m3po board also have an onboard serialport connector, for factory debugging..
maby i could rewrite the code to have a streaming from serialport posibility somehow....

and acording to realtime emulation and the ATA.. Well speed is not realy that important. as we only need to play mp3's (for this mp3 project anyway).

and last!!
for this project it is principle only nessesary to emulate.. say 10 mb harddrive..
the m3po can play playlistes aswell..
so the emulating microprocessor just takes care of copying the files, one at a time, acording to the playliste somehow?
this ofcource makes it dificoult to change song realtime..
but then a 16mb CF card can be used as "buffer" og som RAM?

/Rune Kyndal
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Hobby Circuits and Small Projects Problems -> Harddisk (ATA) To Ethernet converter / emulator
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
FPGA( cyclone II) as ATA harddisk host controller (2)
Jtag Emulator USB vs parallel with converter (2)
Ethernet to E1 converter (6)
Ethernet/Serial Converter (6)
serial to ethernet converter. (1)
ethernet to wireless converter (1)
USB to Ethernet Converter (1)
Serial to Ethernet converter..... (6)
rs232 to converter ethernet (2)
SERIAL TO ETHERNET CONVERTER (3)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS