Echelon Series 6000 Chip databook User Manual
Page 80
The state initialization task determines if the external flash needs to be initialized; if it does
need to be initialized, the state initialization task configures the Series 6000 chip with the
default communication parameters and copies them to the external flash. This chip also
enters the applicationless state.
The scheduler initialization task allows the application processor to perform application-
related initialization:
•
State wait — Wait for the device to leave the applicationless state.
•
Initialization step — Execute initialization task, which is created by the
compiler/linker to handle initialization of static variables and the timer/counters.
•
I/O pin initialization step — Initialize I/O pins based on application definition.
Prior to this point, I/O pins are high impedance.
•
State wait II — Wait for the device to leave the unconfigured or hard-offline state.
If waiting was required, a flag is set to indicate that the device should come up
offline.
•
Parallel I/O synchronization — Devices using parallel I/O attempt to execute the
master/slave synchronization protocol.
•
Reset task — Execute the application reset task (when (reset){ }).
•
Flag check — If the offline flag was set, the chip goes offline and executes the offline
task (when(offline){ }). If the BIST flag indicated a failure, the SERVICE LED is
turned on and the offline task is executed. Otherwise, the scheduler starts its normal
task scheduling loop.
The amount of time required to perform these steps depends on a variety of factors,
including: Series 6000 chip model; configured system clock rate; whether the device is
applicationless, configured, or unconfigured; amount of configured extended RAM; and
application initialization.
68
Hardware Resources