TI中文支持网
TI专业的中文技术问题搜集分享网站

C6678 SPI boot失败

TI工程师您好,我参考 no boot方式后,使用ti提供的nor writer将产生的dat文件烧写到板子中,烧写过程中用示波器检测到spi data in有数据,且console显示成功,烧写完成后设置为spi boot,断电重启后,用JTAG观测到仍然停留在RBL中,启动失败,DEVSTAT寄存器的值为0x0000140D,0x00873680地址处与写入boot parameter table中数值相同,参数表如下所示,请问启动失败的可能原因是什么呢?参数表是否有误?

0x00005000
0x00003200
0x02001340
0x18000100
0x00000400
0x00000100
0x0000e803
0x0000f401
0x00000004 

Nancy Wang:

DEVSTAT我对照看了一下,是ROM SPI Boot。
parameter table是否有误?
直接看参数值看不出来,建议将你的.map文件和实际自制板的情况对照看一下。

user4683768:

回复 Nancy Wang:

我看到手册上有提到
The main PLL stays in bypass mode for no-boot, SPI, and I2C boot. For other boot modes, a PLL initialization sequence executes inside the boot ROM to configure the main PLL in PLL mode.
这个boot parameter table中设置pll为bypass模式,那sw_pll_prediv,sw_pll_mult,sw_pll_postdiv,等值设定还有用吗?

Nancy Wang:

回复 user4683768:

你是使用的自己配置的boot parameter table吧?
有作用。可参考看一下I2C部分的描述。
In this mode, the I2C is configured as master. The first block (identified in the boot configuration) will contain the boot parameter table for I2C specifying the correct PLL configurations for the CorePacs.
这个帖子中的步骤有参考看过吧?
e2echina.ti.com/…/100597
先把boot parameter table中的参数核对看看,比如片选信号之类的。

user4683768:

回复 Nancy Wang:

你好,我目前遇到的情况是core0可以正常boot起来,运行下来没有问题,但是从核中有core5-core7均没有boot起来,请问这可能是什么原因呢?

赞(0)
未经允许不得转载:TI中文支持网 » C6678 SPI boot失败
分享到: 更多 (0)