1.2 TRANSFER FORMAT OF SERIAL DATA .................................................................................................................. 3
1.3 COMMAND FORMAT AND ANSWER FORMAT......................................................................................................... 4
1.4 PROTOCOL FOR DATA TRANSMISSION AND RECEPTION ..................................................................................... 4
1.4.2 Communication errors ....................................................................................................................................5
1.6 LIST OF COMMAND CODES .................................................................................................................................. 10
1.7 LIST OF ANSWER CODES ..................................................................................................................................... 11
1.8 LIST OF STATUS CODES....................................................................................................................................... 11
1.9.1 Power ON....................................................................................................................................................... 12
1.9.2 Power OFF ..................................................................................................................................................... 13
1.9.3 Request System Status ................................................................................................................................ 14
1.9.4 Play .................................................................................................................................................................. 16
1.9.10 Top Menu .................................................................................................................................................... 23
1.9.16 Direct Select................................................................................................................................................29
1.9.22 Request CPU Version................................................................................................................................ 35
This unit shall be based on commands each of which consists of a data row ( some commands
are without a PC ) composed of command codes ( CC ) and parameter codes ( PC ) . The
trans-mitting station shall be designed to send block check characters ( BCC ) following ETX,
with the data row enclosed in STX ( text start : 02h ) and ETX ( text termination : 03h ) .
The receiving station shall regard receipt of BCC as the completion of command reception when
it has received STX.
STX (Start of TeXt) : 02h
CC (Command Code) : Command code
PC (Parameter Code) : Defined for each command
( contents and number of parameters )
ETX (End of TeXt) : 03h
BCC (Block Check Character) :
CC + PC0 + PC1 + PC2 + --------------- + PCn + ETX = XYh
(Each of X and Y is 4 bit long ) X , Y=0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
BCCH ( high-level byte ) = X as converted to an ASCII code
BCCL ( low-level byte ) = Y as converted to an ASCII
code
STX (Start of TeXt) : 02h
RC (Reply Code) : Reply code (=Command code)
AC (Answer Code) : Answer code
PC (Parameter Code) : Defined for each command
( contents and number of parameters )
ETX (End of TeXt) : 03h
BCC (Block Check Character) :
RC +AC + PC0 + PC1 + PC2 + ------------- + PCn + ETX = XYh
(Each of X and Y is 4 bit long) X ,
Y=0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
BCCH ( high-level byte ) = X as converted to an ASCII code
BCCL ( low-level byte ) = Y as converted to an ASCII
code
Protocol for data transmission and reception
1.4
This unit is based on half-duplex communication. The unit shall therefore transmit commands
and receive answers according to the following procedure.
1.4.1
1)
2)
3)
CONFIDENTIAL
Basic procedure
The host shall select commands for this unit and transmit them to this unit. Command
interval time is MIN 40µsec.
Having issued a command, the host shall receive an answer from this unit, then issue
the next command.
The host shall analyze the RC, AC, and PC as answers given and decide whether the
Copyright 2005 DENON Co.,Ltd.
Page 5
Ver 2.01
Date : Nov.29.2005 5 page of 46
command has been normally executed.
The host shall give an answer to a command that gives operational instructions, then
4)
issue a status request command, and decide whether this unit has finished operating with
regard to the command that gives operational instructions.
The time from the start of command transmission to the end of command transmission
5)
should be max 40 msec.
The time from the completion of command transmission to the start of answer-back is
6)
MAX.60 m 5sec.
This unit cannot receive any commands for about 5 seconds after the power switch is
7)
turnied on.
1.4.2
1)
2)
3)
4)
5)
Communication errors
Having received a command, which results in a communication error ( overrun, framing,
or parity error ) , this unit shall give NAK ( 15h ) . ( MAX 80ms from the start of
command transmission )
If the host has received NAK from this unit, it shall retransmit the command that it has
transmitted immediately beforehand.
Having received an answer, which results in a communication error ( overrun, framing,
or parity error ) , the host shall respond with NAK.
If it has received NAK from the host, this unit shall retransmit the answer it has
transmitted immediately beforehand. ( MAX 40ms)
When there is no answer from the unit within 80 m 6s, the host shall retransmit the
command.
CONFIDENTIAL
Copyright 2005 DENON Co.,Ltd.
Page 6
Ver 2.01
Date : Nov.29.2005 2 page of 46
Contents
1 SERIAL COMMUNICATION INTERFACE ................................................................................................3
1.2 TRANSFER FORMAT OF SERIAL DATA .................................................................................................................. 3
1.3 COMMAND FORMAT AND ANSWER FORMAT......................................................................................................... 4
1.4 PROTOCOL FOR DATA TRANSMISSION AND RECEPTION ..................................................................................... 4
1.4.2 Communication errors .................................................................................................................................... 5
1.6 LIST OF COMMAND CODES .................................................................................................................................. 10
1.7 LIST OF ANSWER CODES ..................................................................................................................................... 11
1.8 LIST OF STATUS CODES....................................................................................................................................... 11
1.9.1 Power ON ....................................................................................................................................................... 12
1.9.2 Power OFF .....................................................................................................................................................13
1.9.3 Request System Status ................................................................................................................................ 14
1.9.4 Play .................................................................................................................................................................. 16
1.9.10 Top Menu .................................................................................................................................................... 23
1.9.16 Direct Select................................................................................................................................................29
1.9.22 Request CPU Version................................................................................................................................ 35
2.01 29.Nov.2005 M.Uehara Delete ACK, Modify Disc type code,
2.02 5.Dec.2005 M.Uehara Delete Some value of “Answer codes”
CONFIDENTIAL
Copyright 2005 DENON Co.,Ltd.
Page 8
Ver 2.01
Command Transmitted
CC PC0 PC1 PC2
PCn
BCC STX ETX
STX NAK
Answer Transmitted
Error Check OK
AC PC0
PC1
PCn ETX BCC RC
STX Answer
Retransmitted
AC
PC0
PC1 RC
Error Check NG
MAX 40ms MAX 6 0ms
MAX
5s
Date : Nov.29.2005 8 page of 46
3) When a command with an answer parameter is normally received ( unit ) and an
answer is abnormally received ( host )
HOST
UNIT
CONFIDENTIAL
Copyright 2005 DENON Co.,Ltd.
Page 9
Ver 2.01
Command Transmitted
CC
PC0 PC1 PC2 PCn BCC STX ETX STX
Answer Transmitted
Error Check OK
AC
PC0
PC1
PCn
ETB
BCC
RC
Error Check OK
MAX
40ms
Date : Nov.29.2005 9 page of 46
4) When a command with an answer parameter is normally received ( unit ) and an
answer is normally received with ETB ( host )
HOST
UNIT
MAX
5s
CONFIDENTIAL
Copyright 2005 DENON Co.,Ltd.
Page 10
Ver 2.01
Acquires system status ( such as the entire player
11
Date : Nov.29.2005 10 page of 46
List of command codes
1.6
Here is a list of command code types.
2Xh: POWER control command
3Xh: Command related to the acquisition of player information ( such as status and
name )
4Xh~5Xh: Operation instruction command to the player
No.
1 Power ON 20h ([SP]) Power-on request from the standby state
2 Power OFF 21h (!) Power-off request
3 Request System Status 30h (0)
4 Request CPU Version 31h (1) Acquires the CPU version.
5 Request Error Status 32h (2) Acquires the error code when an error is occurred.
6 Request Disc Status 33h (3)
7 Play 40h (@) Starts playback.
8 Stop 41h (A) Stops playback.
9 Pause 42h (B) Requests a pause.
10 Skip 43h (C) Moves to another group or title or chapter or track
12 Setup 45h (E) Common procedures of initial setting
13 Top Menu 46h (F) Playback top menu screen
14 Menu 47h (G) Playback Menu screen
15 Return 48h (H) Return
16 Audio 49h (I) Audio setting
17 Subtitle 4Ah (J) Subtitle setting
18 Angle 4Bh (K) Angle setting
19 Direct Select 4Ch (L) Music search mode
20 Cursor 4Dh (M) Moves cursor screen
21 Enter 4Eh (N) Decision
22 SACD Layer Select 4Fh (O) SACD Layer search mode
23 Disc Select 50h (P) Disc search mode
24 Disc Skip 51h (Q) Moves to another Disc
Command Code (ASCII)
and transfer unit ) .
Disk number information is obtained.
Slow /Search 44h (D) Scan
Operation
CONFIDENTIAL
Copyright 2005 DENON Co.,Ltd.
Page 11
Ver 2.01
)
)
Date : Nov.29.2005 11 page of 46
List of answer codes
1.7
1.8
No.
1 Command OK 20h (SP) Accepts the command.
2 Invalid 30h (0) Invalid command.
3 Format Error 31h (1) Inappropriate command format.
4 Order Track None 32h (2)
5 Order Time None 33h (3) The time you specified does not exist.
List of status codes
Here is a list of answer code types.
3Xh : Status of the entire system
4Xh : Status of each action mode
9 Pause 44h (D) Playback in process.
10 Scan Play 45h (E) Scanning in process.
11 Slow Search Play 46h (F) Slow scanning in process.
12 Setup 47h (G) Setup mode
13 Play Back Control 48h (H) Play Back Control scannig in process
14 DVD Resume Stop 49h (I) Resume stop condition
15 DVD Menu 4Ah (J) DVD menu playback in process
Digital Interface Receive
16
Mode (DAC MODE)
Status Code (ASCII
Status Code (ASCII
4Bh (K) Under DAC Mode
Description
The track , the group ,the title or the chapter you
specified does not exist.
Description
CONFIDENTIAL
Copyright 2005 DENON Co.,Ltd.
Page 12
Ver 2.01
Date : Nov.29.2005 12 page of 46
1.9 Command specification
When this unit is set to be compatible with all commands and fails to accept a command
·
( due to a communication error, for example ) , it returns NAK ( 15h ) as an answer.
1.9.1 Power ON
This requests a power-on from the standby state.
On receiving this command, this unit gives a power-on instruction to all players connected by a
daisy chain.
9 Status code
10 Play mode code ( *7 )
11 Group or Title number information (10 digits)
12 Group or Title number information (1 digits)
13 Track or Chapter number information (100 digits)
14 Track or Chapter number information (10 digits)
15 Track or Chapter number information (1 digits)
16 Time mode ( *8 )
17 Elapsed time (hour, 10 digits)
18 Elapsed time (hour, 1 digits)
19 Elapsed time (minutes, 10 digits)
20 Elapsed time (minutes, 1 digits)
21 Elapsed time (second, 10 digits)
22 Elapsed time (second, 1 digits)
23 ETX ( 03h )
24 BCCH ( high-level )
25 BCCL ( low-level )
7 6 5 4 3 2 1 0
(*1) Disc type code (*2) Audio format code (*3) Audio channel code (*4) Dialog
code
Code Disc Type
DVD VIDEO
DVD AUDIO
VCD
CD-DA
ROM
UNKNOWN
37h (7
38h (8
SACD
DVD-VR
Code Audio Format
DOLBY DIGITAL
DTS
MPEG
LPCM
PPCM
UNKNOWN
37h (7
DSD
Code Audio Channel Code Dialog
1 ch
2 ch
2.1 ch
3 ch
3.1 ch
4 ch
4.1 ch
5 ch
5.1 ch
6 ch
L /R (CD/VCD/MP3
R (CD/CD/MP3)
L (CD/VCD/MP3)
UNKNOWN
3Bh(
JPN
ENG
FRA
DEU
ITA
ESP
NLD
CHI
RUS
KOR
UNKNOWN
CONFIDENTIAL
Copyright 2005 DENON Co.,Ltd.
Page 15
Ver 2.01
31h (1)
31h (1)
31h (1)
31h (1)
32h (2)
32h (2)
32h (2)
32h (2)
33h (3)
(3) 3
33h (3)
33h (3)
34h (4)
34h (4)
34h (4)
35h (5)
35h (5)
35h (5)
36h (6)
36h (6)
36h (6)
37h (7)
37h (7)
37h (7)
38h (8)
38h (8)
38h (8)
39h (9)
39h (9)
39h (9)
( : )
; )
(<)
Date : Nov.29.2005 15 page of 46
(*5) Subtitle code (*6) Angle code (*7) Play mode code (*8) Time Mode code
Code Subtitle
JPN
ENG
FRA
DEU
ITA
ESP
NLD
CHI
RUS
3Ah
3Bh (
KOR
UNKNOWN
Code Angle
33h
Code Play Mode
1
2
4
5
6
7
8
9
NORMAL
PROGRAM
RANDOM
Code
3Ah (: ) TRACK REMAIN
3Bh ( ; ) GROUP ELAPESD
3Ch
Time Mode
SINGLE ELAPSED
SINGLE REMAIN
TOTAL ELAPSED
TOTAL REMAIN
CHAPTER ELAPSED
CHAPTER REMAIN
TITLE ELAPSED
TITLE REMAIN
TRACK ELAPSED
GROUP REMAIN
Special conditions
2)
When the disc does not set to DVD mechanism and disc loading process does not
·
finish, group number, title number, track number, and chapter number are set (' 0
' ) .
When the disc does not set to DVD mechanism and disc loading process does not
·
finish, elapsed time information are set ( ' 0 ' ) .
When power condition is “STANDBY”, can accept “REQUEST SYSTEM STATUS”,
·
“POWER ON KEY”, “REQUEST CPU VERSION”, and “REQUEST ERROR STATUS”.
Incase of another command, returns “COMMAND FORMAT ERROR ( ' 1 ' ) “ in the
“ANSWER CODE”
0 STX ( 02h )
1 Reply code ( ' C ')
2 Answer code
3 Group number or title numbsr (10digit)
4 Group number or title numbsr (1digit)
5 Chapter or track number (100digit)
6 Chapter or track number (10digit)
7 Chapter or track number (1digit)
8 ETX ( 03h )
9 BCCH ( high-level )
10 BCCL ( low-level )
Special conditions
This command is valid only , when mode status data is Play (E) or Pause (F) .
·
The unit can skip to a maximum track with Forward (+) and to a minimum track
·
with Reverse (–) and when it goes to more than those track, the Order Track None
(2) answer code is issued.
This command is valid only when the mode status is Play (E) or Pause (F) .
·
To make the search speed what you want , it needs to send some this command.
·
Example : Now it 's plaing . If you make the search speed to FF X 6 , it needs to
send this command 3 times.
The operation matrix is shown as next page.
When status code is 4Bh (DIR mode) , this command is not accepted.
31h (1) Select group or title number
32h (2) Select track or chapter number
Answers returned
byte \ bit
0 STX ( 02h )
1 Reply code ( ' L ')
2 Answer code
3 Group number or title number (10 digit)
4 Group number or title number (1 digit)
5 Chapter number or track number (100 digit)
6 Chapter number or track number (10 digit)
7 Chapter number or track number (1 digit)
8 ETX ( 03h )
9 BCCH ( high-level )
10 BCCH ( low-level )
Special condition
When status code is 4Bh (DIR mode) , this command is not accepted.
·
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
CONFIDENTIAL
Copyright 2005 DENON Co.,Ltd.
Page 30
Ver 2.01
Date : Nov.29.2005 30 page of 46
1.9.17 Cursor
This moves highlight area of initial setting screen.
0 STX (02h)
1 Reply code ( ' 1 ' )
2 Answer code
3 System µ-con version number (1000 digit)
4 System µ-con version number (100 digit)
5 System µ-con version number (10 digit)
6 System µ-con version number (1 digit)
7 Drive µ-con version number (1000 digit)
8 Drive µ-con version number (100 digit)
9 Drive µ-con version number (10 digit)
10 Drive µ-con version number (1 digit)
11 Panel µ-con version number (1000 digit)
12 Panel µ-con version number (100 digit)
13 Panel µ-con version number (10 digit)
14 Panel µ-con version number (1 digit)
15 ETX ( 03h )
16 BCCH ( high-level )
17 BCCH ( low-level )
Special condition
2)
This command is valids only when system status is except 'System Initialize (1) '.
·
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
CONFIDENTIAL
Copyright 2005 DENON Co.,Ltd.
Page 36
Ver 2.01
Cannot read within a preset time period in TOC
Date : Nov.29.2005 36 page of 46
1.9.23 Request Error status
This gets error status. If error occurs, it becomes stop mode.
byte \ bit
0 STX ( 02h )
1 Command code ( ' 2 ' )
2 Reserve (00h)
3 Reserve (00h)
4 Reserve (00h)
5 Reserve (00h)
6 ETX ( 03h )
7 BCCH ( high-level )
8 BCCH ( low-level )
Answers returned
1)
byte \ bit
0 STX (02h)
1 Reply code ( ' 2 ' )
2 Answer code
3 1 st error code
4 2 nd error code
5 ETX ( 03h )
6 BCCH ( high-level )
7 BCCH ( low-level )
Special condition
2)
If error does not occur, set ' 0 ' to byte3 and byte4.
·
Special condition
3)
Error code is the following.
·
After error occurs, it receives only 'OPEN /CLOSE KEY '.
·
Error code
No.
1 0x20 0x00 Loading error
2 0x21 0x00 Loading switch error
3 0x22 0x00 Forcus servo error
4 0x23 0x00 Tracking servo error
5 0x24 0x00 Can 't adjust offset value for servo circuit
6 0x25 0x00 Can 't adjust gain value for servo circuit
7 0x26 0x00
8 0x27 0x00 During spinup, data of disc does not read
9 0x28 0x00 During play, data of disc does not read
10 0x29 0x00
11 0x2A 0x00 Subcode data does not read
12 0x2C 0x00 Command error occurs
13 0x2D 0x00
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
Error code
1 st 2 nd
Focusing failed in playing or searching or pauseing
reading.
Focusing failed in scanning
Detail
CONFIDENTIAL
Copyright 2005 DENON Co.,Ltd.
Page 37
Ver 2.01
Date : Nov.29.2005 37 page of 46
1.9.24 Request Disc status
This obtains the information on the disk number reproduced now and each disk.