Go Back   Home > Forums > Source & Line > Digital Source

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 3rd May 2010, 07:12 PM   #11
diyAudio Member
 
Join Date: Feb 2010
Location: Surrey
Interesting alternative to that Philips Industrial jobbie. Still cheating though!

Anyone reselling this device that you've found? (I haven't looked yet!)
  Reply With Quote
Old 9th December 2010, 06:25 AM   #12
Tamago is offline Tamago  South Africa
diyAudio Member
 
Join Date: Jan 2010
Location: South Africa
Progress Update 9-12-2010

Due to having a child, and being enrolled in music school I have not done anything electronic related in over a year now. However now that said child is of manageable age, and I've completed my studies, I have revisited this topic.

After being rebuffed by Toshiba re the TC94A29 and with the knowledge that some of the CD patents have expired, I struck gold with a SONY chipset and some info from dark nets (read: p2p networks)

Having the all-important datasheet, and an application circuit, I am now pleased to announce I can design a player from scratch. The DSP does not include a microcontroller, which is a huge problem as far as the TC94A29 is concerned.

There are a couple of issues that arise:

1) The SONY DSP I intend to use, is expensive, it is roughly 24 euros. However you get what you pay for, it can do CD-TEXT and can be set into CD-ROM mode so I envisage that, teamed with a STA013 from ST Microelectronics, we can play back MP3 files in the same player. I will likely design the PC board for this option, but the chip can be omitted and a jumper setting informs the software the STA013 ain't there.

2) I intend to use a commercial microcontroller and a graphics LCD, the programming thereof could be an issue, as I use the semiconductor vendor's toolchains and debuggers which could cost you a fortune especially if used just to build a one-off. I use these things to earn a living so they're my standard toolbox.

3) The parts are not generally available, however here in South Africa, I can get them easily and plentifully from appliance spares outlets using my business account I have with them (I did repairs for many years to earn extra dosh in school) However, like I said previously, they're not cheap, and at over ZAR260 for just the CD-DSP, I'd be very miffed if I had to slip with a scope probe and short the thing out.

4) This thing will be extensively surface mount- a huge problem for many without access to hot air pencils/reflow ovens. I am sorry but through-hole components are getting harder and harder to get and I loathe using them when I can make ultra-compact assemblies using modest 0805 SMD components.

5) An additional component, a CPLD will be needed for glue logic with the STA013, and this will too, need to be programmed with a JEDEC file, meaning more development tools. For the sake of simplicity, this can be omitted, as it will substantially reduce costs.

I am going to try over Dec holidays to lay out a prototype PC board. I will be designing for a standard transport using a KSS-212 series optical pick-up, which are dime a dozen all over the place, and because I have a lot of them in my inventory.

The big trick to this I can see already, is going to be software development, as I will need to figure out how to sequence the DSP correctly to make it play a disc. On the face of it that seems to be the least of my worries, nonetheless, it seems reading the TOC is going to be the difficult one.

Until I am sure about security of supply I will not reveal which Sony DSP I intend using. All I can tell you is, that it is a relatively new device, and my first choice over hard-to-get and fading-into-obsolescence CXD11xx series DSPs
  Reply With Quote
Old 9th December 2010, 09:40 PM   #13
diyAudio Member
 
Join Date: Feb 2003
My Shigaclone is much better than CEC TL51X and a TEAC CD-ROM-based player. Shigaclone is cheap, simple, easy-to-maintain, and great sounding!
__________________
Here's looking at you, kid.
  Reply With Quote
Old 7th May 2011, 02:36 PM   #14
Tamago is offline Tamago  South Africa
diyAudio Member
 
Join Date: Jan 2010
Location: South Africa
I've been relooking at this project. The Sony chips are expensive. Nonetheless I stumbled upon a chip used in a cheap boombox I found in a dime store. It plays MP3 files as well as regular audio. I didn't buy the thing until I was sure what was in there... (been burned twice already, the radios I've bought to hack, and then found I couldn't are piling up here - need to hock them at some stage)

The chip used is the ALi M5671. Extensive searching in Google got me the document I needed to see how the device looks inside at a glance. I found that it uses the common 8051 core (for which I have development tools and then some and have been using all my life since the age of 17) and, get this... the FLASH holding the executable code, sits outside.. so BOING!!! Reprogrammability and hacking is now possible without the pain in the @rse of programming pods. I am willing to bet the serial port has a bootloader listening on it a-la DALLAS DS89C430 in which case I shall modify my trusty serial bootloader I wrote in Delphi some years ago.

I am off to the store now to go and purchase a unit to take apart. I have written a nice letter to ALi asking them about the part and for technical info. I will sign whatever NDA they present, as I do not have to disclose the intenral info to create a saleable product. In any case, a lot of the stuff in that chip is hidden from the programmer, just a bunch of registers just like the Sony chips, which are public domain. With a working program, I can eliminate 100% of the guesswork (stuff like PID coefficients for the servos) and get this done... FAST!

Highlights of the device:
- Internal D/A converter, with external I2S interface (put on your own expensive DAC)
- Internal Servos - just need cheap 1/2 bridge driver IC (BA5496, etc...)
- Internal RF (laser pick-up literally connects directly to the chip, no interfacing)
- Internal DSP, which allows for volume to be adjusted, as well as WMA/MP3 playback
- I/O ports for LCD and push buttons

- Supports CD, CD-R, CD-RW. Can also process CD-TEXT and read CD-ROM

So, ladies and gentlemen, I believe I've found a solution, eventually, after some 18 months.
As for patents... First of all, the CD patents are busy expiring, Second of all I am just using the chip in a bespoke circuit, not violating anyone's patent. Third of all, royalties would likely be due if I used the COMPACT DISC logo anywhere. The solution to that here in South Africa (which is seeing wide adoption) is to drop the logo altogether and use the letters CD in a highly stylized way. I know how patent litigation works, considering I am a patent holder myself...
  Reply With Quote
Old 8th May 2011, 01:25 PM   #15
RIP
 
Join Date: Oct 2005
Location: Central Florida
I'm still lurking and still very interested. I don't see myself ever putting my CD collection on hard drive.

Keep up the good work!

Best, Bill
  Reply With Quote
Old 9th May 2011, 07:53 AM   #16
Tamago is offline Tamago  South Africa
diyAudio Member
 
Join Date: Jan 2010
Location: South Africa
Hi
I just received the SDK (software development kit) for this chip. It came complete with sample code to implement CD playback and a C compiler. The MP3 side of things wasn't included, which I am sure is not important here. MP3 isn't hi-fi anyway.
The device, upon closer inspection, has a DSP doing the MP3 and WMA decoding, in hardware by the looks of things, and is controlled via Programmed I/O and a register file.

I am waiting for the NDA, in order to sign it, and return it to ALi. When that is done I'll be receiving the balance of the documentation from them. I purchased the boombox containing one of these chips, on Saturday afternoon. The serial port has been exposed and located, according to docs I have, it listens for serial commands, just like the Dallas DS98C430. So we have a winner for sure.

The first step I will do this week, is to dump the original firmware so I have a reference point to work from.

For all development, I will use the internal DAC. I can output I2S to an external DAC or S/PDIF if I need to.

What I need to know is, what kind of jitter performance do you guys expect out of this? In digital circuitry, jitter is traceable to the clock sources. The boombox uses a cheap ceramic resonator which is +/-5% either side of fundamental clock frequency, which is pretty bad for hi-fi applications. Of course, using a good quality quartz crystal would be essential. I can have those made to my spec, and in sample qty cheaply and in 3 working days.

I still plan to employ a Noritake VFD graphics display in this project. It is expensive, but, other options do include graphics LCD displays. It all depends on what, you, the clients, want.
  Reply With Quote
Old 9th May 2011, 06:28 PM   #17
diyAudio Member
 
Andersonix's Avatar
 
Join Date: Jan 2004
Location: Silicon Valley
For controls and display, can you use this?
The LCDuino-1 Display I/O Processor
  Reply With Quote
Old 11th May 2011, 10:53 AM   #18
Tamago is offline Tamago  South Africa
diyAudio Member
 
Join Date: Jan 2010
Location: South Africa
Yes indeed, although I did plan to implement a UI directly from the M5671's CPU and I/O ports.

I've managed to find stock of the IC I plan to use, locally.. Cost is sub USD 7 each. I've just bought all the local stock of about 10 pcs. More is on the way...

Datasheet.... Check
Boombox that uses the device.... Check
Sample Software Project (found out yesterday its for Keil uVision).... Check
Keil uVision C Compiler... Check
In-circuit programmer software MTKFlasher... Check (was able to dump the FLASH... busy pushing that through a disassembler as we speak)
M5671 User's Manual... In Progress (having difficulty dealing with the Taiwanese... suspect language barrier is a problem. Will rewrite my request in Chinese and see if that helps). I need the user's manual to know what the registers inside the M5671 do.

This weekend, I hope to get the traditional "hello, world" test up and running, to confirm the C compiler works as the in-system programmer is fine.
  Reply With Quote
Old 11th May 2011, 01:47 PM   #19
Tamago is offline Tamago  South Africa
diyAudio Member
 
Join Date: Jan 2010
Location: South Africa
Further Updates (5/11/11)

Compiled "sample" software project intended to implement a car stereo, in Keil uVision...SUCCESS
Had a look at the software, it is rather complicated. While I can see all the function calls to do stuff like 'laser on', 'lens down', 'focus OK' and especially interesting stuff as how the CD-ROM is processed (using linear buffers and scanning for CDFS markers, pretty much the same way one would do it with ATAPI and a CD-ROM drive).

Also found the code to drive the LCD on the car radio, although in this case the LCD definitely does NOT match the one in the boombox.

Found various conditional compiles for various types of laser pick-up (Sony, Samsung, Sanyo)

Found code that supports reading USB memory stick via a CH3xxx USB HOST IC, but its disabled using conditional compiles.

Found code that does the CD-TEXT function... basically builds text into a buffer by extracting it from subcodes.

MP3 decoding is just like using the STA013, its a black box you feed with data coming from the CD DECODER block. It is used remarkably similar too... also has patch registers that need to be loaded with values before it will work. Since this is intended for HI-FI I am not going to use this feature. However, since this chip is much cheaper than the STA013, it can be pressed into service as a standalone MP3 decoder reading from Flash Drive.
  Reply With Quote
Old 11th May 2011, 01:57 PM   #20
diyAudio Member
 
Join Date: Mar 2008
Quote:
Originally Posted by DrRick View Post
I would be VERY interested in this project!

Please let us know how you are doing on it.

Thanks in advance.

Rick, please get in touch with me re the Shigaclone that was sent to you that you graciously offered to do some work on.

It was sent to you on 26th January and I've had NO COMMUNICATION from you since 22nd March, getting on for two months ago.

You were on this site last night so I KNOW you have read the many messages I've sent to you about it.
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CD PRO 2 - The making of a high end CD Transport Peter Daniel Digital Source 439 12th January 2010 08:09 PM
Wanted: Leftover DAC from an upgraded CD player, or CD player with broken transport. Spasticteapot Swap Meet 0 7th October 2006 08:12 PM
CD Player vs. CD Transport using CD-PRO2 module tomchaoda Digital Source 27 22nd May 2004 08:29 AM
CD-ROM as a CD Transport ruangrit Digital Source 4 29th April 2003 01:34 PM


New To Site? Need Help?

All times are GMT. The time now is 05:49 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2