Text preview for : 321 TAP info.pdf part of Bose 321 Bose 321 Serial Commands



Back to : 321 TAP info.pdf | Home

CLASS SR REV REVISIONS DESCRIPTION CHECK

DWG NO. 266861 ENG DATE

APPLICABLE DOCUMENTS:

DOC LVL

3 2 1

DRAFTER M. HICKMAN CHECKER B. BITTER ENGINEER M. HICKMAN RLS TO PROD

DATE 4/23/02 4/23/02 4/23/02 SIZE A

FRAMINGHAM, MA 01701-9168 DESCRIPTION AV3·2·1 TEST AUTOMATION PROTOCOL

FSCM 32108

CLASS SR

DWG NO. REV. 266861 00 SHT 1 OF 14

1.

INTRODUCTION This protocol describes the control of the 3·2·1 product via TAP (Test Access Port) for software V&V, manufacturing, and field service usage.

2.

TAP USERS GUIDE Communications Link a) b) c) Three-wire TTL electrical interface. (Transmit Data, Receive Data, Ground) Logically inverted receive and transmit signals from RS-232 specification. Same asynchronous character/timing construction as RS-232 specification requires.

The asynchronous protocol has the following specific configuration: a) b) c) d) e) f) Half-Duplex operation 9600 baud 8-bits / data character 1 Stop bit No Parity The console echoes all characters of the command, including the terminating carriage return

There is no special action required to put the 3·2·1 product into TAP mode: when power is applied TAP control may be used. The connected console should not attempt to send a new character until the echo of the previous character is returned. The consequence of not waiting for the echo is the possibility of overrunning the previous character, thereby changing the command, or rendering it unrecognizable. 3·2·1 does not work with multiple commands simultaneously. The user must receive an acknowledgement prior to issuing the next TAP command.

Framingham, MA 01701-9168

SIZE A

FSCM 32108

CLASS DWG NO. SR 266861

SHEET 2 of 14

REV. 00

3.

GENERAL MESSAGES FOR CONTROL OF HARDWARE SUBSYSTEMS OF 3·2·1 Conventions: 1. 2. 3. All transmitted or received characters are presented in bold, fixed-width font. String names are in fixed ­width font, not bold, and all caps. A named string represents the characters to be received. Each alternative response is enclosed in parentheses and the choices separated by the word "or." Both the parentheses and the word "or" do not count as part of the response. Repeated strings are surrounded by parentheses and followed by "*n", where n is the number of occurrences. White space between characters or string names (Item 3) represent the character 0x20. Responses represented using multiple lines imply the strings of each line are concatenated without any line termination characters or white space in between. Special Characters are represented by the following constructs: a. b. c. 8. \r \n · 0x0D 0x0A 0x20 Carriage Return Line feed (newline) Space (Used for leading or multiple spaces only)

4. 5. 6.

7.

Response strings: String Name a. NEWLINE b. c. d. e. f. g. ACK NACK NACK> SACK SNACK NACK> BADLINE Transmitted characters \n\r (NEWLINE)*2 ·ACK> (NEWLINE)*2 NEWLINE ·ACK> NEWLINE \n\r\r where aaaa is the hex representation of the starting address of the data, and dd is the hex representation of the data value. The string names are used in the response messages below for readability.

ADDRDATA aaaa (dd )*16

4.

TUNER SUBSYSTEM SIZE A FSCM 32108 CLASS DWG NO. SR 266861 SHEET 3 of 14 REV. 00

Framingham, MA 01701-9168

All references to store in this sections indicated modification of the RAM mirror locations only. Execute the TAP command EECS\r (Section 5.3) to copy the mirror to EEPROM.
Message Function Select AM Band Select FM Band TUFM\r 2.3 2.4a Set Frequency TUSFddddd\r Get Frequency (AM) TUGF\r NEWLINE (·ddd0) or (dddd0) ACK NEWLINE (·dddd) or (ddddd) ACK NEWLINE jjkk ACK (ACK) or (NACK) Command from External

Item 2.1 2.2

3·2·1 Response ACK ACK

TUAM\r

Comments Subsequent Tuner functions operate on the AM band. Subsequent Tuner functions operate on the FM band. Frequency in hundreds of Hertz for AM, tens of Kilohertz in FM. NACK indicated invalid frequency. Frequency < =999 kHz Frequency =>1000kHz

2.4b

Get Frequency (FM US/Japan)

TUGF\r

Frequency <= 99.99 MHz Frequency =>100.00 MHz "jj' is an ASCII hex representation of the signal strength in the form of the S-meter reading. "kk" is an ASCII hex representation of a byte which decodes as follows: bits 7 through 4 are not used. Bit 3 is stereo_strong which is 1 when the signal is above stereo threshold. Bit 2 is in_stereo which is 1 when in stereo mode. Bit 1 is RDS_present which is 1 when RDS is present. Bit 0 (LSB) is signal_strong which is 1 when the signal is above the stop level. "s" is ASCII 1 if seek resulted in a station found. "s" is ASCII 0 if no station found. "s" is ASCII 1 if seek resulted in a station found. "s" is ASCII 0 if no station found Set tuner to idle state. "kk" is stop level in ASCII hex 0-0xFF. "kk" is stop level in ASCII hex 0-0xFF

2.5

Get Tuner status

TUGS\r

2.6

Seek Up TUSP\r

2.7

Seek Down TUSD\r

2.8 2.10 2.11

Tuner Idle TUIL\r Store AM stop level manually Store FM stop level manually TUATkk\r TUFTkk\r

NEWLINE (1 SACK) or (0 SNACK) NEWLINE (1 SACK) Or (0 SNACK) ACK ACK ACK

Framingham, MA 01701-9168

SIZE A

FSCM 32108

CLASS DWG NO. SR 266861

SHEET 4 of 14

REV. 00

2.12 2.13 2.14 2.15 2.16

2.17

2.18 2.19 2.20 2.21

Store Stereo Threshold level manually Store forcemono Threshold level manually Read s-meter and store as AM stop level Read s-meter and store as FM stop level Read s-meter and store as stereo threshold level Read s-meter and store as force-mono threshold level. Get AM stop level Get FM stop level Get stereo Threshold level Get force-mono Threshold level Store IF offset ­50kHz Store IF offset -25kHz Store IF offset 0.00 kHz Store IF offset +25kHz Store IF offset +50kHz Store IF offset automatically Get IF offset multiplier Tune up one channel Tune down one channel

TUSTkk\r TUMTkk\r TUAR\r TUFR\r TUSR\r

ACK ACK ACK ACK ACK

"kk" is threshold level in ASCII hex 00xFF. "kk" is threshold level in ASCII hex 00xFF.

ACK TUMR\r TURA\r TURF\r TURS\r TURM\r NEWLINE kk ACK NEWLINE kk ACK NEWLINE kk ACK NEWLINE kk ACK ACK ACK TUI2\r TUI3\r TUI4\r TUI5\r TUIF\r ACK ACK ACK ACK NEWLINE TUGI·····j> ACK ACK ACK "kk" is AM stop level in ASCII hex 00-0xFF. "kk" is FM stop level in ASCII hex 00-0xFF. "kk" is stereo threshold level in ASCII hex 00-0xFF. "kk" is force-mono threshold level in ASCII hex 00-0xFF. Sets IF Offset and Stores 25 kHz muliplier = - 2 Sets IF Offset and Stores 25 kHz muliplier = - 1 Sets IF Offset and Stores 25 kHz muliplier = 0 Sets IF Offset and Stores 25 kHz muliplier = 1 Sets IF Offset and Stores 25 kHz muliplier = 2 Determines, sets and stores correct IF offset multiplier automatically. "j" is an ASCII character which is the IF offset multiplier. (integer -2 to 2) Not Implemented Not Implemented

2.22 2.23 2.24 2.25 2.26 2.27 2.28 2.29 2.30

TUI1\r

TUGI\r TUU1\r TUD1\r

Framingham, MA 01701-9168

SIZE A

FSCM 32108

CLASS DWG NO. SR 266861

SHEET 5 of 14

REV. 00

2.31

Get RDS error rate.

TUREnnn\r

2.32

Get tuner region. Display RDS strings.

TGTR\r

2.33

TUDR\r

2.34 2.35

Clear RDS data TUGC\r Get RDS PS string Display radiotext (RT) string TUGP\r

NEWLINE zero data count: aaaa nonzero data count: bbbb invalid data count: cccc error bit sum: dddd ACK NEWLINE Tuner region code: nn ACK NEWLINE NEWLINE PS DATA:···ssssssss NEWLINE PTY DATA:···iiii NEWLINE PTYN DATA:···tttttttt NEWLINE RT DATA:···rrrrrrrr ACK ACK NEWLINE dddddddd ACK NEWLINE dddddddd ACK

Reads nnn blocks of RDS data and displays error rate info. Note leading zero's are replaced by blanks in values.

Returns tuner region nn. 00=US, 01=Japan, 02=Europe. Returns all RDS strings 0 to 8 chars 0 to 16 chars 0 to 8 chars 0 to 64 chars

Clears all RDS data from receiver 0 to 8 chars Returns 0 to 64 characters of radiotext (RT) data

2.36

TUGR\r

AUDIO CONTROL SUBSYSTEM
Item Message Function Set Volume Command from External AUSVnn\r

3.1

3·2·1 Response (ACK) or (NACK)

3.2

Get Volume

AUGV\r

3.3

Set Balance

AUBAnn\r

NEWLINE nn ACK (ACK) or (NACK)

Comments "nn" hex ASCII representation of volume value to set to in 3·2·1. (00h-63h) NACK indicates invalid value. Value represents display value of volume only. "nn" hex ASCII representation of volume value. "nn" hex ASCII representation of balance value to set to in 3·2·1. (± 9) NACK indicates invalid value. "nn" hex ASCII representation of balance value. "nn" hex ASCII representation of surround value to set to in 3·2·1. (± 9) NACK indicates invalid value.

3.4

Get Balance

AUGL\r

3.5

Set Surround

AUSSnn\r

NEWLINE nn ACK (ACK) or (NACK)

Framingham, MA 01701-9168

SIZE A

FSCM 32108

CLASS DWG NO. SR 266861

SHEET 6 of 14

REV. 00

3.6 3.7

Get Surround Set Treble

AUGS\r AUSTnn\r

NEWLINE Nn ACK (ACK) or (NACK)

3.8 3.9

Get Treble Set Bass

AUGT\r AUSBnn\r

NEWLINE Nn ACK (ACK) or (NACK)

3.10

Get Bass

AUGB\r

NEWLINE nn ACK

"nn" hex ASCII representation of surround value. "nn" hex ASCII representation of treble value to set to in 3·2·1 (± 9). NACK indicates invalid value. "nn" hex ASCII representation of treble value. "nn" hex ASCII representation of bass value to set to in 3·2·1 (±9). NACK indicates invalid value. "nn" hex ASCII representation of bass value.

LCD SUBSYSTEM Item 4.1 4.2 Message Function Disable normal LCD output and blank LCD Write FIVE bytes of LCD segment bits so any LCD pattern may be set. Turn on all LCD segments and bright backlight Turn on LCD diagonal test pattern and dim backlight Back-light dim. Back-light bright. Back-light off. Back-light on. Set LCD alphanumerics Clear LCD Flash LCD Command from External LCOF\r LCWRaabbc cddnn\r ACK *LCWR below 3·2·1 Response ACK Comments

4.3 4.4

LCON\r LCPO\r

ACK ACK

This can be simulated from the console by pressing xxx,yyy,zzz simultaneously This can be simulated from the console by pressing xxx,yyy,zzz simultaneously

4.5 4.6 4.7 4.8 4.9

LCBD\r LCBB\r LCBF\r LCBN\r LCSTabcdef gh\r LCCR\r LCFL\r

ACK ACK ACK ACK ACK

Alpha-numeric digits "a" through "h" are illuminated in the 8 alpha-numeric displays. Flash content of numeric buffer @ ~0.5Hz

4.10 4.11

ACK ACK

Framingham, MA 01701-9168

SIZE A

FSCM 32108

CLASS DWG NO. SR 266861

SHEET 7 of 14

REV. 00

*LCWR : Here's the new mapping: LCWR(aabbccddnn); byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte "aa" "aa" "aa" "aa" "aa" "aa" "aa" "aa" "bb" "bb" "bb" "bb" "bb" "bb" "bb" "bb" "cc" "cc" "cc" "cc" "cc" "cc" "cc" "cc" "dd" "dd" "dd" "dd" "dd" "dd" "dd" "dd" b0 b1 b2 b3 b4 b5 b6 b7 b0 b1 b2 b3 b4 b5 b6 b7 b0 b1 b2 b3 b4 b5 b6 b7 b0 b1 b2 b3 b4 b5 b6 b7 addresses SG_PREST " SG_TITLE " SG_ORDER " SG_PLAY " SG_PAUSE " SG_CHAPT " SG_TRCK1 " SG_ANGLE addresses SG_SETUP " SG_FEQ " SG_COLN1 " SG_COLN2 " SG_RNDM " SG_RPTDSK " SG_DISK " SG_RPTTRCK addresses SG_SLEEP " SG_PROG " SG_STERO " SG_RDS " SG_VBAR " SG_DCmid " SG_CD " SG_AUX addresses SG_VID1 " SG_VID2 " SG_FM " SG_AM " SG_FMP1 " SG_FMP2 " SG_DVD " SG_Function_TBD

Parameter "nn", where 'n' is a ASCII digit between 0 and 9, ignites the two digit numeric display.

Framingham, MA 01701-9168

SIZE A

FSCM 32108

CLASS DWG NO. SR 266861

SHEET 8 of 14

REV. 00

EEPROM SUBSYSTEM Item 5.1 Message Function Write byte to mirror RAM Command from External ETWRaadd\r 3·2·1 Response (ACK ) or (NACK) Comments "aa" is a one-byte hex ASCII address of byte to write, "bb" is data to write. Invalid address is ignored Note: EEPROM is not written. Use EECS\r after command and before removal of power to store new data to EEPROM. See Section 5.3) "aa" is a one-byte hex ASCII address of byte to read, "bb" is data to write. Invalid address is ignored. Reads directly from EEROM, not mirror RAM. NACK in case of bad read from EEPROM. Copies all data from mirror RAM to EEPROM and calculates/stores checksums ASCII hex representation of the 128 bytes of EEPROM are dumped to the terminal as 8 lines of 16 hex/ASCII bytes.

5.2

Read EEPROM byte

EERBaa\r

NEWLINE (bb\r SACK) or (SNACK)

5.3 5.4

Write EEPROM data and checksums Read All of EEPROM

EECS\r EERD\r

(ACK) or (NACK) NEWLINE (ADDRDATA BADLINE)*7 ADDRDATA NEWLINE NEWLINE ACK NEWLINE (bb\r SACK) or (SNACK)

5.5

Read bye in mirror RAM

EERBaa\r

"aa" is a one-byte hex ASCII address. "bb" is data to write. Invalid address is ignored. Reads from mirror RAM

EEROM DATA LOCATIONS Byte Address 0x01 0x01 0X01 Bit Mask 0x03 0x04 0x08 Data Tuner Region 00=US; 01=Japan;0x02=Europe Not used RDS Disable clear bit to enable

Framingham, MA 01701-9168

SIZE A

FSCM 32108

CLASS DWG NO. SR 266861

SHEET 9 of 14

REV. 00

SOFTWARE SUBSYSTEM Item 6.1 Message Function Get Main Firmware Revision Get Display Firmware Revision and Checksum Get Disc drive region information Command from External MMMN\r MMDY\r 3·2·1 Response NEWLINE MNRV321 vvv> NACK NEWLINE DYRVrrrrcccc> ACK NEWLINE MRGNaabbccddee> NACK Comments vvv is the version number.

6.2

rrrr is the ASCII representation of the revision. cccc is the hex checksum. 0xaa-vendor reset=[0-4] 0xbb-user change=[0-5] 0xcc-type code= if user = [2-5] then 1 if user = 1 then 2 if user= 0 then 3 0xdd-region mask not set = FF R1 = FE R2 = FD R3 = FB R4 = F7 R5 = EF R6 = DF 0xee-rpc scheme = 01 Dumps contents of Display Controller RAM Shows start address and size of display controller stack, also fills RAM from top of stack to end of RAM with FF's so one can check how much stack space gets used later using xxxxxx is main revision yyy is display revision

6.3

MRGN\r

6.4

RAM Dump

RMDP\r

NEWLINE ???? ACK NEWLINE aaaa:ss ACK

6.5

Stack check

STCK\r

6.6

Get Main and display firmware revisions

MMMD\r

NEWLINE xxxxxx yyy ACK

DVD BACKEND SUBSYSTEM Item 7.1 Message Function Pass DVD Backend TAP command Enable polling of DVD Backend I2C registers Disable polling of DVD Backend I2C registers Command from External LXTPxx\r 3·2·1 Response ACK Comments "xx" are hex characters that signify Luxsonor TAP command per the following table.

7.2 7.3

ACK LXON\r LXOF\r ACK

Framingham, MA 01701-9168

SIZE A

FSCM 32108

CLASS DWG NO. SR 266861

SHEET 10 of 14

REV. 00

DVD BACKEND TAP CODES (REFERS TO ITEM 7.1 ABOVE) Item 7.1.1 7.1.2 7.1.3 7.1.4 7.1.5 7.1.6 7.1.7 7.1.8 7.1.9 7.1.10 7.1.11 7.1.12 7.1.13 7.1.14 7.1.15 0x"XX" 0x02 0x03 0x04 0x05 0x09 0x0A 0x0B 0x0C 0x0D 0x0E 0x20 0x21 0x40 0x80 0x81 Description Test video pattern off. Test video pattern on. Three finger salute A entered (interpreted as eject, skip up, and volume dn) Three finger salute B entered (interpreted as eject, skip up, and power) Set DVD Region 1 Set DVD Region 2 Set DVD Region 3 Set DVD Region 4 Set DVD Region 5 Set DVD Region 6 Turn Watchdog off Turn Watchdog on Reset non-volatile storage Set default video to NTSC Set default video to PAL

REMOTE CONTROL SIMULATION Item 8.1 Message Function Remote control button simulation Command from External REMTcc\r 3·2·1 Response (ACK) or (NACK) Comments NACK indicates invalid command. cc is the ASCII decimal representation of the specified button (supplied with leading zeroes) from the following table.

REMOTE CONTROL BUTTON CODES Button K_POWER K_CD K_AUX K_VID1 K_VID2 K_AM K_FM K_PSPLAY K_SKIPL K_SKIPR K_STOP K_PRESETUP K_PRESETDN K_SETUP K_VOLUP Code 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 Button K_VOLDN K_MUTE K_STPOPEN K_NAVUP K_NAVDN K_ENTER K_NAVRT K_NAVLT K_ZERO K_ONE K_TWO K_THREE K_FOUR K_FIVE K_SIX Code 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Button K_SEVEN K_EIGHT K_NINE K_MENU K_EXIT K_REWND K_FASTFW K_PAUSE K_EXTRA K_NOKEY K_CDMODE K_REPEAT ANY_MODAL Code 31 32 33 34 35 36 37 38 39 40 41 42 43

Framingham, MA 01701-9168

SIZE A

FSCM 32108

CLASS DWG NO. SR 266861

SHEET 11 of 14

REV. 00

AUDIO PROCESSING SUBSYSTEM Item 9.1 Message Function Set ACMOD AC v,l,o,c\r Command from External 3·2·1 Response (NEWLINE)*2 Comments "v" is the ACMOD value which can be from 0 to 7 in ASCII. "l" is the AC3LFEON setting which is either ON or OFF. "o" is the ACMOD6 OVERRIDE which is either ON or OFF. "c" is the ACMOD0 CHANNEL SELECT which is an ASCII 0 or 1. "n" os value from 0 to 100

9.2 9.3

Axis pan command AP n\r Set digital audio path AU s\r

(NEWLINE)*2

(NEWLINE)*2 L/R Input Set to·(Analog) or (Digital) (NEWLINE)*2 "s" is left blank to toggle between analog and digital paths. "s" is D to force digital path and A to force analog path. "v" is a value between ­10 and 10. "m" is either ON or OFF. A space toggles the mode. "m" is the clip detector processing mode. It is either ON or OFF. "m" is either ON or OFF. A space toggles the mode. "m" is the mode. AC3 decodes AC3 stream, PCM decodes the PCM stream and AUTO lets the software select the decoder automatically.

9.4 9.6 9.7 9.8 9.9

Balance command Set the boingerizer mode Clip disable Set Compressor mode Set Decoder mode

BA v\r

(NEWLINE)*2

BO m\r CL m\r CO m\r DE m\r

Framingham, MA 01701-9168

SIZE A

FSCM 32108

CLASS DWG NO. SR 266861

SHEET 12 of 14

REV. 00

9.10

Enable production DFT test or get results.

DF\r

NEWLINE Starting Test ... (NEWLINE)*2 NEWLINE ·····Left Energy in Band : wwww db NEWLINE ·Left Energy Out of Band : xxxx db NEWLINE ····Right Energy in Band : yyyy db NEWLINE Right Energy Out of Band : zzzz dB (NEWLINE)*2 wwww, xxxx, yyyy, zzzz= -99 to ­10 -9.9 to ­0.1 0.0 to 9.9 10 to 99 Note that the string width varies from two to four characters. NEWLINE Stops the DFT test DFT Disabled (NEWLINE)*2 "m" is the echo mode. ON echoes the characters out the RS-232 port. OFF means no characters are sent out the RS-232 port This command dumps all the 8415A registers "c" specifies which channel to mute. The values are L,C,R,LS,RS,B or ALL. "v" is either ON (muted) or OFF (unmuted). All channels can be controlled individually with a comma separated string of values. The assumed order is as above. "v" is a value between ­10 and 6. Displays memory locations. "s" is the Hex starting memory address. "e" is the Hex ending memory address. "n" is the number of polls per second. "mm" is the presentation mode. 4W is 4 axis wide, 2W is two axis wide, 4N is four axis narrow and 2N is two axis narrow.

DF\r

9.11

End DFT test DF OFF\r

9.12

Echo enable command

EC m\r

9.13 9.14

I2C dump command Mute outputs

I2\r MU c v\r

9.15 9.16

Ooze setting Peek at memory locations

OO v\r PE s,e,n\r

9.17

Set presentation mode

PM mm\r

9.18 9.19

Reset the audio DSP RE\r Surround balance control SB v\r "v" is a value between ­10 and 10.

Framingham, MA 01701-9168

SIZE A

FSCM 32108

CLASS DWG NO. SR 266861

SHEET 13 of 14

REV. 00

9.20

Surround configuration control Set Surround level Source select

SCbcc\r

9.21 9.22

SL v\r SO c s\r

"cc" is the configuration which can be: VF for virtual-Front, RS for Real/Rear/Spitter and RF for Real/Rear/Full-Range "v" is a value between ­10 and 6. "c" is the channel specified. Choices are L,C,R,LS,RS,B. "s" is the source for the channel. Choices are D for digital, A for analog, S for 1kHz sine, DL for digital left, C for center, DR for digital right, LS for left surround, RS for right surround, LFE, AL for analog left and AR for analog right.

9.23 9.24 9.25

Request status information Execute a debug test Set Tone controls

ST\r TN n\r "n" is the number of the test to be run. "c" is the control to be changed. The controls are B (bass), T (treble) and FE (film EQ). "v" is the value to set the control to. For B and T, the value is a number between ­ 128 and 127. For FE, the values can be: ON for Film EQ on, OFF for film EQ off, BON for bass boost from film EQ on, BOFF which turns off the film EQ bass boost, HON for HF cut from film EQ on and HOFF which turns off the film EQ HF cut. "c" is the channel to be modified. The choices are L,C,R,LS,RS,B or ALL. "v" is the attenuation value in dB down from maximum.

TO c,v\r

9.26

Set volume VO c v\r

Framingham, MA 01701-9168

SIZE A

FSCM 32108

CLASS DWG NO. SR 266861

SHEET 14 of 14

REV. 00