Boot Flow chart SC12 @CHIP-RTOS V1.10
IPC@CHIP Documentation Index
Introduction
- This page describes the boot process and its error handling of the IPC@CHIP.
Also a list of all possible errors during boot up is attached.
Boot Flow Chart
The boot process consists of two steps. In the first step the bootloader will be executed.
It checks on the serial EXT port if an @CHIP-RTOS update request comes in (from
CHIPTOOL). If not, the bootloader goes to the second step by jumping into the @CHIP-RTOS
startup code. Below there are the flow charts of step one (bootloader) and step two (@CHIP-RTOS)
The errors in the diagrams will be described in the next point (Possible Error while the boot process)
- Boot Flow chart of the @CHIPs bootloader:
- Boot Flow chart of the @CHIP-RTOS:
Top of list Index page
Possible errors during the boot process
During the boot process there could occur some errors. All possible errors are
mentioned in the list below. They do prevent the start of the AUTOEXEC.BAT, so
your application will not start automaticly (to prevent fatal errors while runtime).
The error which occurs will be printed on the Command Shell via the COM port.
- RAM Error:
On startup of the @CHIP-RTOS a RAM test will be performed. If it fails, the @CHIP
prints the error message "RAM ERROR" on the COM port (using 19200 Baud and 8N1,
regardless the entry in the CHIP.INI). The @CHIP-RTOS freezes after the error message
output (does not boot!).
- Checksum Error:
During the boot process a checksum over the complete @CHIP-RTOS image in the flash
will be generated. This checksum must be equal to the checksum which was written
with the @CHIP-RTOS update (in a special sector on the flash). If the checksum is
not equal, the error message "Fatal BIOS checksum error" will be shown on the serial
console. The system will boot, but the execution of the AUTOEXEC.BAT will be prevented.
- Flash Error:
Every flash write access of the @CHIP-RTOS will be verified. If the flash
access fails, an internal flag will be set, to mark the sector which should be
written as defect. On the next reboot the error message "Flash error at sector: xx"
will be shown on the serial console. The system will boot, but the execution of the
AUTOEXEC.BAT will be prevented.
- Network Error:
During the init process of the TCP/IP it could be possible that a network error
occurs (mostly it is a hardware defect). In this case the message "Fatal Network
Error" will be printed on the serial console of the IPC@CHIP. The system will
boot, but the execution of the AUTOEXEC.BAT will be prevented.
Top of list Index page
End of document
|