User`s manual

AMBE-20x0™-HDK Development Board
User’s Manual (Preliminary)
Page 26
DVSI Confidential Proprietary
Section 4 – Communication via Channel Interface
Running the ambe_hdk.exe file
To record and playback encoded file the HDK must be running in AMBE-2000 packet format and dip
switched SW1 and SW2 must be set as shown in Table 20 Dip Switch Settings for File I/O. Also, the
VAD must be enabled (Jumper JP5 set between Pin 1 and Pin 2). To put the HDK into AMBE-2000
Packet format refer to Error! Reference source not found. Section.
Dip Switch Settings Required to run ambe_hdk exe file
SW1 SW2
Pos 1 Pos 2 Pos 3 Pos 4 Pos 5 Pos 6 Pos 1 Pos 2 Pos 3 Pos 4 Pos 5 Pos 6
As Required to set data rate (Up or Down)
Up Down Up Up Up Up Down
Table 20 Dip Switch Settings for File I/O
To run the program open a command prompt window and change to the directory that has the program
file in it and type ambe_hdk.exe with the desired command line options as follows:
The ambe_hdk.exe program is set to default to recording the analog input to a file named record.bit.
Command Line Options
Option Name Variables Description
Channel Mode Options
Encode voice to file
-r<filename>
Record mode
Decode file to audio
-t<filename>
Playback mode
Table 21 File I/O Command Line Options
Note: To record and playback encoded files the HDK must be running in AMBE-2000 packet format. If
board reset is pressed or if the HDK board’s power is cycled it will revert back to the default AMBE
Packet Format setting.
RECORD MODE Example: Record to file named abc_voice.bit command. In a Command Prompt
window go to the directory containing (C:\hdk) the ambe_hdk.exe file and type
ambe_hdk.exe –rabc_voice.bit
The program will respond with
A Test Port COM 1
B Test Port COM 2
C Test Port COM 3
D Test Port COM 4
E Test Port COM 5
F Test Port COM 6
G Test Port COM 7
H Test Port COM 8
X EXIT
SERIAL PORT TESTING - Enter Selection >