各位专家好!
我在做C6678的 NAND&NOR boot ,根据说明烧写完eeprom IBL和NOR、NAND flash代码后,选择NAND Boot:
Set the dip switches (pin1, pin2, pin3, pin4) to:
SW3(off, off, on, off),
SW4(on, off, on, on),
SW5(on, on, on, off),
SW6(on, on, on, on)
此时超级终端打印的信息如下:
IBL: PLL and DDR Initialization Complete
IBL Result code 00
IBL: Booting from NAND
IBL: Booting from NAND
IBL: Booting from NAND
IBL: Booting from NAND
........(下面一直打印的是相同内容,而点灯的代码并没有执行)
选择NOR Boot:
Set the dip switches (pin1, pin2, pin3, pin4) to:
SW3(off, off, on, off),
SW4(on, on, on, on),
SW5(on, on, on, off),
SW6(on, on, on, on)
此时超级终端打印的信息如下:
IBL: PLL and DDR Initialization Complete
IBL Result code 00
IBL: Booting from NOR
IBL: Booting from NOR
IBL: Booting from NOR
IBL: Booting from NOR
........(仍然一直打印的是相同内容,真正要加载的代码并没执行)。
此处所有的烧写方法都是按照\Texas Instruments\mcsdk_2_00_05_17\tools..里面的说明进行的。只不过烧写的代码是我自己写的应用程序(点灯或者对内存赋值程序,烧写前直接把test.out命名为test.bin或者直接拿test.out来烧写),
而如果我在nor flash中烧写的不是自己的应用程序,采用TI提供的HUA例程时,boot代码就能顺利执行,请问这是什么原因?
我个人怀疑的是DSP core0的boot magic address一直存放的I2C boot后的入口地址,没有被更新为应用程序的入口地址,希望有过类似经验的人出来指导一下,不胜感激!