• 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 » BIOS » BIOS forum » [CCS 5.1] Platform Wizard loses changes
Share
BIOS
  • Forum
  • Announcements
Options
  • Subscribe via RSS

Forums

[CCS 5.1] Platform Wizard loses changes

This question is answered
David Aldrich92784
Posted by David Aldrich92784
on Mar 15 2012 11:57 AM
Expert1260 points

Hi,

I am running CCS 5.1.0.09000.  Until recently, I have been able to add new segments to my C66x platform using the Platform Wizard.  I haven't had to do this for a while but today I tried to add a new segment. The wizard gave no errors, I clicked Finish, whereupon CCS built the platform with no errors.  However, when I open the wizard again the new section has disappeared.  I tried several times, with the same negative result.

A colleague has experienced the same problem. He tried changing the clock frequency. Strangely, he can see the change in his platform's xml file (using a diff) but it does not appear in the wizard.

Any idea why this is happening please?

BR

David

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Sasha Slijepcevic
    Posted by Sasha Slijepcevic
    on Mar 15 2012 14:25 PM
    Genius15070 points

    David,
    when you made a change, was there a window with a message "Success. Platform package built ..."? What's the version of XDCtools you are using?

    In your platform package, there should be a file Platform.xdc. Can you check if your changes are reflected there? Also, which XML file were you checking for changes? I don't see any XML file that would contain clock info in my platforms. I am using 3.23.01.41.

    If my reply answers your question please mark the thread as answered.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • David Aldrich92784
    Posted by David Aldrich92784
    on Mar 16 2012 03:37 AM
    Expert1260 points

    Sasha Slijepcevic

    David,
    when you made a change, was there a window with a message "Success. Platform package built ..."? What's the version of XDCtools you are using?

    In your platform package, there should be a file Platform.xdc. Can you check if your changes are reflected there? Also, which XML file were you checking for changes? I don't see any XML file that would contain clock info in my platforms. I am using 3.23.01.41.

    Hi Sasha,

    Thanks for your reply.

    Yes, I get " Platform package ... built successfully ...".  I am using XDCTools 3.22.4.46.

    Yes the changes are reflected in Platform.xdc, but when I reopen the platform the change is not shown in the wizard.  I then close the wizard and then can still see the change in the .xdc file. Very weird!  The .java file is never modified.

    I'm sorry, I was wrong to mention an xml file - it is the xdc file that changes.

    Any thoughts please?

    Best regards

    David

     

     

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sasha Slijepcevic
    Posted by Sasha Slijepcevic
    on Mar 16 2012 12:28 PM
    Genius15070 points

    David,
    I haven't seen that problem before, but if the java file in the directory 'package' is not rebuilt, your changes won't be reflected in your configuration. There is a workaround you can use until we figure out the cause of the problem. Open a command line window and go to the platform directory, where the file Platform.xdc is located.
    Type 'C:\ti\xdctools_3_22_04_46\xdc' (replace C:\ti with the actual installation directory on your computer).

    Now, you should be able to use the platform in a configuration and see a new memory map being used.

    Before you do all this, can you please zip up and post the whole platform directory in its current invalid state and post it here? I would like to replicate the behavior that you are seeing.

    Thanks,
    Sasha 

    If my reply answers your question please mark the thread as answered.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • David Aldrich92784
    Posted by David Aldrich92784
    on Mar 19 2012 03:28 AM
    Expert1260 points

    Hi Sasha

    Please find attached the zipped platform folder 0412.evm6670_TML.zip as requested.

    David

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sasha Slijepcevic
    Posted by Sasha Slijepcevic
    on Mar 19 2012 16:05 PM
    Verified Answer
    Verified by David Aldrich92784
    Genius15070 points

    David,
    the package you attached is missing an important file from the directory package. The file is package.xdc.dep and it's automatically generated when the package is built. To recover from it, you'll have to open a command line window and type:
    C:\ti\xdctools_3_22_04_46\xdc.exe clean
    C:\ti\xdctools_3_22_04_46\xdc.exe

    After that, you will be able to load the platform, make the changes and save the new version of the platform.

    If my reply answers your question please mark the thread as answered.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • David Aldrich92784
    Posted by David Aldrich92784
    on Mar 20 2012 05:59 AM
    Expert1260 points

    Sasha Slijepcevic

    David,
    the package you attached is missing an important file from the directory package. The file is package.xdc.dep and it's automatically generated when the package is built. To recover from it, you'll have to open a command line window and type:
    C:\ti\xdctools_3_22_04_46\xdc.exe clean
    C:\ti\xdctools_3_22_04_46\xdc.exe

    After that, you will be able to load the platform, make the changes and save the new version of the platform.

    Hi Sasha

    Thanks very much for your response, which has fixed my problem.

    Best regards

    David

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • David Aldrich92784
    Posted by David Aldrich92784
    on Mar 20 2012 06:43 AM
    Expert1260 points

    Hi Sasha

    I would like to suggest that this is a bug.  Shouldn't the platform wizard create the .dep file if it is missing?

    David

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sasha Slijepcevic
    Posted by Sasha Slijepcevic
    on Mar 20 2012 13:07 PM
    Genius15070 points

    The platform wizard simply runs gmake on the platform package. We could detect that some makefiles are missing when running gmake, but we decided not to try to recover from corrupted packages. There are too many failure modes to reliably detect them, and it's even harder to recover without completely cleaning and rebuilding. It also doesn't happen that often that some files from the directory 'package' are missing.
    That said, if this one particular use case turns out to be easy to detect and recover from, we will implement that fix.

    If my reply answers your question please mark the thread as answered.

    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