YEASU FRG-100 Channel Data Loader ================================= 22-Mar-1993 The purpose of this program is to have the ability of making "backups" of the channel memory of the YAESU FRG-100 shortwave receiver, and to program data to the channel memory. The data file to be programmed can be created with any text editor, or a file containing previously read data can be used. The purpose was not to have a comfortable "full screen" computer aided control of the FRG-100. The following files belong to this program: FRGDOC.TXT English documentation (this file) FRGDOC_D.TXT German documentation SAMPLE.DAT a sample data file FRGLOAD.EXE the program itself The program requires the following commandline parameters: frgload -r|-w file_name [-p1|-p2|-p3|-p4] [-h] -r read FRG-100 channel memory -w write (program) FRG-100 channel memory -pn COM port 1..4, default: COM1 -h additional help information If no parameter is passed, the help message above is displayed. The CAT interface protocol is set to 4800 Baud, 8 bit word length, no parity bit, 2 stop bits, for more information refer to the YAESU FRG-100 instruction manual. This software was tested on a 33MHz-386 with MSDOS 5.0 and on an 8MHz-XT (V20) with MSDOS 3.3. Data File Format: ----------------- The data file format shall have the following layout, the data start at the first column of each line: +-----------------------------------------------------------+ | CC FFFFFFF MM S | | | | # comment line | | CC is the channel number, 1..50, 51=Lo, 52=Hi | | FFFFFFF is the frequency in 10 Hz | | MM is the mode: | | SL = LSB | | SU = USB | | CW = CW normal | | CN = CW narrow | | AM = AM normal | | AN = AM narrow | | FM = FM | | S scan information: | | 0 = skip channel | | 1 = scan channel | +-----------------------------------------------------------+ All other data exceeding column 15 are interpreted as a comment, they can be used to keep the broadcast station name, etc. A sample data file "SAMPLE.DAT" is provided with the program. When reading the FRG-100, all 52 channel data are stored. For programming, only the channels which shall be changed need to be in the data file. The other channel memories of the FRG-100 then remain unchanged. A frequency of 0 Hz in the data file will clear the dedicated channel memory when programming. +----------------------------------------------------------+ | Note: Before you program the channel data, make a backup | | (read out) of the current channel memory, e.g. | | | | "frgload -r mydata.dat" | | | | Is an existing file name used, when reading out | | the FRG-100, this file will be overwritten! | +----------------------------------------------------------+ Error Messages: --------------- Incorrect option = an invalid command line option was used Error when writing to COM port XXXX = the selected COM port is not present Error opening data file yyyyyyyy.yyy = the data file cannot be opened for read, respectively write Waiting more than zzzzzz tries = the program expects data from the FRG-100, but it does not respond Interface PC/FRG-100: --------------------- The hardware interface can be realized using a MC1489 line receiver IC. It protects the FRG-100 from +/- 12 Volt of the PC RS232 interface and provides the inverted 5 Volt signal as required. The only problem is, it cannot provide +/- levels for the PC. But most PC RS232 interfaces accept a line voltage of +5/0 Volt. The 5 Volt supply voltage can be taken from FRG-100 by soldering a wire to regulated 5 Volt and e.g. pin 5 of the CAT DIN connector: 6-pol DIN FRG-100 25-pol D female PC ----------------- ------------------ 1489 +--------------+ 14| | + 5 V 5 ------------+ Vcc | | | 1| | 3 Out 2 ------------+ In A Out A +------------ 3 RX | | 11| |13 In 3 ------------+ Out D In D +------------ 2 TX | | 7| | GND 1 -------+----+ | | | | | +--------------+ | +-------------------------------- 7 GND Copyright: ---------- This program is FREEWARE, it is copyrighted by Erwin Nikl (c) 1993. Non commercial usage or distribution via Bulletin Board Systems, etc. is free. The program and the provided data- and documentation files may not be modified in any way. Commercial usage or distribution, e.g. by shareware dealers, without the written permission of the author is prohibited. The program is free of charge, the author provides absolutely no warranty, neither concerning the hardware nor the software ! ===================================================================== | Erwin Nikl | >= July 93 use: Erwin Nikl | | Lenzhahner Weg 15B | Lenzhahner Weg 15B | | D-6272 Niedernhausen | D-65527 Niedernhausen | | West-Germany | Germany | ===================================================================== | internet address: erwinn@tau_mail.comm.mot.com | | or: erwinn@zwg01dns0.comm.mot.com | =====================================================================