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.

problem with Programing IBL Configuration

I want to program the "hello word " demo with nor flash via I2C boot , but when I Program "IBL Configuration"table wtih EEPROM, I has the problem:

 steps for Programing "IBL Configuration":
    (a) Make sure that the boot mode dip switch is set to no boot/EMIF16
       boot mode on the EVM (please refer to the EVM technical reference manual
    on how to set the boot mode dip switches.
   (b) Open CCSv5 and launch the evmc66xx emulator target configuration and connect to core 0.
   (c) Load the program i2cparam_c6678_le.out to CCS.
   (d) Run the program and a message "Run the GEL for the device to be configured,
       press return to program the I2C" will be printed on the CCS console.
   (e) Load i2cConfig.gel (in CCSv5 Tools->GEL Files, right click mouse in GEL Files
       window and select "Load GEL"
   (f) Run the GEL script "EVM c6678 IBL"->setConfig_c6678_main, this will set the
       default boot parameters for booting application images from NOR, NAND and
       Ethernet.
   (g) Now press "Enter" in the CCS console window, and the program will write the
       boot parameter table to the EEPROM. On success the message "I2c table write complete"
    will be printed on the CCS console

IN step (d), the ccs output this :" cont find "memst.c" file,then I locate the file,and goon,

IN step (g), the CCS run all the time without an end,maybe DSP is error

So, as a result , I cann't boot the demo from noe flash via I2C ,can you help me?

Thanks!

  • HI Gang,

    Did you try the default .out and gel file provided with the MCSDK release? I tried the steps and find no issues. One more thing, do you have any problem getting the .out file. Because I am not sure why while running you are getting the memset error.

     

    Thanks,

    Arun.

  • Tkanks very much for your reply,Then my problems are :

    1,I am sure that I did try the default .out file and gel file provided with the MCSDK(mcsdk_02_00_01_12) ,and my CCS is v5.0.3.00028.

    2,In step (d), the .out file I used was  'i2cparam_c6678_le_0x500.out' that provided by MCSDK; and the gel I used was 'I2cconfig.gel' which was also provided by MCSDK wtihout any modified.

    3,After loading the .out file ,when running the main function 'I2cpara.c',it can not find the memset.c.

    4,So,maybe you are right,my 'i2cparam_c6678_le_0x500.out'file proiveded by www.ti.com has any problem ,can you
    send your .out file and gel to me,and let me try the programming again.Wish your E-mail!

    Thanks !

  • Hi Arunmani:

    Now ,I  give the whole steps for you ,can you help me wtih the nor boot?

    NOR boot over I2C example

    .task

    how to build an Hello World example application and program it to NOR, and boot the Hello World image from the NOR flash on C6678LEVM

     

    example project

    C:\Program Files\Texas Instruments\mcsdk_2_00_01_12\tools\boot_loader\examples\i2c\nor\evmc6678l

     

    Guide

    refer to C:/Program Files/Texas

    Instruments/mcsdk_2_00_00_xx\tools\boot_loader\examples\i2c\nor\docs\README.txt

     

    sofeware

    CCS  v5.0.0.28

    MCSDK  v2.0.1.12

     

    My steps

    1. Programing "IBL" on the EEPROM at bus address 0x51

       (a) Use the I2C EEPROM writer for c6678 EVM from the MCSDK distribution.

       (b) Program i2crom_0x51_c6678_le.dat (IBL image) to the EEPROM at I2C BUS

          address 0x51 following the EEPROM writer's procedure.

    NoteThese steps were done successfully

     

    2. Programing "IBL Configuration"

       (a) Make sure that the boot mode dip switch is set to no boot/EMIF16

          boot mode on the EVM

       (b) Open CCSv5 and launch the evmc66xx emulator target configuration and connect to core0.

       (c) Load the program i2cparam_0x51_c6678_le_0x500.out to CCS.

       (d) Run the program and a message "Run the GEL for the device to be configured,

          press return to program the I2C" will be printed on the CCS console.

       (e) Load i2cConfig.gel

       (f) Run the GEL script "EVM c6678 IBL"->setConfig_c6678_main, this will set the

          default boot parameters for booting application images from NOR, NAND and

           Ethernet.

       (g) Now press "Enter" in the CCS console window, and the program will write the

          boot parameter table to the EEPROM. On success the message "I2c table write complete" will be printed on the CCS console.

    Noteproblem was

    In step (c),after Loading the program i2cparam_0x51_c6678_le_0x500.out to CCS the ccs cannot find the memset.c file.

    The words output are:

    Can’t find a source file at”/sin/sds12/scratch/tsuch_rtsbuild_dflcmp2507.dal .design. ti.com_23248_linux/c60_rts/./memset.c

    Maybe the red words result the whole NOR FLASH BOOT failure.

     

    3. Programming the application on NOR flash

       (a) Use the NOR writer c6678 EVM from the tools directory.

       (b) Flash the Application to NOR. For instructions please follow the instructions given along with the NOR writer.

    NoteThese steps were done successfully.

     

    4  Connect serial cable from board to PC and open a serial port console and ste as follow:

      bits per second 115200

       data bits 8

       parity none

       stop bits 1

       flow control none

    六.Problems:

    1,When power on the board and the image should be booted from NOR and the console should show bootup messages, but I cannot see the messages output.by serial cable.What’s the problem of my steps, why can not NOR boot over I2C correctly? Where is wrong by flashing NOR FLASH with the ‘C:\Program Files\Texas Instruments\mcsdk_2_00_01_12\tools\boot_loader\examples\i2c\nor \evmc6678l ’ example application for NOR boot over I2C ?

    2, When I had done all the jobs, the EVM board seems can’t boot from EEPROM , because when I set the dip switch to the post mode ,all the LEDs keep on,and never off. Maybe I have program  the wrong IBL and IBL configurate file.

    3,Can you give me your files:

    ‘i2crom_0x51_c6678_le.dat’, ‘i2cparam_0x51_c6678_le_0x500.out’, ‘i2cConfig.gel’,’ i2cnorboot_evm6678l.out’,

    and let me try again?