metaonly module ti.catalog.c2800.init.Boot

28x Boot Support

The Boot module supports boot initialization for the 28x devices. A special boot init function is created based on the configuration settings for this module. This function is hooked into the xdc.runtime.Reset.fxns[] array and called very early at boot time (prior to cinit processing). [ more ... ]
XDCscript usage meta-domain sourced in ti/catalog/c2800/init/Boot.xdc
var Boot = xdc.useModule('ti.catalog.c2800.init.Boot');
module-wide constants & types
    var obj = new Boot.ModuleView// ;
        obj.disableWatchdog = Bool  ...
        obj.configurePll = Bool  ...
        obj.pllcrDIV = UInt  ...
        obj.pllstsDIVSEL = UInt  ...
module-wide config parameters
 
DETAILS
The Boot module supports boot initialization for the 28x devices. A special boot init function is created based on the configuration settings for this module. This function is hooked into the xdc.runtime.Reset.fxns[] array and called very early at boot time (prior to cinit processing).
The code to support the boot module is placed in a separate section named ".text:.bootCodeSection" to allow placement of this section in the linker .cmd file if necessary. This section is a subsection of the ".text" section so this code will be placed into the .text section unless explicitly placed, either through Program.sectMap or through a linker command file.
 
struct Boot.ModuleView
XDCscript usage meta-domain
var obj = new Boot.ModuleView;
 
    obj.disableWatchdog = Bool  ...
    obj.configurePll = Bool  ...
    obj.pllcrDIV = UInt  ...
    obj.pllstsDIVSEL = UInt  ...
 
 
config Boot.configurePll  // module-wide

PLL configuration flag, default is false

XDCscript usage meta-domain
Boot.configurePll = Bool false;
 
DETAILS
Set to true to automatically configure the PLL.
 
config Boot.disableWatchdog  // module-wide

Watchdog disable flag, default is false

XDCscript usage meta-domain
Boot.disableWatchdog = Bool false;
 
DETAILS
Set to true to automatically disabled the watchdog timer.
 
config Boot.pllcrDIV  // module-wide

PLLCR[DIV] value. Default is 10

XDCscript usage meta-domain
Boot.pllcrDIV = UInt 10;
 
DETAILS
This is the actual value written to the DIV bits in the PLL Control Register (PLLCR)
 
config Boot.pllstsDIVSEL  // module-wide

PLLSTS[DIVSEL] value. Default is 2

XDCscript usage meta-domain
Boot.pllstsDIVSEL = UInt 2;
 
DETAILS
This is the actual value written to the DIVSEL bits in the PLL Status Register (PLLSTS)
 
config Boot.rovViewInfo  // module-wide
XDCscript usage meta-domain
Boot.rovViewInfo = ViewInfo.Instance ViewInfo.create;
 
generated on Mon, 02 May 2011 23:04:21 GMT