FARGO electronic Digital Audio Board 7KDAB User Manual

Page 17

Advertising
background image

7KDAB, Version 2.0, 19-Aug-2007

Vyex LLC, 2003-2007

12

File system structure for the Audio Files


The WAV files need to be stored in a predetermined manner in order on the FLASH card.

The Root directory needs to contain a “WAV” subdirectory, and the WAV subdirectory needs to contain additional four
digit numeric subdirectories corresponding to the “hundreds” portion of the word number to be spoken. Within each of
those subdirectories, up to 100 WAV files can be stored.

The file naming convention for each WAV file simply correlates one-for-one with the word number issued from the 7K
command 15.

For example if you wanted to associate a given WAV file with word 3024 you would name the file “3024.WAV” and store it
in the “\WAV\3000\” subdirectory. Similarly word 0007 would be named as “0007.WAV” and stored in the “\WAV\0000\”
subdirectory.

With the exception of the reserved word “0000” and words greater than “9699”, you may utilize as many of the word
numbers as you like, up to the limits of the storage space on your FLASH card.

Special files stored in the root directory

CONFIG.INI


This text file contains user settings that need to survive a power failure. It is a simple text file that contains a variable
keyword, equals sign, and desired setting for the associated parameter.

Comment lines can be preceded with a semicolon, or simply contain white space.

The supported keywords are:

BaudRate. Specify any standard baudrate up through 115200 baud. If not specified, the default baudrate of 115200
baud will be used.

Password. This is the case sensitive password used to protect access to the serial port. Only the first 8 characters
are used, and if not specified, the serial port will not require a password.

BusyMsg. Specify a Morse code message to be played when the 7K commands the 7KDAB to play a file during
periods when the file system is busy. Only the first 9 characters are used. If not specified, the default message of
“BZ” will be used.


Example file contents:

; Configuration file for 7K-DAB
BaudRate = 38400
Password = Secret
BusyMsg = WR9ACY/R

DAB-MAIN.BIN


This file contains the microcontroller’s firmware. If this file exists, its contents are checked against the current program
stored in the microcontrollers own FLASH memory. If they are different, the microcontroller will reprogram itself and
reboot to begin execution of the new firmware.

Advertising