Compactflash Partitioning; Thermal Sensor; Front Panel Leds And Switch - PC Engines WRAP User Manual

Router platform
Table of Contents

Advertisement

The active options are marked by *, e.g. *3* means 38400 baud mode is active. Setup options are
stored in a 4KB block of flash, not in RTC CMOS. The following options can be set:
-
Baud rate 9600 baud (9) or 38400 baud (3). Default is 38400 baud.
-
CompactFlash translation mode CHS (C) or LBA (L). Default is CHS.
-
XMODEM upload of new firmware (X). Start transmission when prompted. 128 byte and 1024
byte packet sizes can be accepted, CRC mode only. Checksum mode is not supported as it is
considered too risky for firmware upgrade.
The actual flash update algorithm is included in the uploaded file. Flash programming takes
about two seconds. If power fails during this time, the BIOS chip will need to be reprogrammed
through other means.
-
Quit (Q) – setup will ask whether it should write the new settings to flash (Y) or not (N).
OEMs can request a utility to insert their own sign-on message into the BIOS binary.

CompactFlash partitioning

tinyBIOS is set up to configure the CF card in CHS mode. CHS mode is dependent on the
geometry of the CF card, but is more likely to work consistently across systems.
If using LBA mode, please make sure that the disk geometry on the system where the card is
initialized matches that shown by the WRAP BIOS during startup. A mismatch will cause problems.
Another possible issue are cards with IDE DMA support – the DMA signals are a fairly recent
addition to the CF spec, and are not supported by WRAP. If you experience problems with IDE
access later in the boot process, try to disable IDE DMA in your operating system.

Thermal sensor

The thermal sensor will reset the system when the temperature exceeds a critical level (power on
default = 80C). Reset will be released when the temperature goes back down.
The LM77 thermal sensor sits on the secondary I2C bus, at address 90h. DOS based sample code is
available on request. National also has a Linux driver for the I2C, but this probably needs some
work.

Front panel LEDs and switch

LED1 (D3)
GPIO2
LED2 (D2)
GPIO3
LED3 (D1)
GPIO18
Switch (S1)
GPIO40
With tinyBIOS, GPIOBASE is 0F400h. If you would like to write a more generic driver, use the
SC1100 I/O base registers to determine GPIOBASE.
WRAP router platform
write I/O port [GPIOBASE] bit 2
write I/O port [GPIOBASE] bit 3
write I/O port [GPIOBASE] bit 18
read I/O port [GPIOBASE+20] bit 8
10
0 = light
0 = light
0 = light
0 = pressed
2/13/2007

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wrap.1cWrap.1dWrap.1eWrap.2bWrap.2cWrap.2d ... Show all

Table of Contents