Go Back   Home > Forums > Source & Line > Digital Source
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

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 11th July 2006, 12:47 PM   #671
Lucifix is offline Lucifix  Europe
diyAudio Member
 
Join Date: Nov 2004
Location: Suceava
Send a message via AIM to Lucifix Send a message via MSN to Lucifix Send a message via Yahoo to Lucifix
Quote:
thank you but I need also the code to initialize the ide/ata device
Sorry for late, ... please be more specific about that. In my firmware, all the initializations that I made... was for uC ports, pins and other pheripherals but no one regarding ATA / ATAPI... like I said... be more specific and I'll help you.
__________________
www.luckit.biz
"The Universe speaks in many languages but only one voice.[...]It speaks in the language of hope. It speaks in the language of trust. It speaks in the language of strength and the language of compassion. It is the language of the heart and the language of the soul. But always it is the same voice. It is the voice of our ancestors speaking through us and the voice of our inheritors waiting to be born. It is the small, still voice that says: we are one!" (G'Kar)
  Reply With Quote
Old 11th July 2006, 01:18 PM   #672
diyAudio Member
 
Join Date: Feb 2003
Location: GTA
Quote:
all the initializations that I made... was for uC ports, pins and other pheripherals but no one regarding ATA / ATAPI...
Really?,
your code differs from all the other available examples that much?

So what are the first commands you send to the CDROM?

Dave
__________________
intentionally blank
  Reply With Quote
Old 11th July 2006, 03:28 PM   #673
Lucifix is offline Lucifix  Europe
diyAudio Member
 
Join Date: Nov 2004
Location: Suceava
Send a message via AIM to Lucifix Send a message via MSN to Lucifix Send a message via Yahoo to Lucifix
Hello Dave,
in my therms, 'initialization' is similar to that made for LCDs at startup or DSA Modules, when you tell them how to configure DACs or other pheripherals to work properly or accordingly to your needs, etc... About the first command... (in my actual version of firmware) is 'Inquiry' (0x12) to see if it's any device connected on ata bus and then those commands related to Read-TOC. I apologies for this disagreement and i'm sure that my code is very similar to yours regarding Ata / Atapi.
__________________
www.luckit.biz
"The Universe speaks in many languages but only one voice.[...]It speaks in the language of hope. It speaks in the language of trust. It speaks in the language of strength and the language of compassion. It is the language of the heart and the language of the soul. But always it is the same voice. It is the voice of our ancestors speaking through us and the voice of our inheritors waiting to be born. It is the small, still voice that says: we are one!" (G'Kar)
  Reply With Quote
Old 17th July 2006, 12:38 PM   #674
metaxus is offline metaxus  Australia
diyAudio Member
 
metaxus's Avatar
 
Join Date: Sep 2004
Location: Melbourne, Australia
My Pradit kit arrived today.

Shown here as a sneak preview

The drive I'm using has a Philips mech, and the PCB has SPDIF out that conforms to specs (not +5V).

Now it's time to decide - SMPS or Transformer PSU, and how do I design the case. I like the idea of top loading, but this drive seems to work perfectly well (not to mention feels very solid) as a tray loader.

Click the image to open in full size.

The Samsung VFD is very sexy, so I'm planning on changing all the displays within the program to look nicer. Big appreciation to pradit_p for using a socket to attach the MCU to the board.

Stay tuned for more!
  Reply With Quote
Old 19th July 2006, 12:04 PM   #675
diyAudio Member
 
Join Date: Jun 2003
Location: Croatia
Quote:
Originally posted by metaxus

The drive I'm using has a Philips mech, and the PCB has SPDIF out that conforms to specs (not +5V).
In CD-ROM with Philips mech (Philips, BTC...) the DAC chip is separated from DSP, so try to find LRCK/BCK/DATA lines (look to DSP or DAC datasheet) on the board and connect it with TDA1543/TDA1543A (check format I2S/S format in DAC datasheet). No need for SPDIF.

Regards,
Josip
  Reply With Quote
Old 29th July 2006, 02:41 PM   #676
pmonti is offline pmonti  Argentina
diyAudio Member
 
Join Date: Mar 2005
Location: Bs.As.
Default Purchase kit

Please, somebody can tellme where y can purchase one controler kit. Tks and best regards...
  Reply With Quote
Old 29th July 2006, 03:15 PM   #677
john65b is offline john65b  United States
diyAudio Member
 
john65b's Avatar
 
Join Date: Jan 2005
Location: Chicago
As far as a simple power supply for 12V/5V, I used a 19V 3A laptop power supply and regulated the voltage down to 12V and 5V with an LM317. Works fine for my SAmsung 52x CD Rom and controller (non Pradit type)...

The only thing I dislike is the CD 52x Spin NOISE...irratating as hell...but a nice quiet enclosure will definitely help...
  Reply With Quote
Old 30th July 2006, 02:14 PM   #678
diyAudio Member
 
Join Date: Feb 2003
Location: GTA
Default Re: Purchase kit

Quote:
Originally posted by pmonti
Please, somebody can tellme where y can purchase one controler kit. Tks and best regards...
Find pradit_p thread in the for sale forum
or
lulproz and luucifix's fine work
http://www.audiokit.ro/cdrom.html
nice new website guys

lucifix - no need for apologies- its all fun!



Dave
__________________
intentionally blank
  Reply With Quote
Old 30th July 2006, 02:20 PM   #679
diyAudio Member
 
Join Date: Feb 2003
Location: GTA
Quote:
Originally posted by john65b
As far as a simple power supply for 12V/5V, I used a 19V 3A laptop power supply and regulated the voltage down to 12V and 5V with an LM317. Works fine for my SAmsung 52x CD Rom and controller (non Pradit type)...
For testing I use any old PC supply , doesn't seem to need a working fan at that current draw.
__________________
intentionally blank
  Reply With Quote
Old 14th August 2006, 10:29 AM   #680
Lucifix is offline Lucifix  Europe
diyAudio Member
 
Join Date: Nov 2004
Location: Suceava
Send a message via AIM to Lucifix Send a message via MSN to Lucifix Send a message via Yahoo to Lucifix
To Dave:
I just want to say that I don't work for lupulroz anymore... so, there is Not our site and didn't was/is 'lulproz and luucifix's fine work'... it's just 'luucifix' .
I see that he give the source code (Intel Hex) for his CD/DVD-Rom controller kit. Before you enjoy that you should probably know that it is one of the oldest versions that I made (a few years ago ~ 2003) for PIC16F877 microcontroller (which memory is partitioned in 4 Banks.. very unuseful for C coding) and it was build around SFF8020i.pdf ATA/ATAPI interface specifications ( - in time I discovered that is full of bugs - see web for that). From independent reasons of my will I was forced to release a 'final' version and later I was blamed for that: the software doesn't work properly and/or easely crashes.
Some examples:
- the presence of the dot-matrix display is mandatory as the system will not initialize without it... of course! because first of all, software try to Init the lcd (4 data lines, clear LCD, Goto first character)... so if there is no LCD connected, firmware will wait for response ... indefinitely
- due to power glitches, noise and internal timings, some Displays (especially PLEDs) not respond to commands accordingly and firmware doesn't have timeout to process that type of errors
- sometimes firmware crashes at the end of CD (when reaches Lead-Out) in 'Playing', 'Paused' (and other ??) Modes,
- often displays 'STOPPED' even the user didn't give the STOP command,
- 5V Supply is insufficient to power the CD-ROM, uC and pheripherals (including LCD Backlight)... when this is happening (CD Spin Up or Read-TOC) the microcontroller is instable or execute Reset Conditions (internal.. form BrownOut or external.. given by Reset circuit).
- I didn't have time to test / debug this software completely so it didn't work on some drives.
- Too few ATA/ATAPI error processing rutines.
- ... and more... which I only see.
Sorry for that Dave, but in my opinion it is FAR AWAY from a "fine work".
To ALL: Use it at your own risk! In addition to that hex... soon I'll give to you schematics and firmware for the same application but works with PIC18F452 (minor modification in software... same bugs, more flexibility) .
Best coding to all!
P.S. I don't want to be impolite... but all that I say refer to this application Only.
__________________
www.luckit.biz
"The Universe speaks in many languages but only one voice.[...]It speaks in the language of hope. It speaks in the language of trust. It speaks in the language of strength and the language of compassion. It is the language of the heart and the language of the soul. But always it is the same voice. It is the voice of our ancestors speaking through us and the voice of our inheritors waiting to be born. It is the small, still voice that says: we are one!" (G'Kar)
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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



New To Site? Need Help?

All times are GMT. The time now is 09:14 PM.

Page generated in 0.11887 seconds (79.87% PHP - 20.13% MySQL) with 11 queries

Copyright ©1999-2012 diyAudio