This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于I2C nand boot的一些细节问题



在一些资料上看到I2C nand boot的步骤,其中有下面几步的操作不太清楚:

2.运行程序mcsdk_2_00_04_16\tools\boot_loader\ibl\src\make\bin\i2cparam_0x51_c6670_le_
0x500.out
3.在gel中加载文件i2cconfig.gel然后在CCS的DEBUG界面点击,scripts -> EVMC6670IBL -> setConfig_C6670_main
4.几秒后,在console界面上敲击回车键

问题:

1、CCS5.2哪里有运行程序菜单?是不是指启动Debug后Load Program?

2、“在gei”?ccs菜单里没有找到能设置gei的项?难道是指在CCXML文件中的initialization script?

3、当上面两步正确操作后,console界面是不是会出现什么文字提示,然后回车?

 

  • 你好,加载工程,设置好targetconfiguration,点击Debug,CCS进入Debug模式,Load Program之后就是这些菜单。

    进入上面的模式后,右键点击dsp core,有一个加载GEL选项,在这里加载GEL,就会出现你需要的脚本。

    具体步骤请参看下面的:Flashing NAND FLASH with a user application for NAND boot over I2C

    http://processors.wiki.ti.com/index.php/BIOS_MCSDK_2.0_User_Guide#Flashing_NAND_FLASH_with_a_user_application_for_NAND_boot_over_I2C

  • 谢谢上面的解答。

    现在又出现了新问题,当我让i2cparam_0x51_c6657_le_0x500.out这个程序free run,然后点击Script->setConfig_c6657_main()后,报出以下错误;

    setConfig_c6657_main() cannot be evaluated.
    execution state prevented access
                at (ibl).iblMagic=0xCEC11EBC [i2cConfig.gel:1203]
                at setConfig_c6657_main()

    我打开i2cConfig.gel,看到以下内容

    #define ibl_MAGIC_VALUE     0xCEC11EBC

    .............

    menuitem "EVM c6657 IBL";

    hotmenu setConfig_c6657_main()
    {
     ibl.iblMagic = ibl_MAGIC_VALUE;
     ibl.iblEvmType = ibl_EVM_C6657L;

    ..........

    不知道是怎么解决