• 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 » C64x Multicore DSP Forum » EMAC boot of C6474EVM
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

      Geeks UNITE for Geek Pride Day

      Posted 2 days ago
      by Lauren Reed1
      Happy Geek Pride Day from the Processors team! We wanted to celebrate...
    • $core_v2_blog.Current.Name

      OpenMP - All aboard!

      Posted 4 days 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 5 days ago
      by Lauren Reed1
      A big thank you to everyone who participated in our contest last...

    EMAC boot of C6474EVM

    EMAC boot of C6474EVM

    This question has suggested answer(s)
    Jason wong
    Posted by Jason wong
    on Aug 05 2009 12:01 PM
    Prodigy90 points

    Hi,all

        We want to implement the I2C Customized  EMAC boot mode of C6474, but it cann't be descibedclearly in the bootloader user guide sprug24. i have several questiones:

        1) when does the host side begin to seed the boottable to the C6474?  do TI have the host side utils or relavant sampe code?  

         2) how to configure the EMAC boot parameter and where to put into EP2ROM?

         3) are there some effictive methods to debug when i test the EMAC boot process?

    B.R.

    Jason

    c6474 EMAC boot bootloader
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • GiPa
      Posted by GiPa
      on Aug 06 2009 08:18 AM
      Suggested Answer
      Expert6640 points

      Hi Jason,

      Jason wong

      Hi,all

          We want to implement the I2C Customized  EMAC boot mode of C6474, but it cann't be descibedclearly in the bootloader user guide sprug24. i have several questiones:

          1) when does the host side begin to seed the boottable to the C6474?  do TI have the host side utils or relavant sampe code?  

      - as for my understanding, the device will send an "ethernet ready" frame, in form of a BOOTP packet.

      When the host receives this, it means it can start the transmission. However it needs to be ready before since it seems that the packet is not retransmitted. This is how the host is signaled from the DSP

       


      Jason wong
      2) how to configure the EMAC boot parameter and where to put into EP2ROM?


      - there are no specific host tools available with the application note. But I believe the format for the boot table will be the one generated by the hex6x utility provided with the code generation tools.

      This is described in detail in chapter 11 of the assembly language toolsd user guide, spru186. Basically you have the entry point at the top (usually _c_int00), then the initialized sections with the size, the load address, the data, and at the end a zero value for terminating the table

      This is also described in section 3.1.2 of the bootloader user guide itself.

      fyi there is an app note spra 999a - Creating a Second-Level Bootloader for FLASH Bootloading on TMS320C6000 Platform With Code Composer Studio.

      Note that it is related to older generation of DSPs (so the boot modes discussed will likely not apply to your case) but the principle of creating the boot table from the .out file is similar, and is discussed in the document as well. There is also companion code to look at, for complementing what is discussed in the assembly book and the bootloader user guide, with some examples


      - an alternative to extract the initialized sections from the .out file, and have them as initialized c files to be included, would be to refer to the following application note:
      spraa64 - Using OFD Utility to Create a DSP Boot Image   which comes also with perl scripts that will perform this process. This in case you don't want to use an application image on the host, but rather embed the DSP application image directly in a C/C++ application in the source code of the host

      - in the evm sw installation CDs from Spectrum Digital, after you install them there is a \firmware\booteeprom project which you can use to write to the I2C memory

       

      Jason wong
      3) are there some effictive methods to debug when i test the EMAC boot process?

      in this case it will be hard since you cannot follow the rom bootloader routines, as you would have to follow assembly (the source code is not delivered).

      But the information given in the spec should be enough to construct the proper packet so that the bootloader accepts them

       

      Generally speaking, the advise is to start with a very simple application that includes just a while(1) loop, which maybe writes one internal location of the DSP memory, so that you can check with the emulator that the value is being written

      Of course having CCS opened and connected should allow you to verify if the download process has been successful, and I guess also check the downloaded sections packet after packet

      On the network side, I would recommend a sniffer at least like wiresharc so that you can check what is passing on the network and verify the data chunks being sent. However make sure that the open source tool is configured to log the packets you are sending.

      Make also sure you use a good cable supporting Gbit ethernet  (would recommend cat5e or better)

       

      Hope this helps

       

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • mfarah
      Posted by mfarah
      on Nov 18 2009 12:33 PM
      Prodigy130 points

      Hi Jason,

      Have you been able to boot  EVMC6474 through EMAC?

      Thanks,

      Maroun

       

       

      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