我目前正尝试在xdctools 3.25.6.96版本的F2812平台上使用SYS/BIOS 6.37.5.35。
我遇到的问题是,当我试图设置PLL配置时,我会收到一个警告:
没有分配PLL类型,因此启动模块不会配置PLL。
这是因为Platform.xs中的以下代码
if (this.deviceName.match(/2837/) || this.deviceName.match(/2807/)) {
var Boot = xdc.useModule('ti.catalog.c2800.initF2837x.Boot');
Boot.configureClocks = true;
}
else {
var Boot = xdc.useModule('ti.catalog.c2800.init.Boot');
Boot.disableWatchdog = true;
Boot.configurePll = true;
Boot.pllcrDIV = 10;
Boot.pllstsDIVSEL = 2;
/*
* Set the Boot.pllType based on device name. We set pllType
* to undefined for the devices that we don't support.
*/
if (this.deviceName.match(/2802[0-9]/) ||
this.deviceName.match(/2803[0-9]/) ||
this.deviceName.match(/2805[0-9]/) ||
this.deviceName.match(/2806[0-9]/)) {
Boot.pllType = Boot.Type_2802x_2803x_2806x;
}
else if (this.deviceName.match(/2823[0-9]/) ||
this.deviceName.match(/2833[0-9]/)) {
Boot.pllType = Boot.Type_282xx_283xx;
}
else if (this.deviceName.match(/2834[0-9]/)) {
Boot.pllType = Boot.Type_2834x;
}
else {
Boot.configurePll = false; /* do not set up PLL */
Boot.pllType = undefined; /* unknown device */
/* if get here the PLL type is not assigned, throw warning ... */
this.$module.$logWarning("The PLL type is not assigned, so the Boot"
+ " module will not configure the PLL.", this);
}
}这是否意味着sys/bios中的2812不支持PLL配置?
感谢和问候,
尼基尔·科蒂安。
发布于 2016-03-07 21:17:19
我在文档中发现,PLL不能在SYS/BIOS上配置为2812。因此,需要通过设置PLLCR寄存器来配置PLL。
https://stackoverflow.com/questions/35634213
复制相似问题