View Single Post
Old 02-19-2009, 12:52 PM   #235
darkbane
 
Join Date: Jan 2009
Posts: 16
@Castor

Hi
Sorry for the delay, here's a quick and incomplete guide I wrote to help you and everybody else that has a DTP4000:

Experimental SERIAL port control for SCSI DTP1000/4000
Written by Daevon (ilgrancaliffo -at- hotmail.com)
Version 0.2 18 Feb 2009

1) The HARDWARE
Since the SCSI DTP1000/4000 use a proprietary driver to send commands to the control board and since this driver won't work on machines other than Win 9x, NT4 and Windows 2000, the solutions to continue using it on newer machines are either
- Putting up a windows 2000 machine with a SCSI interface and use the rimage drivers
- connect the serial debug connector on the mainboard to a serial-equipped pc (any OS) and use the drives standalone (either the native scsi ones with a proper controller or newer, even dvd, units, connected with ESATA (preferred), or USB/Firewire to ATA/SATA. This is the way I'm going to cover.

To access the DTP main board you have to slightly unscrew the two screws on the top-right of the unit. Remove the side panel. You'll see the board in the lower left corner, with the scsi cable connected to it.

Looking at the main board, at the top there's an unused 5 pin connector named J13 that looks like this:



J13 5_/////_1



If you're lucky and it is still there, you can re-use the printer cable connector: it goes from the back of the unit (near the 3 scsi ports) to the lower part of the mainboards. It has 6 pins, but it will fit nicely on the serial one.. of course you'll need some basic soldering skill.

Connect the pins this way:


J13 Connector-> Female DB9
1-------------->2
2-------------->3
3-------------->4
4-------------->Not Connected
5-------------->5


Now you should have a working serial connection.

2) THE SOFTWARE
Once you have hooked it, open your favorite terminal program (I suggest PUTTY) and configure it to the appropriate COM port with the following settings:


COMx (The serial port your DTP is connected to)
19200 Speed
8 Bits
N No parity
1 Bit stop
P Hardware parity or no parity at all.


Power on your unit, you should read some (brief) test, like:

Firmware revision 4.0A

The basic commands are:


MD ----> Move Picker all the way down
MDxxx -> where xxx are hex values from 1 to 2000 (dec 1 to 8192) moves the picker downwards by the specified amount eg. MD88C
MU ----> same as MD, but upwards.
MUxxx -> same as MDxxx, but upwards.
MH ----> Moves the picker to the topmost (home) position
OI ----> Open lower drawer (ie, switch to the second position)
CI ----> Close lower drawer
OI ----> Open Reject drawer
CI ----> Close Reject drawer
P -----> Drops the CD (WARNING: ISSUE A "R" IMMEDIATELY AFTERWARDS! See notes)
R -----> Returns the picker hand to the normal position


(If you happen to discover some other command,like the one that senses it the picker has a disk, please let me know!)

EXAMPLE: To pick up a cd, simply issue an MD command,wait for the arm to reach the lowemost position, then issue an MU200. Your picker should have a cd now!

*blooper**blooper**blooper*You need to wait for each command to complete before issuing the following one, or it will get ignored. Since there are no return codes on the SCSI units, you simply have to look at the unit and wait for the issued command to complete

EXAMPLE: Now try to issue an MH, followed by an OR, P, R, DR.
If everything is working correctly, the CD it has picked before will be dropped in the reject drawer and the drawer will close.


3) MISC FINDINGS
a)The range of the picker seems to be around 6800 (1A90 hex). IE: It will go from 0 (home) to touching the lower cassette if you issue an:

MD1A90

b)The picker is not very precise at all.
ie: if you input:
MDFF
MDFF
MDFF
MDFF
MDFF
MDFF
MDFF
MDFF
MU800
(wich means: go down eight times by 256, then go up by 2048, wich is exactly 256x8) it WON'T return to the same position it started in. It will be close enough tho.

4) THANKS to:
Bhoar (Brendan) at the dbpoweramp forum for the IMMENSE help he gave me: without him this guide would not have been possible.

The guys (and gals!) at the dbpoweramp forum for sharing their findings and wisdom

This guide is an early attemp at reverting an old DTP4000 to functionality. It most likely full of errors, mistakes, misconceptions and so on... please bear with me and if you have more detailed infos.. share them!

Btw, I take absolutely no responsability if your DTP makes an horrible death based on what you did read here..

Now Have fun with your DTP unit!
-Daevon
darkbane is offline   Reply With Quote