• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Digital Signal Processors (DSP) » C6000 Multicore DSP » Keystone Multicore Forum (C66, 66A, AM5) » Start application from Flash
Share
C6000 Multicore DSP
  • Forums
  • Announcements
Options
  • Subscribe via RSS
Training Available
TI provides self-paced online training that introduces the primary components of the KeyStone II family of SoC devices.

  • KeyStone II SoC Overview >
  • KeyStone II Software Overview >
  • KeyStone II ARM Cortex-A15 Corepac Overview >
  • More Information >
  • Check out
    Multicore Mix blog
    • $core_v2_blog.Current.Name

      OpenMP - All aboard!

      Posted 1 day ago
      by Debbie Greenstreet
      With so many end products today relying on multicore DSPs for...
    • $core_v2_blog.Current.Name

      A look back: Two years of Multicore Mix

      Posted 2 days ago
      by Lauren Reed1
      A big thank you to everyone who participated in our contest last...
    • $core_v2_blog.Current.Name

      It’s our second anniversary, but you get the present!

      Posted 9 days ago
      by Lindsey Bare
      It’s hard to believe it’s already been two years...

    Start application from Flash

    Start application from Flash

    This question is answered
    Andrey Savinkov
    Posted by Andrey Savinkov
    on Apr 20 2012 07:30 AM
    Intellectual320 points

    Hello everybody !

    I'm beginner in TI DSP programming. I have .out file and I need start this application on TMX320C6678 each time when the board is turned on. I read sprugy5a, but this matter is not clear for me yet.

    Could anyone give me instructions how to do this ?

    Flash Boot
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • DanRinkes
      Posted by DanRinkes
      on Apr 20 2012 07:45 AM
      Expert8035 points

      Andrey,

      See the utilities for this in the MCSDK under the tools\writer directory.  There are examples and docs on how to overwrite the examples provided in Flash on the EVM with your own .out.

      Regards,

      Dan

      Be sure to check out the Embedded Processors Wiki at http://processors.wiki.ti.com.  You'll find additional information on a variety of TI Technology Related Topics ranging from Hardware to Software to Tools and more. 

      Please Create New Threads for New Issues, and even for similar issues that have already been reported.  Do not reply to a thread that has already been answered and say "I'm having the same problem".  You will get a faster response if you create a new issue that is not already marked answered.  

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

      Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.

      Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

      Having CCSv4.x problems? Check out the CCSv4 Troubleshooting Guide

      Reporting a problem?  Please try to include the relevant details requested in the Forum Usage Guidelines

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • one and zero
      Posted by one and zero
      on Apr 20 2012 07:49 AM
      Verified Answer
      Verified by Andrey Savinkov
      Expert6870 points

      Hi Andrey,

      there are examples in the MCSDK for NAND and NOR Flash boot via I2C:

      NAND boot over I2C example:

      A simple Hello World example demonstrating NAND boot over I2C.

      Steps to build the example:

      1. Import the i2cnandboot CCS project from tools\boot_loader\examples\i2c\nand\evmc66xxl directory. (in CCSv5,
         Project->Import Existing CCS/CCE Eclipse Projects)

      2. Clean the i2cnandboot project and re-build the project, after build is completed, i2cnandboot_evm66xxl.out and
         i2cnandboot_evm66xxl.map will be generated under tools\boot_loader\examples\i2c\nand\evmc66xxl\bin directory.

      Steps to run i2cnandboot in CCSv5:

      1. Be sure to set the boot mode dip switch to no boot/EMIF16 boot mode on the EVM.

      2. Load the program tools\boot_loader\examples\i2c\nand\evmc66xxl\bin\i2cnandboot_evm66xxl.out to CCS.

      3. Connect the 3-pin RS-232 cable from the EVM to the serial port of the PC, and start Hyper Terminal.

      4. Create a new connection with the Baud rate set to 115200 bps, Data bits 8, Parity none, Stop bits 1 and
         Flow control none. Be sure the COM port # is set correctly.

      5. Run the program in CCS, i2cnandboot will send the hello world booting info to both the CCS console and the
         Hyper Terminal.

      Steps to program i2cnandboot to NAND:

      1. Be sure IBL is programmed to I2C EEPROM bus address 0x51, if IBL is not programmed, refer to
         tools\boot_loader\ibl\doc\README.txt on how to program the IBL to EEPROM.

      2. By default, IBL will boot a BBLOB image (Linux kernel) from NAND, to run this example, we need to change the
         NAND boot image format to ELF:
         a. In setConfig_c66xx_main() of tools\boot_loader\ibl\src\make\bin\i2cConfig.gel,
            replace
                ibl.bootModes[1].u.nandBoot.bootFormat        = ibl_BOOT_FORMAT_BBLOB;
            with
                ibl.bootModes[1].u.nandBoot.bootFormat        = ibl_BOOT_FORMAT_ELF;
         b. Re-program the boot configuration table, refer to tools\boot_loader\ibl\doc\README.txt on how to program
            the boot configuration table to EEPROM.
          
      3. Copy tools\boot_loader\examples\i2c\nand\evmc66xxl\bin\i2cnandboot_evm66xxl.out to tools\writer\nand\evmc66xxl\bin,
         rename it to app.bin and refer to tools\writer\nand\docs\README.txt on how to program
         the app.bin to NAND flash.

      4. Once the programming is completed successfully, set the boot dip switches to I2C master mode,
         bus address 0x51 and boot parameter index to be 2.

      5. After POR, IBL will boot the hello world image from NAND.

      Please refer to C6678L/C6670L EVM boot mode dip switch settings:
      http://processors.wiki.ti.com/index.php/TMDXEVM6678L_EVM_Hardware_Setup#Boot_Mode_Dip_Switch_Settings
      http://processors.wiki.ti.com/index.php/TMDXEVM6670L_EVM_Hardware_Setup#Boot_Mode_Dip_Switch_Settings

      and User's Guide for more details:
      http://processors.wiki.ti.com/index.php/BIOS_MCSDK_2.0_User_Guide

      Kind regards,

      one and zero

       

      Please click the Verify Answer button on this post if it answers your question.

      You can also follow me on Twitter: http://twitter.com/oneandzeroTI

      Do you want to read interesting multicore articles? Check out our Multicore Mix

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use