module ti.sysbios.family.arm.f2838x.init.Boot

TMS320F2838X device Boot Support

The Boot module supports boot initialization for the CM core. Two special Boot init functions are created based on the configuration settings for this module. One function is an xdc.runtime.Reset function (called early at boot prior to cinit processing), and the second function is an xdc.runtime.Startup first function (called before main()). [ more ... ]
C synopsis target-domain sourced in ti/sysbios/family/arm/f2838x/init/Boot.xdc
DETAILS
The Boot module supports boot initialization for the CM core. Two special Boot init functions are created based on the configuration settings for this module. One function is an xdc.runtime.Reset function (called early at boot prior to cinit processing), and the second function is an xdc.runtime.Startup first function (called before main()).
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.
Module-Wide Built-Ins

C synopsis target-domain
Types_ModuleId Boot_Module_id();
// Get this module's unique id
 
Bool Boot_Module_startupDone();
// Test if this module has completed startup
 
IHeap_Handle Boot_Module_heap();
// The heap from which this module allocates memory
 
Bool Boot_Module_hasMask();
// Test whether this module has a diagnostics mask
 
Bits16 Boot_Module_getMask();
// Returns the diagnostics mask for this module
 
Void Boot_Module_setMask(Bits16 mask);
// Set the diagnostics mask for this module
 
Configuration settings sourced in ti/sysbios/family/arm/f2838x/init/Boot.xdc
var Boot = xdc.useModule('ti.sysbios.family.arm.f2838x.init.Boot');
module-wide constants & types
    var obj = new Boot.ModuleView// ;
        obj.disableWatchdog = Bool  ...
        obj.configureFlashController = Bool  ...
        obj.configureFlashWaitStates = Bool  ...
        obj.enableFlashProgramCache = Bool  ...
        obj.enableFlashDataCache = Bool  ...
        obj.pllSourcedINTOSC = Bool  ...
        obj.bootFromFlash = Bool  ...
module-wide config parameters
 
 
metaonly struct Boot.ModuleView
Configuration settings
var obj = new Boot.ModuleView;
 
    obj.disableWatchdog = Bool  ...
    obj.configureFlashController = Bool  ...
    obj.configureFlashWaitStates = Bool  ...
    obj.enableFlashProgramCache = Bool  ...
    obj.enableFlashDataCache = Bool  ...
    obj.pllSourcedINTOSC = Bool  ...
    obj.bootFromFlash = Bool  ...
 
 
metaonly config Boot.bootFromFlash  // module-wide

Boot from Flash flag. Default is true

Configuration settings
Boot.bootFromFlash = Bool true;
 
DETAILS
Set to true to enable booting CM from Flash.
 
metaonly config Boot.common$  // module-wide

Common module configuration parameters

Configuration settings
Boot.common$ = Types.Common$ undefined;
 
DETAILS
All modules have this configuration parameter. Its name contains the '$' character to ensure it does not conflict with configuration parameters declared by the module. This allows new configuration parameters to be added in the future without any chance of breaking existing modules.
 
metaonly config Boot.configureFlashController  // module-wide

Flash controller configuration flag, default is true

Configuration settings
Boot.configureFlashController = Bool true;
 
DETAILS
Set to true to enable the configuration of the Flash controller wait states, program and data cache.
 
metaonly config Boot.configureFlashWaitStates  // module-wide

Flash controller wait states configuration flag, default is true

Configuration settings
Boot.configureFlashWaitStates = Bool true;
 
DETAILS
Set to true to configure the Flash controller wait states. The number of wait states is computed based upon the CPU frequency.
 
metaonly config Boot.disableWatchdog  // module-wide

Watchdog disable configuration flag, default is false

Configuration settings
Boot.disableWatchdog = Bool false;
 
DETAILS
Set to true to disable the watchdog.
 
metaonly config Boot.enableFlashDataCache  // module-wide

Flash controller data cache enable flag, default is true

Configuration settings
Boot.enableFlashDataCache = Bool true;
 
DETAILS
Set to true to enable the Flash controller's data cache.
 
metaonly config Boot.enableFlashProgramCache  // module-wide

Flash controller program cache enable flag, default is true

Configuration settings
Boot.enableFlashProgramCache = Bool true;
 
DETAILS
Set to true to enable the Flash controller's program cache.
 
metaonly config Boot.loadSegment  // module-wide

Specifies where to load the Flash controller configuration function

Configuration settings
Boot.loadSegment = String undefined;
 
DETAILS
If 'configureFlashController' is true, then this parameter determines where the ".ti_sysbios_family_arm_f2838x_init_flashfuncs" section gets loaded.
 
metaonly config Boot.pllSourcedINTOSC  // module-wide

Internal OSCCLK configuration flag, default is true

Configuration settings
Boot.pllSourcedINTOSC = Bool true;
 
DETAILS
Set to true to indicate PLLSYSCLK is derived from either INTOSC1 or or INTOSC2, set to false if PLLSYSCLK is derived from an external crystal (XTAL).
 
metaonly config Boot.rovViewInfo  // module-wide
Configuration settings
Boot.rovViewInfo = ViewInfo.Instance ViewInfo.create;
 
 
metaonly config Boot.runSegment  // module-wide

Specifies where to run the Flash controller configuration function

Configuration settings
Boot.runSegment = String undefined;
 
DETAILS
If 'configureFlashController' is true then this parameter determines where the ".ti_sysbios_family_arm_f2838x_init_flashfuncs" section gets executed at runtime.
generated on Thu, 23 May 2019 00:22:55 GMT