> I just wanted to point out that there's an Atmel that has built-in USB
> (device) and mp3 decoder and a good amount of CPU power. You can find it on
> their website.
>
> On 2/21/06, Philip Pemberton <
RemoveMEphilpemTakeThisOuT
dsl.pipex.com> wrote:
>>
>> In message <
>>
spamBeGone54179.12.38.198.125.1140538680.squirrelspamBeGone
webmail.saturn.lunarpages.com>
>
>> "Mario Mendes Jr." <TakeThisOuTmarioEraseME
spam_OUTmmendes.com> wrote:
>>
>> > Wow, I'm [was] going through the same thing. I even got an 18f4550 to
>> read
>> > and write to the hdd (with and without an 8255) but gave up when I had
>> to come
>> > up with a way to do dynamic memory management and had to learn yet one
>> more
>> > thing, how to build a dram controller with a cpld or the like.
>>
>> Here's how I'm doing it:
>>
>> [ Samsung LTS180S3-HF1 TFT LCD ]
>> |
>> [ 16Fsomething ]-----------[ ColdFire CPU ]------*----[ Laptop hard drive
>> ]
>> | | | |
>> [ Switches, PSU ] [ Wolfson WM8731 CODEC ] +---[ 18F4550 ]---[ USB ]
>> [ and battery ] |
>> [ management ] [ Headphones ]
>>
>>
>> The 16F links the low-level UI components to the ColdFire via I2C (or
>> maybe
>> SPI). It also manages the power supply sequencing and interrogates the
>> battery's charge gauge IC.
>>
>> The ColdFire is an SCF5250, which has an onboard sound codec. Feed it
>> audio
>> data, and it serialises it and feeds it to the DAC automagically. It also
>> has
>> (IIRC) onboard SPI and I2C, which is used not only to communicate with the
>> 16F, but also to control the CODEC (volume, recording mode, etc.)
>>
>> When the USB cable is connected, the 4550 powers up and immediately
>> signals
>> the ColdFire to ask it to release the ATA bus. Where possible, the
>> ColdFire
>> releases the bus, disables the buffer and passes control over to the 4550.
>> The 4550 then enables its I/O lines, probes the hard drive and enables the
>> USB controller. This stops the contents of the drive changing while the
>> Coldfire is reading from the disc. I might run the "negotiation" section
>> through the 16F - if only so I can add USB battery charging via a Maxim
>> MAX1811 chip. Charging a 2Ah lithium-ion cell at 100mA might take a while
>> though, so I'll probably add a socket for a 1A 5V AC adapter too.
>>
>> Did I mention the ColdFire has an onboard SDRAM controller? Oh yes. Wire
>> it
>> straight to the SDRAM and watch the fun.
>>
>> The big reason I want to build the player is because I'm getting sick of
>> swapping minidiscs. "Hmm, I fancy a bit of Bon Jovi this morning... DAMN!
>> That's on the MD I left on the kitchen table!"
>>
>> Plus I can't find any nice players that support Ogg files. It's all MP3
>> and
>> WMA and AAC. Sure, I like the iPod, but I don't like having to transcode
>> (or
>> re-rip) my music to MP3 or AAC to play it -- nearly all the stuff on my PC
>> is
>> in Ogg format.
>>
>> Firmware-wise, I'm going to port Rockbox - <
http://www.rockbox.org/>. Some
>> of
>> the iAudio hardware is similar to my design, so most of it can be ported
>> over
>> and the memory map tweaked. All I really need to write is the LCD/HID
>> driver.
>>
>> > I guess it is true what they say, "don't pick a project too big when you
>> first
>> > start" =)
>>
>> :P
>>
>> > I do love the "I built it from scratch myself" pride factor though. So
>> I keep
>> > on building things that I have no real need for, but they're still neat
>> =)
>>
>> The big problem at the moment is finding a small hard drive. I'll probably
>> just make the whole thing the same sort of size as a 2.5" HDD and say to
>> hell
>> with the size. As long as it fits in my (rather large) coat pocket, I
>> don't
>> much care.
>>
>> Like I said, I can get Flash and SDRAM chips from Farnell. The big problem
>> is going to be getting my mitts on some suitable clock crystals to drive
>> the
>> CPU and CODEC (the latter is more critical). I can use either an
>> 11.2896MHz
>> or 16.9344MHz parallel-resonant fundamental-mode crystal for the CODEC,
>> but
>> I'm not sure about the CPU yet.
>>
>> Comments?
>>
>> Thanks.
>> --
>> Phil. | Kitsune: Acorn RiscPC SA202 64M+6G
>> ViewFinder
>>
RemoveMEphilpem
TakeThisOuTdsl.pipex.com | Cheetah: Athlon64 3200+ A8VDeluxeV2
>> 512M+100G
>>
http://www.philpem.me.uk/ | Tiger: Toshiba SatPro4600 Celeron700
>> 256M+40G
>> ... Don't use a big word where a diminutive one will suffice.