• 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 Single Core DSP » C67x Single Core DSP Forum » Bootloader for TMS320C6722
Share
C6000 Single Core DSP
  • Forums
  • Announcements
Options
  • Subscribe via RSS

Forums

Bootloader for TMS320C6722

This question is not answered
Alexandr Perepechay
Posted by Alexandr Perepechay
on Apr 09 2012 02:25 AM
Prodigy100 points

Sorry.

I'm beginner. Faced with the need to write programs for the TMS320C6722.

My board has external FLASH, connected to the CPU via EMIF. (Internal FLASH, I realized, the CPU does not have)

I read that the ROM has the primary bootloader, which loads into RAM the secondary user's bootloader, and it's loads to RAM the rest of the user program.

Question is. Do I have to write this secondary bootloader itself? Whether the problem is solved automatically by using OS DSP / BIOS?
If so, how to connect the OS to TMS320C6722 ?

I have CodeComposerStudio v.5.1. Can I decide upload programs into RAM as part of the software without having to write myself a secondary bootloader?

And the last question. Will CCS.5 download my application program to the externalFLASH (via EMIF) by the programmer-emulator XDS560?
Thank you, Alexander.

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Sam Kuzbary
    Posted by Sam Kuzbary
    on Apr 09 2012 10:18 AM
    Expert2655 points

    Greetings,

    Follow all in this link and you will be able to apply it to your C6722 design.  You just need to adapt to 2nd boot loader to the CPU.

    http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/112/p/177389/648837.aspx#648837

    Good luck,

    Sam

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sam Kuzbary
    Posted by Sam Kuzbary
    on Apr 09 2012 10:32 AM
    Expert2655 points

    Greetings,

    Here is the C672x parallel FLASH boot description

    "Once the bootloader detects EMIF boot mode, it reads the first byte from the flash device to determine 8

    or 16 bit boot mode. The bootloader then sets the EMIF control registers for accessing 8 or 16 bits

    according to the mode selected. The first 1024 bytes of data are copied from the FLASH memory into the

    first 1kBytes of TMS320C672xx internal memory. The bootloader sets the program counter to 0x10000004

    (offset of 0x4 in internal memory) and execution of code begins at this address. It is assumed that the first

    1024 bytes of code/data contain a user defined secondary bootloader or other user application code that

    will load/execute the application."

     

    So your create a replacement 2nd BL that fit within a 1k space, where it init your chip EMIF for your code space, then copy the application form FLASH to destination, whether it is IRAM or SDRAM.

    Good Luck,

    Sam

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Alexandr Perepechay
    Posted by Alexandr Perepechay
    on Jul 16 2012 04:09 AM
    Prodigy100 points

    Trying work with CCSv5(Evaluation Lic) and TMS320C6722 I faced a problem of constructing of the secondary bootloader.
    First I got acquainted (how do I have advised) with the document SPRAA69D–September 2009 (Using the TMS320C672x Bootloader).
    This document advises to build the secondary bootloader by means of modules from library sprs203.zip
    (the modules TISecondaryBoot.h, TISecondaryBoot.c) and via configuration files, built by means of PERL-utility genBootCnfg and genAis.
    I was able to build configuration files by means of genBootCnfg and genAis.
    But I can not compile my project with modules TISecondaryBoot.h and TISecondaryBoot.c.
    Under direct inclusion these modules in my project CCSv5 makes TISecondaryBoot.obj
    but final file xxx.out does not form and there is the error-message.
    And when I turn in my project the module TISecondaryBoot.obj (excluding from it TISecondaryBoot.h And TISecondaryBoot.c)
    linker does not see announced in TISecondaryBoot.c segments .Tibootstrap and .TIBoot.
    Maybe it's because these segments are not called by my Main Project Modules and
    there is a setting in CCS - "Eliminate sections not needed in the executable".
    But if I remove this setting the compiler generates an error and does not build my project correctly.
    What should I do?
    OK.
    Then I learned another document SPRA999A1 − May 2006 "Creating a Second-Level Bootloader for FLASH
    Bootloading on TMS320C6000 Platform With Code Composer Studio"
    This document offers a very different approach to the construction of the secondary bootloader.
    But as an example, there is processor DSK6713.
    And I do not know whether this is a method to my CPU 6722.
    In addition. The document mentions the use of tools Flash.exe or Flashburn that
    generate .hex file for the firmware in Flash.
    But in my CCSv5.2(Evaluation Lic) no such tools. And I have been unable to download them.
    Even for the money.
    What should I do?
    Thank's. Alexander

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sam Kuzbary
    Posted by Sam Kuzbary
    on Jul 25 2012 12:04 PM
    Expert2655 points

    Greetings,

    I would like one of the TIers to step up for this.

    Good luck,

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Alexandr Perepechay
    Posted by Alexandr Perepechay
    on Jul 26 2012 08:35 AM
    Prodigy100 points

    Sorry, I don't understand what you say.

    About what TIers you're talking?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sam Kuzbary
    Posted by Sam Kuzbary
    on Jul 26 2012 11:28 AM
    Expert2655 points

    Greetings,

    That will be one of the TI employees responsible for supporting this product line.

    Good Luck,

    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