SYNOPSIS
eppfpga [ -vh ] [-p portaddr] [-m modestr] [-t test]
DESCRIPTION
eppfpga is the configuration and diagnostics utility for the Baycom EPP modem. It can be used to download the FPGA ``firmware'' or to execute various tests. This utility is also needed during ifconfig bcex up and therefore should reside in /sbin.
OPTIONS
eppfpga accepts the following options:
- -h
- Display an overview of the available command line parameters and exit.
- -v
- Increases the verbosity of the output. May be cumulated.
- -p
- Specifies the base address of the EPP capable parallel port to which the modem is connected. Use the 0x prefix to specify hexadecimal numbers.
- -m
- Specifies various ``firmware'' options.
- -t
-
Execute the named test. Tests may be stopped by pressing
CTRL-C.
FIRMWARE OPTIONS
- intclk
- uses FPGA internal clock; don't use if an external oscillator is on board.
- extclk
- uses the external oscillator; recommended if the internal modem is used, as the frequency of the FPGA oscillator is not accurate enough.
- intmodem
- uses the internal modem
- extmodem
- uses a DF9IC type modem connected to the high speed modem connector
- divider=x
- sets the clock divider for the internal modem (baud=fquartz/16/divider)
- loopback
- sets an internal modem loopback
- extstat
- allows extended status readback
- noextstat
- disallows extended status readback
- pttmute
- mutes modulation signal output when PTT is off (default)
- nopttmute
-
modulation signal is continuously output
TESTS
- ram
- tests the on board SRAM using boundary scan
- bled
- tests the on board LED's using boundary scan; disconnect PTT during the test.
- dac
- tests the on board DAC using boundary scan
- led
- tests the CON and STA leds using EPP address write
- ledfast
- tests the CON and STA leds using fast EPP address write
- berr
- performs a BER test using the complete adapter. An external loopback is required.
- berrv
- performs a BER test using the complete adapter. Also prints out the received bits. An external loopback is required.
- ccnt
- frequency counter using the check firmware
- cdac
- fast DAC test using the check firmware
- cram
- fast RAM test using the check firmware
- cled
-
LED test using the check firmware