板卡使用的是TI的C6678的开发板,使用TI的C6678_directRom_Boot_examples中的闪灯的例子烧写flash,显示烧写成功,但断电后,上电无法正常运行。
问题:1.在线运行闪灯正常,烧写进去后,没有闪灯,PC指针停留在0x20b0ccd4,不知道问题出在哪。
2.从spi flash加载是只能IBL二次加载吗,是否能直接加载。
3.除了按照例子中的准备工作外,还需要其它的设置吗?
我是新手,刚开始做,不太理解,希望大家帮帮忙解答一下。
Shine:
请问是按照C6678_SPIboot_usersManual.pdf的步骤Task3: Flash the EVM SPI flash和Task 6: Boot from NOR SPI做的么?
烧写的是C6678\spiboot\bin\writer\app.dat吧?烧写后,检查一下boot管脚有没有设置成SPI boot mode。另外,检查一下EVM板上C6678是不是PG2.x版本的?如果是1.0之前的版本,需要二次bootloader的来修复PLL bug。具体说明可以参考下面的wiki网站。
processors.wiki.ti.com/…/KeystoneI_Bootloader_Resources_and_FAQ
user4669815:
回复 Shine:
感谢回复,是按照pdf中的步骤烧写的,烧写是app.dat文件,管脚设置是1011 0000 0010 0000.从哪里可以确认C6678的版本呢?
user4669815:
回复 Shine:
Can C6678 be booted up directly from SPI Nor Flash, without the participation of I2C? Is it necessary to program IBL and IBL configuration on I2C EEPROM at bus address 0x51 when I test SPI boot mode on TMDXEVM6678L?
Yes. It is possible. With the silicon revision 1.0, the PLL fix is required. With the silicon revision 2.0, the PLL fix is not required(the IBL workaround is not required).
On the Keystone I EVM, for ROM boot modes (EMAC,SRIO,PCIe,Hyperlink,SPI etc) and I2C boot mode with bus address 0x50, DSP will initially boot from I2C EEPROM bus address 0x51(IBL) which does the PLL reset workaround, updates the DEVSTAT for appropriate values based on the DIP switch settings (SW3 through SW6 settings) and then re enters the ROM to accomplish the desired boot mode.
Please review the errata document to understand the conditions of the PLL locking problem and the workaround. This is Advisory 8. The errata specifies a workaround option for "no-boot, SPI and I2C boot modes", so you could do the same thing with a SPI Flash instead of I2C EEPROM.
On the EVM, this is implemented using an FPGA and I2C EEPROM 0x51 to allow you to have as much flexibility as possible with your EVM boot selection. If the EVM is used, it is necessary to program the IBL and its configurations in address 0x51.
是参照这个说明吗,具体参考那个勘误表进行修改呢,是不是需要重新烧写IBL?
user4669815:
回复 Shine:
查看了版本芯片上的丝印为TMS320C6678CYP YB-20-31 ZEJR9 @2010 TI 2 CYP G1,说明芯片应该是2.0版本的吧。如果是2.0版本的,这个问题改怎么解决
Shine:
回复 user4669815:
chun dong查看了版本芯片上的丝印为TMS320C6678CYP YB-20-31 ZEJR9 @2010 TI 2 CYP G1,说明芯片应该是2.0版本的吧。如果是2.0版本的,这个问题改怎么解决
user4669815:
回复 Shine:
确认过了,又试了一遍,还是不行。这该怎么查,还需要有其它的需要注意的地方吗?
Shine:
回复 user4669815:
那用仿真器跟一下,看是代码没加载进来还是没运行起来。还是设成spi boot模式,连上仿真器,板子重新上电,Load symbol再去跟踪。
processors.wiki.ti.com/…/Debugging_Boot_Issuesuser4669815:
回复 Shine:
指针走到0x20b0ccd4后就不动了,应该是没运行吧
user4669815:
回复 Shine:
您好,还是不行,怎么办