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.

EVM6678LE I2C-Nor flash boot 与 SPI flash boot 的具体操作问题

SPI NOR boot

【6678/6670 SPI Nor flash  多核boot原理总结和demo 请参考12L 13L帖子的附件】

示例包括:

  • 单多核6670/6678 SPI boot 示例
  • cmd/cfg 部署在DDR的boot示例
  • 多核相同/不同 代码的boot 示例
  • 制作多核镜像工具及部分工具链源码
  • LED测试示例工程
  • C66x SPI Boot原理的文档和说明

----------------------------------------------------------------------------------------------------------------------------------------------------

I2C-SPI IBL 二级  BOOT

     1.  将IBL烧入EEPROM中(如果事先已经烧写过,可以不用做)

       1、将i2crom_0x51_c6678_le.bin文件从"mcsdk_2_00_05_17\tools\boot_loader\ibl\src\make\bin"拷贝到"mcsdk_2_00_04_16\tools\writer\eeprom\evmc6678l\bin"

       2、使用mcsdk_2_00_04_16\tools\writer\eeprom\evmc6678l\bin\eepromwriter_evm6678l.out进行烧写

        其中eepromwriter_input.txt的内容为:

        file_name  =  i2crom_0x51_c6678_le.bin
        bus_addr   = 0x51
        start_addr = 0
        swap_data  = 0

     2. 应用程序生成ELF 的 app.out,直接更名为app.bin.

       使用mcsdk_2_00_05_17\tools\writer\nor\evmc6678l\bin\norwriter_evm6678l.out 对app.bin进行烧写

       其中nor_writer_input.txt文件的内容为

       file_name  = app.bin

       start_addr = 0x80000000

 

       烧写步骤工程readme.txt有介绍

     3. 配置IBL

      1、运行程序mcsdk_2_00_05_17\tools\boot_loader\ibl\src\make\bin\i2cparam_0x51_c6678_le_0x500.out

      2、加载文件 i2cConfig.gel然后在CCS的DEBUG界面上点击,Srcipts->EVM c6678 IBL -> setConfig_c6678_main 

      3、几秒钟以后,在console界面上敲击回车键.

     1 2 3步骤时候的启动模式

      (pin1, pin2, pin3, pin4) 
      SW3(off, on, on, on), 
      SW4(on, on, on, on), 
      SW5(on, on, on, off),
      SW6(on, on, on, on)

      步骤3完成之后断电重启的启动模式

      (pin1, pin2, pin3, pin4) 
      SW3(off, off, on, off), 
      SW4(on, on, on, on), 
      SW5(on, on, on, off),
      SW6(on, on, on, on)

      此时实现核0的加载。