🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.electronics.design
Article #2736

Currently developing a driver to a CDRW drive in an embedded system. Need help.

#2736
From: LRCR
Date: Wed, 26 Apr 2006 23:09
25 lines
2744 bytes
I am currently developing a driver to a CDRW drive in an embedded
system. I am currently having problems with new CDRW drives accepting
any packet commands. (The ATA commands are handled.) The
initialization sequence that I am using is as follows:

1) Hardware reset (Delay 10 seconds after reset is released.)

2) Software reset - setting then clearing the SRST bit in the Device
control register 

3) Identify Packet Device command (code A1) followed by reading the
256 words of device information.

(I have verified that all of the timing is correct.)

This sequence has been successful in pre 2004 CDRW drives (TEAC
CD-W552D, SONY CRX230AD). However, in newer CDRW drives (TEAC
CD-W552GB, SONY CRX230AD) as soon as I set the command register for a
PACKET COMMAND (command code A0), the check (or error) bit is set in
the status register and the error register indicates a sense code of
06. Is there an additional initialization step that I am missing? I
have gone through the ATA/ATAPI 5 Spec and have not found anything
that I am missing. 

Chris
Technical Details
Message-ID: <cuuv42hu63dcesqfisbb82nhggfkj67enr@4ax.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 112d1e,577574a65e145387,start
X-Google-Thread: fe99a,577574a65e145387,start
X-Google-Thread: 1118be,577574a65e145387,start
X-Google-Thread: f849b,577574a65e145387,start
X-Google-Thread: 10228c,577574a65e145387,start
X-Google-Thread: 10d137,577574a65e145387,start
X-Google-Thread: ff6c9,577574a65e145387,start
X-Google-Attributes: gid112d1e,gidfe99a,gid1118be,gidf849b,gid10228c,gid10d137,gidff6c9,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 26 Apr 2006 18:09:36 -0500
From: LRCR <xyz@ix.netcom.com>
Newsgroups: sci.electronics.design,sci.electronics,alt.electronics,sci.electronics.components,comp.arch.embedded,codewarrior.embedded,alt.engineering.electrical,alt.cd-rom
Subject: Currently developing a driver to a CDRW drive in an embedded system.  Need help.
Date: Wed, 26 Apr 2006 19:09:30 -0400
Message-ID: <cuuv42hu63dcesqfisbb82nhggfkj67enr@4ax.com>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 25
X-Trace: sv3-nw4cK41fpMSnuMA98Np5nQftwsZ4oSKr5JtdEHD82n/GGzedqGcsPEHykC541N/JT3YnjqgX75m6EuE!4+AUVML5zvudqWPIR3rdY/GGT25STBisrOZtbFqhuDtmPYOAgvI2OlAFVAk9u+2NEF4iTvTO
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.32