1 2 3 4 5 6 7 8 9 10 11
12
13 14 15 16
17
18 package ti.catalog.c2800.init;
19
20 import xdc.rov.ViewInfo;
21
22 @Template("./Boot.xdt")
23
24 metaonly module Boot
25 {
26 metaonly struct ModuleView {
27 Bool disableWatchdog;
28 Bool configurePll;
29 UInt pllcrDIV;
30 UInt pllstsDIVSEL;
31 }
32
33 @Facet
34 metaonly config ViewInfo.Instance rovViewInfo =
35 ViewInfo.create({
36 viewMap: [
37 [
38 'Module',
39 {
40 type: ViewInfo.MODULE,
41 viewInitFxn: 'viewInitModule',
42 structName: 'ModuleView'
43 }
44 ],
45 ]
46 });
47
48 /*!
49 * Watchdog disable flag, default is false.
50 *
51 * Set to true to automatically disabled the watchdog timer.
52 */
53 config Bool disableWatchdog = false;
54
55 /*!
56 * PLL configuration flag, default is false.
57 *
58 * Set to true to automatically configure the PLL.
59 */
60 config Bool configurePll = false;
61
62 /*!
63 * PLLCR[DIV] value. Default is 10.
64 *
65 * This is the actual value written to the DIV bits in
66 * the PLL Control Register (PLLCR)
67 */
68 config UInt pllcrDIV = 10;
69
70 /*!
71 * PLLSTS[DIVSEL] value. Default is 2.
72 *
73 * This is the actual value written to the DIVSEL bits in
74 * the PLL Status Register (PLLSTS)
75 */
76 config UInt pllstsDIVSEL = 2;
77
78 /*!
79 * Code section that Boot module code is in.
80 *
81 * To place this section into a memory segment yourself, add the
82 * following to you configuration file:
83 *
84 * @p(code)
85 * Program.sectMap[Boot.bootCodeSection] = new Program.SectionSpec();
86 * Program.sectMap[Boot.bootCodeSection].loadSegment = "yourBootCodeMemorySegment";
87 * @p
88 *
89 * or to place the code at a specific adress:
90 *
91 * @p(code)
92 * Program.sectMap[Boot.bootCodeSection] = new Program.SectionSpec();
93 * Program.sectMap[Boot.bootCodeSection].loadAdress = yourBootCodeAddress;
94 * @p
95 *
96 */
97 readonly config String bootCodeSection = ".bootCodeSection";
98
99 /*!
100 * @_nodoc
101 * Configure the external memory interface (XINTF) for the eZdsp283xx
102 * devices.
103 *
104 * This will eventually be replaced by a more generic API for configuring
105 * the XINTF on any 28x device.
106 */
107 config Bool enableEzdspXintfConfig = false;
108 };
109 110 111
112