None of those chips have the memory needed to fully parse the directory structure of those things.... (At least not in PBasic or SX/B. Maybe the Java version on the Javelin can do it, and probably Spin, too, but it'll be slow, cumbersome and messy.)
If you need storage, either go for larger EEPROMS, or look at one of the many SD-card adapters available. Some of these even have a dedicated processor to help with handling the FAT file-system.
There are a couple of threads in the Propeller forum...
(too lazy to search them out right now)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't visit my new website...
·· A simple control interface could possibly be realized using the SX or the Propeller.· You might be able to implent simple control on the IDE stuff, but not the SATA devices.· You could start by opening the CD Tray and closing it on the CD-ROM Drives.·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Chris Savage Parallax Tech Support csavage@parallax.com
Mmmm.... somewhere around here I've got a board with either an AVR or PIC (can't remember) that could read & write to an IDE HDD... from EDTP, IIRC...
But, anyway - IDE is not that hard to do. Heck, folks even have it on TRS80s, C64s, and Apple ][noparse][[/noparse]s... IIRC, basically, it requires 8 bidirectional data lines (yes, this does leave 1/2 the drive unused), and 5 control lines (3 address, 1 write, 1 read). The command protocol is well documented.
Google for ATA and IDE specifications, you'll find lots of info...
As for SATA - I haven't got a clue, but would tend to suspect that it would require a dedicated chip...
Correct, that's what i was getting at...Controlling the drive itself is relatively easy.· It's trying to read/implement the file system that can be a daunting task with a lot of overhead requirements.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Chris Savage Parallax Tech Support csavage@parallax.com
Comments
·· I have interfaced all of the above to my PC at home.·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
DOH! I mean to a BS2, Javelin, SX, or Pchip.
None of those chips have the memory needed to fully parse the directory structure of those things.... (At least not in PBasic or SX/B. Maybe the Java version on the Javelin can do it, and probably Spin, too, but it'll be slow, cumbersome and messy.)
If you need storage, either go for larger EEPROMS, or look at one of the many SD-card adapters available. Some of these even have a dedicated processor to help with handling the FAT file-system.
There are a couple of threads in the Propeller forum...
(too lazy to search them out right now)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't visit my new website...
·· A simple control interface could possibly be realized using the SX or the Propeller.· You might be able to implent simple control on the IDE stuff, but not the SATA devices.· You could start by opening the CD Tray and closing it on the CD-ROM Drives.·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
But, anyway - IDE is not that hard to do. Heck, folks even have it on TRS80s, C64s, and Apple ][noparse][[/noparse]s... IIRC, basically, it requires 8 bidirectional data lines (yes, this does leave 1/2 the drive unused), and 5 control lines (3 address, 1 write, 1 read). The command protocol is well documented.
Google for ATA and IDE specifications, you'll find lots of info...
As for SATA - I haven't got a clue, but would tend to suspect that it would require a dedicated chip...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com