The following lists the steps I'd assume we will need to test the ``serial speedup'' option.
It would be beneficial to have two pieces of data about S1883 UART:
If the second spec cannot be found, the baud clock vs. baud rate can be discovered by measuring the current clock used for 9600 baud.
If the maximum baud clock rate is not known, it needs to be evaluated if it is safe to just try a higher rate of can it possibly damage the S1883. (Are spare parts available?)
I would suggest that AJB and/or JW try to find this information, if possible. (The Dwingeloo data book library was searched once, to no avail.)
This step will require:
We need a suitable cable to connect the data buffer to the FS PC
``COM2:
''. I'm not sure if this port is similar to the DigiBoard
ports used this far, I'd suspect not and I'd assume it is a 9-pin
port.
A computer-to-modem RS232 cable should be compatible with the data buffer, that is a cable which connects perhaps all 25 but at least the following lines (1, 11, 18, 22 are not used at the PC end, they are included just to show the lines connected in data buffer, schematics ``6004-076''):
PC female DB25 --- DB25 m/f? Data buffer
TxD Transmit Data 2 -> 2 Data in
RxD Receive Data 3 <- 3 Data out
RTS Request To Send 4 -> 4 (RTS, not used)
CTS Clear To Send 5 <- 5 Clear To Send (+12V)
DSR Data Set Ready 6 <- 6 Data Set Ready (+12V)
DCD Carrier Detect 8 <- 8 Carrier Detect (unused)
GND Signal Ground 7 --- 7 GND Signal Ground
DTR Data Terminal Ready 20 --> 20 Data Terminal Ready (sensed)
1 -?- 1 (protective ground)
unused 11 <- 11 (On-line status, +12V)
unused 18 <- 18 (Dial initiate, -12V)
RI Ring Indicator 22 <- 22 (Ring indicator, unused)
Alternatively, a IBM PC 9-pin serial connector DB9-DB25 modem cable
(or a "dongle" that provides these crossovers) can be used:
PC female DB9 DB25 m/f? Data buffer
DCD Carrier Detect 1 <- 8 Carrier Detect (unused)
RxD Receive Data 2 <- 3 Data out
TxD Transmit Data 3 -> 2 Data in
DTR Data Terminal Ready 4 -> 20 Data Terminal Ready (sensed)
GND Signal Ground 5 --- 7 GND Signal Ground
DSR Data Set Ready 6 <- 6 Data Set Ready (+12V)
RTS Request To Send 7 -> 4 (RTS, not used)
CTS Clear To Send 8 <- 5 Clear To Send (+12V)
RI Ring Indicator 9 <- 22 (Ring indicator, unused)
(The pins 2 and 3 really do have opposite functions and signal
directions in 9-pin IBM PC serial connectors than in 25-pin connectors.)
If a suitable cable is not available ready-made and a new cable is
decided to be built, the following minimal connections should do the
trick. Note that to enable hardware flow control (that is the ``RTS''
signal on PC inhibiting further incoming characters from the data
buffer) these cables must be used.
PC female DB25 --- DB25 m/f? Data buffer
TxD Transmit Data 2 -> 2 Data in
RxD Receive Data 3 <- 3 Data out
RTS Request To Send 4 -> 20 Data Terminal Ready (sensed)
CTS Clear To Send 5 <- 5 Clear To Send (+12V)
| (wire for 5 or 6)
DSR Data Set Ready 6 <- 6 Data Set Ready (+12V)
|
DCD Carrier Detect 8 8 Carrier Detect (unused)
GND Signal Ground 7 --- 7 GND Signal Ground
DTR Data Terminal Ready 20
1 -?- 1 (protective ground)
4 (RTS, not used)
11 (On-line status, +12V)
18 (Dial initiate, -12V)
22 (Ring indicator, unused)
Alternatively, a IBM PC 9-pin serial connector DB9-DB25 modem cable:
PC female DB9 DB25 m/f? Data buffer
RxD Receive Data 2 <- 3 Data out
TxD Transmit Data 3 -> 2 Data in
DTR Data Terminal Ready 4
GND Signal Ground 5 --- 7 GND Signal Ground
DSR Data Set Ready 6 <- 6 Data Set Ready (+12V)
| (wire for 5 or 6)
CTS Clear To Send 8 <- 5 Clear To Send (+12V)
|
DCD Carrier Detect 1 8 Carrier Detect (unused)
RTS Request To Send 7 -> 20 Data Terminal Ready (sensed)
RI Ring Indicator 9 22 (Ring indicator, unused)
The cable used must be first verified by trying it with the unmodified
9600~baud data buffer. A terminal emulator program like Kermit is
invoked on ``COM2:
'' (or ``/dev/cua1
'' in Linux) with
the settings ``9600 baud, 8 data bits, 1 stop bit, hardware
handshake'' and an
``ESC'' character is sent to data buffer. The green ``Active'' LED on
the data buffer back panel should be lit now. (The buffer should also
respond with a maximum of four characters which are in binary and
appear like more or less garbage in a terminal emulator.)
Other command characters that can be tested by just typing them at the terminal emulator are:
%
'': Should switch off the ``Active'' LED. After
this, the data buffer will
require another ``ESC'' to reactivate it to respond to other
command characters, not just the ``ESC'' character.!
'': Arm the buffer to wait for incoming data, lits up
the ``Arm'' LED.:
'': Reset the armed state, switches off the ``Arm'' LED.23+
'': Set the active block number to be hexadecimal
``23'' for a subsequent
``?
''. This should show up in the 4-character response as a
``#
'', ``24+'' as ``$
'', ``25+'' as ``%
'',
and so on.?
'': Start downloading 512-byte block of buffer data.
Should show garbage characters on screen: it is a message of 516 more
or less random bytes coming into the terminal emulator program.0-
'': Load a test pattern in data buffer RAM. ``0''
can be a hex digit 0--C to select different patterns, see page DB-17
of the data buffer manual. Should first lit the ``Take'' LED and
after the pattern is loaded, the ``Hold'' LED. The pattern invoked by
``6-
'' should be quite visible when looked at with ``?
''
because it consists of a sequence of ``55, 55, AA, AA,
...''If the cable connection seems ok, then a (temporary?) higher baud rate clock should be fed into the circuitry at pin 19 of ``5046'' (with the ``5046'' removed from its socket.)
The baud rate of Kermit should be changed to 115200 baud and the tests above repeated. An oscilloscope comparison of incoming/outgoing RS232 signals should reveal if the pulse forms are ok.
If the S1883 UART fails to perform at 115200 baud we have to:
After I have received a FS PC compatible hard disk that I can use in both FS PC and my Dwingeloo PC I'll be able to test new software that I'm writing that will interact with the data buffer, either unmodified or the ``new'' 115200 baud one.
I will need to test my software with the unmodified data buffer first to make sure it performs the functions required at the standard speed. After this we could have the temporary 115200 setup for a couple of hours (or the permanent one described in the next step, if that is deemed easy enough to create.) During this period the true throughput after all software overhead effects can be measured and the final decision if we'll permanently modify the buffer can be made.
Tests with a ``simulated'' 115200 baud data buffer (an MS-DOS PC running a dedicated program acting like the ``real'' data buffer) seem to indicate that:
Since I suspect that the ``5046'' baud rate generator chip won't run with much higher crystal frequencies than the current 5.0688~MHz, I'd suppose that the easiest way to have a new ``permanent'' oscillator would be to fit a crystal oscillator module with a TTL output into a socket and put that into the place of ``5046'' chip. Again, I assume that AJB and/or JW can provide a good solution to this.
I will continue to create a replacement ``pcalr'' phase cal detection software combining there ingredients of my diagnostic data buffer software, the existing ``pcalr'', Sergei Pogrebenko's multiple phase cal tone detection algorithm (presented in VLBI Memo #029), and possibly another version of the algorithm developed by Kaj Wiik at Metsähovi.
Next Chapter, Previous Chapter
Table of contents of this chapter, General table of contents
Top of the document, Beginning of this Chapter