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.

TMS320C6678: C6678 Boot time

Part Number: TMS320C6678

Hi, I am working on a project with TMX320C6678L Rev1.0 EVM board

i have three program that run on 8 core, i use MAD to generate boot image (boot image size is 4.2 MB) every thing is OK and the program boot from NAND using IBL.

But i measure that it take 8 sec to boot IBL (it print on serial IBL version 1.0.0.13) and after booting IBL it take 12 sec to boot program image from NAND and run the MAD loader to load program on 8 core

the boot time take 20 sec !!

is there any way to reduced time boot.

  • Saman,

    The initial boot of IBL from I2C EEPROM is done by bootROM with PLL in bypass mode but the IBL first stage should be setting up the PLL to run the core at full speed. Can you confirm that after IBL firststage is loaded the SYS PLL and other device PLL is setup to run the device at full speed. 

    I recommend that you look at  SYSCLK out or connect to core during the 20 sec boot process and run the GEL to look at the system state.  

    Shannon_SystemDebug_v0.4.gel

    You can also look at the EMIF signals to check the speed at which the images are being read from NAND. 

    Regards,

    Rahul

    PS: the 20 sec boot time is very high and not something that we have seen with our IBL based test setup. 

  • I load my MAD image in address 0x9e000000 (By emulator on core0)and set the Program counter (PC) to 0x9e001040 and run the core0.

    my program boot properly. when i program run,I print a message on my uart. when load the MAD image on DDR and run the program it take 7sec

    (the process that MAD loader load image on all core take 7sec !!)

  • please answer my question.

  • Saman,

    Did you get a chance to run the debug GEL to confirm the DSP is running at full speed. You can also check the SYSCLKOUT to see the speed at which the SYSCLK is running at.  Also, Can you confirm that you erased the NAND before flashing and there was no bad blocks detected. The RBL cycles through 32 blocks to find a good block to boot from if the blocks on the NAND are bad or have uncorrectable issues the boot process may be delayed. 

    This is C6678 EVM so to boot from flash you need to first boot IBL from I2C EEPROM. Can you add a while loop in the IBL code and then measure time that it takes for Core0 (where IBL is running) to load the multi-core application image.  

    Regards,

    Rahul