This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Changes to Platform file don't change app.cfg CACHE tab

Other Parts Discussed in Thread: SYSBIOS

Custom PCB, C6748 DSP, running SYSBIOS 6.34.2.18, XDCtools 3.24.3.33.

I created a custom Platform file, and updated my project to use that custom Platform file.  When I change the L2 CACHE(in the platform file) from 128kB to 256kB, rebuild, reload, the ROV correctly shows my L2 Cache size is 256kB.  I can switch back to 128kB, rebuild, reload, and again the ROV shows 128kB.  So, I'm 99% sure that I have everything linked in correctly, and that my changes to the Platform file are really showing up in my project.

When I view the CACHE tab from app.cfg, things are different.  I have Cache (ti.sysbios.family.c64p) in my outline, and when I click on that a "C6x/Cache" tab appears.  It correctly shows L1P and L1D (they match my Platform file), however the L2 is always at 128K (even when I have the platform file changed to 256k).  What gives?

Does the C6x/Cache tab track changes in the platform file?

When I attempt to change the L2 Cache in the C6x/Cache tab, I get warnings about user changed something.  Should you change the Cache settings from the C6x/Cache tab?

What is the correct way to change the cache settings:  Platform file ..or.. C6x/Cache tab?

Thanks, Dean

  • Dean,
    I have seen a similar problem before, when one platform is replaced with another and then the Xgconf view still contains the setting for the original platform. There is an easy solution for that problem, so you may want to try it. Close the Xgconf view, then find your project directory in Windows Explorer, and remove the directory .config. That directory contains only generated files, which will be generated again once you open your project. Now, go and open your project and check if the cache settings are correct. 

  • Sasha,

    Thanks for the work around.  Deleting the .config directory worked, however I had to completely shut down CCSv5 first, then delete the directory, then restart CCSv5.

    It should also be noted the the C6x/Cache tab does NOT track changes to the plaftform file if you leave app.cfg open.  I left app.cfg running, closed the C6x/Cache tab, changed the platform cache setting, saved the platform file, opened back up the C6x/Cache tab, the changes weren't there.  Closing app.cfg and then re-launching showed the correct information.

    Can you also please answer the question what is the correct way to change cache settings:  Platform file  ..or..  C6x/Cache tab?

    Thanks, Dean