• 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 » Embedded Software » WinCE » WinCE forum » WinCE eboot debugging through CCS4?
Share
WinCE
  • Forum
Options
  • Subscribe via RSS

WinCE eboot debugging through CCS4?

WinCE eboot debugging through CCS4?

This question is answered
Tony Francis
Posted by Tony Francis
on Aug 24 2011 07:24 AM
Expert4175 points

Champs,

 Is there a way that you can download eboot image through CCS4 and debug?

I am not sure what is the image format generated by wince tools and is there a tool that converts to elf?

I have used CCS for debugging uboot in elf format and looking for a similar mechanism for eboot.

Thanks and regards,

Tony Francis

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Vitaly Andrianov
    Posted by Vitaly Andrianov
    on Aug 24 2011 07:36 AM
    Verified Answer
    Verified by Jatin Jain
    Prodigy170 points

    Hi,

    You may upload eboot.nb0 directly to the memory and manualy set the PC to the start address. I did debug the eboot in that way.

    Regards,

    Vitaly

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Tony Francis
    Posted by Tony Francis
    on Aug 24 2011 08:05 AM
    Expert4175 points

    Thanks Vitaly. That was useful.

    As I understand nb0 stands for Raw image format

    bin is as described here: http://msdn.microsoft.com/en-us/library/ee478913(v=winembedded.60).aspx

    With this method, debug symbols will not be there and I cannot see the symbol information (assembly debugging will be tough)

    I saw a tool called Cvrtbin which converts to srecord.

    But CCS doesnt understand srecord right? Any other way?

    regards,

    Tony

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Vitaly Andrianov
    Posted by Vitaly Andrianov
    on Aug 24 2011 08:16 AM
    Verified Answer
    Verified by Jatin Jain
    Prodigy170 points

    Tony,

    As I know SREC format also doesn't have symbol information. I don't know the way of source level debugging the eboot with CCS. I used an eboot.map and corresponding source.cod files for debugging. Of caurse that wasn't very convenient, but worked anyway.

    Regards,

    Vitaly

     

      

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Tony Francis
    Posted by Tony Francis
    on Aug 29 2011 05:00 AM
    Expert4175 points

    Vitaly,

    It worked and thanks for your help.

    As a side note: Loading eboot to external RAM and then setting the PC did not work as I feel eboot is not stand alone.

    I executed the MLO/XLDR (x-loder) and then loaded and executed eboot both through CCS and then I was able to get the eboot prompt.

    On linux side, uboot is independent of x-loder and I wish wince is also that way.

    I could download through pserial as well, but looks like pserial flash to NAND and but i dont know if there is a way to only download and execute through RAM procedure. Any one knows?

    Thanks and regards,

    Tony Francis

     

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Vitaly Andrianov
    Posted by Vitaly Andrianov
    on Aug 29 2011 06:53 AM
    Prodigy170 points

    Tony,

    The MLO has small size and is loaded to the internal RAM. It does all necessary initialization (SDRAM, pinmux and so on) and after that loads eboot or u-boot to the intialized SDRAM. Some SoC have internal RAM big enough for entire eboot or u-boot. I think you are talking about u-boot for that type of SoC. In the case of one step boot loade the u-boot or eboot are responcible for the SDRAM, pinmux and other intialization.

    Any way, if you want to download the eboot to SDRAM through CCS w/o MLO intialization, you have to use a CCS gel file which does all of the intialization.

    Regards,

    Vitaly

        

      

    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