IOCOMM User and
Administration Guide

  Introduction | Set-up | Configuration | Bootstrap | Indicators | Troubleshooting | Event Logging (syslog) | Exception Display | iocommd | Command Line Interface | Connectors and Cabling | Technical Specification | Glossary of Terms | Accessories


Bootstrap

Overview

Normal Power-up

Power-on self-test

Diagnostic start-up

Using the Diagnostic menu

1. Hardware diagnostics
2. Display exception information
3. Factory reset
4. Request password reset
5. Clear request flags
6. Download to RAM and run
7. Download to FLASH and run.
q. Quit. Unpack FLASH and run

Overview

The IOCOMM bootstrap, provides firmware upgrade to FLASH memory, run-time firmware load via the network (TFTP), and hardware diagnostic.

Normal Power-up

When the unit is powered-up (without the TEST switch being pressed), the bootstrap tests the hardware before normal operation starts. The progress of the tests can be monitored by viewing the cluster of six indicators to the left on the front panel.

The Six Monitoring Indicators.

On powering up, the following tests and operations are performed:

Note: If the IOCOMM fails to get a response, the unit continues to boot using the IP address and firmware stored in FLASH memory.

Power-on self-test

The IOCOMM power-on self-test, performs various hardware checks to establish that critical unit components and assemblies are functioning correctly. The main hardware checks performed are:

CPU check
Memory check (RAM and FLASH)
Main hardware components
Validity of on-board firmware

Note: During the power-on self-test, the green LEDs located on the front of the IOCOMM indicate test progress and any error conditions detected. If an error is detected, the IOCOMM self-test stops and the configuration and status of the front panel LEDs indicate the likely cause. See Indicators.


The sequence of LEDs during start up.

Diagnostic start-up

The IOCOMM has a diagnostic menu facility, which can be called up by booting the IOCOMM while the TEST switch is held pressed until the diagnostic menu appears. During this type of boot-up, the power-on self-test is not fully performed.

Using the Diagnostic menu

The diagnostic menu can be viewed by connecting a PC or terminal to the console (Port A).

To call up the menu, with the IOCOMM powered-off, press in and hold the TEST switch, then power-on the unit still holding in the TEST switch until the diagnostic menu appears. The diagnostic menu looks like this:

 

FLASH boot x.yy (build date)
Bootstrap and diagnostic monitor
(error message here-if detected)
CPU speed 25 MHz RAM size 4096 Kbytes FLASH size 1024 Kbytes Special serial 2
(interface types) Standard serial 8 (or 16)
(interface types)
Operations menu
1. Hardware diagnostics
2. Display exception information
3. Factory reset
4. Request password reset
5. Clear request flags
6. Download to RAM and run
7. Download to FLASH and run
q. Quit. Unpack FLASH and run
      
: q

Note: Throughout the Operations menus, pressing either or will return you to the previous menu. will also abort the current test(s).

1. Hardware diagnostics

The Hardware diagnostics sub-menu, can be displayed by typing 1. The sub-menu will be displayed as shown below:

Hardware diagnostics
a. Serial port A b. Serial port B e. Ethernet interface g. Port B generator tests*1 l. LED panel n. Non-volatile (FLASH) memory p. Processor r. RAM s. Standard serial ports v. Version information c. Continuous test f. Factory test (silent continuous) d. Diagnostic monitor q. Quit
: q
*1
Special testing use only

1.a Serial port A

The Serial port A diagnostics, check for correct operation of the port (used primarily for management functions with an attached console). To complete the test, the port A loopback (not supplied) should be plugged into the port. To start the test, type a. The following messages will appear on the screen.

Probing interface type
Multi standard sync board
Loopback or no cable attached
Please install data pass through loopback on port A
Press Y to continue: y

The tests will then be performed and the results displayed on the console.

1.b Serial port B

The Serial port B diagnostics, check for correct operation of the port (Port B is software configurable as either synchronous or asynchronous for the connection of a wide range of devices). To complete the test, the port B loopback (supplied) should be plugged into the port. To start the test, type b. The following messages will appear on the screen.

Probing interface type
Multi standard sync board
Loopback or no cable attached
Please install DB26 loopback on port B
Press Y to continue: y

The tests will then be performed and the results displayed on the console.

1.e Ethernet interface

The Ethernet interface tests, check for correct operation of the three types of Ethernet interface (10BASE5, 10BASE2 and 10BASE-T). To start the tests, type e. The following sub-menu will appear on the screen.

Ethernet interface tests

1. Internal loopback tests
2. Data test on 10BASE5 (AUI)
3. Data test on 10BASE2 (BNC/thin)
4. Data test on 10BASE-T (twisted pair)
5. Scope test pattern on AUI
6. Scope test pattern on BNC
7. Scope test pattern on TP

q. Quit

1.e.1 Internal loopback test

During the Internal loopback test, two tests are performed; the first test loops data internally within the QUICC processor and the only requirement for correct operation is a valid data clock which is obtained from the 82503 TXC output. The second test, loops back at the 82503 serial interface, exercising data and the clock interfaces within the chip.

Note: Both of these tests may be run safely with the network interfaces connected.

QUICC based loopback
Testing [...................] OK
82503 based loopback Testing [...................] OK

1.e.2 Data test on 10BASE5 (AUI)

The Data test on 10BASE5 (AUI), loops data back via the AUI interface and requires the fitting of an AUI loopback connector (available from your supplier, part no. 802-0046). A typical screen output is shown below:

Please install AUI loopback and press Y to
continue. Y
10BASE5 (AUI) loopback test
Testing [...................] OK

The output below shows a test failure:

10BASE5 (AUI) loopback test
Testing          [
Eth: Tx error 0001, Carrier lost
Eth: Tx error 0001, Carrier lost
Eth: Tx error 0001, Carrier lost
Eth: Tx error 0001, Carrier lost
Eth: Tx error 0001, Carrier lost
FAILED

1.e.3 Data test on 10BASE2 (BNC/thin)

The Data test on 10BASE2 (BNC/thin), loops data back via the BNC interface and requires the fitting of a BNC loopback connector. This connector can be constructed simply from standard components by attaching two 50 Ohm BNC network terminators to a standard T-piece and then plugging this assembly into the 10BASE2 connector. A typical screen output is shown below:

Please install BNC stub and press Y to
continue. Y
10BASE2 (BNC) loopback test
Testing [...................] OK

The ouput below shows a test failure:

10BASE2 (BNC) loopback test
Testing           [
Eth: Tx error 8000, Not sent
Eth: Tx error 8000, Not sent
Eth: Tx error 8000, Not sent
Eth: Tx error 8000, Not sent
Eth: Tx error 8000, Not sent
FAILED

1.e.4 Data test on 10BASE-T (twisted pair)

The Data test on 10BASE-T (twisted pair), tests the twisted pair interface. This test does not require the fitting of a loopback connector, as the interface has an internal loopback fitted.

10BASE-T (TP) loopback test
Testing [..................] OK

The output below shows a test failure:

10BASE-T (TP) loopback test
Testing          [
Eth: Tx error 8000, Not sent
Eth: Tx error 8000, Not sent
Eth: Tx error 8000, Not sent
Eth: Tx error 8000, Not sent
Eth: Tx error 8000, Not sent
FAILED

1.e.5 Scope test pattern on AUI

The Scope test pattern on AUI allows a continuous test to be run and the results monitored on a scope screen.

If you select this option, the following warning message will be displayed on the console.

WARNING: THESE TESTS WILL JAM COMMUNICATIONS ON ANY
CONNECTED NETWORK.

Run this test on a test LAN or at a time when it will not compromise your network.

1.e.6 Scope test pattern on BNC

The Scope test pattern on BNC allows a continuous test to be run and the results monitored on a scope screen.

If you select this option, the following warning message will be displayed on the console.

WARNING: THESE TESTS WILL JAM COMMUNICATIONS ON ANY
CONNECTED NETWORK.

Run this test on a test LAN or at a time when it will not compromise your network.

1.e.7 Scope test pattern on TP

The Scope test pattern on TP. allows a continuous test to be run and the results monitored on a scope screen.

If you select this option, the following warning message will be displayed on the console. You are advised to run this test at a time when it will not compromise your network.

WARNING: THESE TESTS WILL JAM COMMUNICATIONS ON ANY
CONNECTED NETWORK.

Run this test on a test LAN or at a time when it will not compromise your network.

1.e.q Quit

The Quit option exits the Ethernet interface tests menu and return to the main Hardware diagnostics menu.

1.l LED panel

The LED panel test, checks all IOCOMM front panel LEDs for correct functioning. To start the tests, type l. The following messages will appear on the screen.

Walking LED test
Test switch will light all LEDs
Press any key to stop

1.n Non-volatile (FLASH) memory

The Non-volatile (FLASH) memory test, checks the IOCOMM FLASH for correct functioning. When the test is started, the FLASH chips are reset and the write protection bits for each bank are checked and reported, followed by the test menu itself. To start the tests, type n. The following messages will appear on the screen.

FLASH write protection status
Bank Odd Even
0 Read only Read only 1 Writeable Writeable 2 Writeable Writeable 3 Writeable Writeable 4 Writeable Writeable 5 Writeable Writeable 6 Writeable Writeable 7 Writeable Writeable
WARNING: Tests are destructive and may require new firmware to be downloaded
 
b. Blank check
c. Clear configuration database
e. Erasure check
p. Program check
q. Quit

Bank 0 contains the bootstrap itself and should be read only. An error message will be displayed if this is not the case. The tests operate on banks 1 to 6, normally used to store the main firmware. Only the Blank check will leave these banks intact. The Erasure check and Program check will destroy the contents of the banks and will require new firmware to be downloaded before the IOCOMM can be used.

1.n.b Blank check

The Blank check, examines each memory location and checks that it is set to the blank state of 0xFF. If errors are detected, the first five offending locations are detailed together with their contents.

1.n.c Clear configuration database

The Clear configuration database option.

1.n.e Erasure check

The Erasure check, erases the FLASH sectors and then runs the blank check.

Note: All firmware data will be lost.

FLASH erase
[..........................]
Checking    [..........................]
OK

1.n.p Program check

The Program check, erases the sectors, programs them with a count and then checks that the contents are correct.

Note: All firmware data will be lost.

Note: Repeated programming of FLASH is detrimental to its life, so only the protection bit check is performed in the normal continuous testing.

1.p Processor

The Processor tests, check the CPU for correct operation. To start the tests, type p. The following messages will appear on the screen.

Testing CPU clock speed
Target speed 25000000 Hz: correct
Motherboard loop check: OK
Press any key to continue

1.r RAM

The RAM tests, check the IOCOMM internal DRAM memory for correct operation. To start the tests, type r. The following sub-menu will appear on the screen.

DRAM tests
1. Boundary alignment test
2. Data bit walk
3. Address fill test
4. Random fill test / refresh check
a. All tests
b. Quit

1.r.1 Boundary alignment test

This test checks the DRAM boundary alignment.

DRAM Boundary alignment test

Filling 32/8   [...................]
Checking 32/24 [...................] OK

DRAM Word alignment test

Filling 16/8   [...................]
Checking 32/16 [...................]
OK

1.r.2 Data bit walk test

This test checks the DRAM in data bit walk mode.

DRAM Zero Bit walk test
Filling [......................] Walking bit [......................] OK
  DRAM One Bit walk test
Filling [......................] Walking bit [......................] OK
 

1.r.3 Address fill test

This test checks the DRAM under address fill mode.

DRAM Address Fill test
Filling [.........................] Checking [.........................] OK Inverse Address Fill test Filling [.........................] Checking [.........................] OK

1.r.4 Random fill test/ refresh check

This test checks the DRAM using random fill and refresh.

DRAM Random Fill test|
Filling  [.........................]
Processor off bus. Press test switch to continue
Checking [.........................]OK

1.r.a All tests

This option, runs all tests shown (1. - 4.). The on screen information for each test is the same as that shown above.

1.s. Standard serial ports

The Standard serial port tests, check the main IOCOMM asynchronous serial ports for correct operation. The tests require a loopback / loopbacks (additional loopbacks are available from your supplier) to be fitted to the ports for the tests to run. To start the tests, type s. The following sub-menu will appear on the screen.

Standard serial port tests
1. Host interface check
2. Loopback test all ports
3. Loopback test one port at a time

q. Quit

1.s.1 Host interface check

This test checks the UART host interface.

Testing UART host interface
UART host interfaces OK

1.s.2 Loopback test all ports

This test checks all serial ports. A full set of loopbacks is required (Authorised Repair centres only).

Please install loopbacks on all standard serial ports

(install loopbacks as required, and then)

Press Y to continue. Y
Testing standard serial ports
Testing port [port number(s)]

Testing standard serial ports
All standard serial ports OK

(or error message(s), if appropriate)

1.s.3 Loopback test one port at a time

This test checks individual serial ports as required (with a loopback connector fitted).

Install loopback for testing on port 1
t. Test this port
s. Skip this port
p. Previous port
q. Quit

(install loopback and select t if port1 is to be tested)

Press Y to continue. y 

(select s if you wish to skip this port)

Repeat the above procedure for each port in turn

1.v. Version information

The Version information page, displays details of the current IOCOMM firmware version and build date. This information is useful if you have a technical support issue. To view the Version information, type v. The following messages will appear on the screen.

FLASH boot V(x.yy) (build date)
Built by rjj on inferno
Copyright 1997-1998 Chase Research PLC
Z-lib compression version 1.0.4 patch 1 Copyright 1995-1996 Jean-loup Gailly and Mark Adler

Searching main firmware for version strings

Decompress [...........*.............]
Version 0.90
Built by rjj on inferno (build date)

Press any key to continue

1.c. Continuous test

Only Authorised Repair Centres will have a full set of loopback connectors.

The Continuous test carries out all tests that can be run without user intervention (once any required loopback connectors have been fitted) in a continuous loop. The tests display the normal progress information for each test. It is also possible to run different selections of tests repeatedly or for a fixed number of times using the command line based diagnostic monitor, which can be accessed by selecting option d. Debug monitor (see 1.d below). To run the Continuous test, type c. The following messages will appear on the screen.

QUICC based loopback
Testing [............................] OK
82503 based loopback Testing [............................] OK
Please install BNC stub and press Y to continue

Follow the on screen messages for the remainder of the tests

1.f Factory test (silent continuous)

The Factory test (silent continuous) carries out all tests that can be run without user intervention (once any required loopback connectors have been fitted). These tests only display information when an error is detected. It is also possible to run different selections of tests repeatedly or for a fixed number of times using the command line based diagnostic monitor, which can be accessed by selecting option d. Debug monitor (see below). To run the Factory test, press f on the keyboard. The following messages will appear on the screen.

Please install BNC stub and press Y to continue: y

Please install DB26 loopback plug in port B

Please install loopbacks in all standard serial ports

Press Y to continue: y

1.d Diagnostic monitor

The Diagnostic monitor allows you to customise the Factory tests and Continuous tests to check specific areas for correct operation. To view the Diagnostic monitor options, type d. The following messages will appear on the screen.

Diagnostic monitor

Enter ? for command summary

>

1.? For command summary

This option displays all of the commands that can be used in the Debug monitor routines. To display the command summary, type ?. The following will be displayed. 

> ? 
About
Information about software
Clear [type] start size [value]   Clear memory
Dump device                       Device register dump
Exit                              Return to menus
Forever command                   Repeat command forever
Goto address                      Jump to code
Help                              Print this summary
Memory [[type] start [size]]      Display block of
memory
Poke [type] address value         Poke one address with list of values
Quit                              Return to menus
Repeat count command              Repeat a command count times
Set [type] address value          Set consecutive locations from list
Test device                       Hardware tests
All numbers in hexadecimal and must start with digit (0-9) Types are Byte, Word or Quad Separate commands on line with ;

 

Note: All commands should be entered using their initial letter only and any numeric parameters in hexadecimal with a leading numeric digit. Spaces should be used to separate parameters.

1.q Quit

The Quit option takes you back to the main Operations menu.

Operations menu
1. Hardware diagnostics
2. Display exception information
3. Factory reset
4. Request password reset
5. Clear request flags
6. Download to RAM and run
7. Download to FLASH and run
q. Quit. Unpack FLASH and run
: q

2. Display exception information

The Display exception information option, can be displayed by typing 2. The menu enables you to check status information from the last detected software or hardware error or exception (this information can aid diagnosis of faults and should be reported in full when exceptions occur). Any exception status recorded will be displayed automatically on first entry to the bootstrap monitor or it may be displayed at any time by selecting 2. >From the main menu.

No exception recorded. Normal hardware
restart
Exception 0
Normal powerup

Location 00000000 00000000 00000000 00000000

3. Factory reset

The Factory reset sub-menu can be displayed by typing 3. This enables you to return the IOCOMM to its original factory default settings. The following sub-menu will be displayed:

Factory reset menu
h. Hard reset. Default and save all settings now
s. Soft reset. Delay save to allow existing configuration upload
q. Quit

3.h Hard reset

This option will reset the IOCOMM to its factory default settings and save the changes to FLASH memory immediately. You will see the following output on the console:

Clearing odd database

FLASH erase [........................]
Programming [........................] OK

Clearing even database

FLASH erase [........................]
Programming [........................] OK

Factory reset on restart flag set

Select q. Quit. Unpack FLASH and run to start the IOCOMM with factory defaults.

3.s Soft reset

As a safety measure, a soft reset will not be committed to FLASH memory until a configuration Web page is submitted to the IOCOMM.

When this option is selected, the following message will be displayed on the console:

Factory reset on restart flag set

Note: Using Soft reset, if you decide not to continue with the factory reset, before typing q, select 5. Clear request flags.

When you select q. Quit. Unpack FLASH and run, the factory reset will be performed upon start-up.

3.q Quit

The Quit option takes you back to the main Operations menu.

Operations menu
1. Hardware diagnostics
2. Display exception information
3. Factory reset
4. Request password reset
5. Clear request flags
6. Download to RAM and run
7. Download to FLASH and run
q. Quit. Unpack FLASH and run
      
: q

4. Request password reset

The Request password reset option, can be displayed by typing 4. This option enables you to return the IOCOMM to its factory default password (iocomm) if ever the password is forgotten.

When this option is selected, the following message will be displayed on the console:

Password reset on restart flag set

When you then select q. Quit: Unpack FLASH and run, a password reset will be performed upon start-up.

Note: If you have selected 4. Request password reset and before typing q, you decide you do not wish to continue, select item 5. Clear request flags. This will prevent the password reset from being performed.

5. Clear request flags

The Clear request flags option, is selected by typing 5. This option enables you to clear the request flags which have been set for the factory reset and password reset options (see also 3. and 4. above).

6. Download to RAM and run

The Download to RAM and run option, is selected by typing 6. The option allows you to download firmware into RAM without it being permanent. Consequently, this option is very useful for checking out new or updated versions of firmware, or re-loading an older version which is known to work if you are trying to identify a fault. The new firmware downloaded to RAM will not be permanent until you run option 7.

7. Download to FLASH and run.

The Download to FLASH and run option, is selected by typing 7. This option enables you to upgrade the firmware on the IOCOMM. The operation will attempt DHCP/BOOTP discovery of the network configuration and the location of a TFTP host and file to download the new firmware from. Once the discovery has been performed, you will be prompted with each parameter in turn and allowed to confirm, override or if necessary, provide each value.

q. Quit. Unpack FLASH and run

The Quit. Unpack FLASH and run option, can be selected by typing q. This option implements any changes made in the Operations menu, decompresses the IOCOMM firmware and reboots the unit.

000127


Links to Other Chapters 

  Introduction | Set-up | Configuration | Bootstrap | Indicators | Troubleshooting | Event Logging (syslog) | Exception Display | iocommd | Command Line Interface | Connectors and Cabling | Technical Specification | Glossary of Terms | Accessories