beautypg.com

Software upgrade – Welch Allyn LC101 CO2 Module - User Manual User Manual

Page 61

background image

LC101 CO

2

Module OEM Implementation Manual

Appendix A - Software Prodedures

Welch Allyn OEM Technologies

Confidential

Page 61

The table can be created by the following code:

void make_table_8(void)
{
const unsigned char feedback_8=0xA1;
unsigned char CCITT/CRC;

unsigned int i;
unsigned char j,tmp;
for (i=0; i<256;i++){

tmp=i
CCITT/CRC=0;
for (j=0; j<8;j++){

if ((tmp&1)^(CCITT/CRC&1))

CCITT/CRC=(CCITT/CRC>>1)^feedback_8;

else

CCITT/CRC>>1;

tmp>>=1;

}
CCITT/CRC_table_8[i]=CCITT/CRC;

}

}

Software Upgrade

The LC101 Module's software may be updated in the field through the Module's serial link into
the processor's FLASH memory. The host system is responsible for providing access to the
Module’s serial link either by allowing pass through to the Module from the host main control
board, or by allowing external access to the Module serial link within the host system.

Control of the software transfer is handled by the boot block of the Module's processor. If transfer
of a new program is disrupted during a download, it may be restarted to overwrite any corrupted
data.

Welch Allyn OEM Technologies will provide a software load application when software upgrades
are required. To load new executive code into the Module via the serial port of a PC or laptop,
you will use the download application provided by Welch Allyn OEM Technologies.