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.

AM263P4: Are Device profiles cached in the targetconfiguration tool?

Part Number: AM263P4

Tool/software:

I'm trying to edit the AM263Px.xml file in C:\ti\ccs1271\ccs\ccs_base\common\targetdb\devices to add registers that are missing.

But after editing the file, the target configuration editor does not load the .xml file properly.

Ie. I tried to change the description, but it does not load it.

desc="AM263Px Edited"
description="AM263Px Edited"

Seems to load it only if there is a new file.

Are these .xml files cached in CCS and how do I update them so I can use the new .xml file I created?

  • Do you mean peripheral registers? Looks like your problem maybe associated with editing the desc and description fields.

    Anyway, I had the same issue and added peripheral registers to AM263Px.xml. Download and replace your file (AM263Px.xml) with the contents of my file (AM263p.xml).available here:

    https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1311878/mcu-plus-sdk-am263px-am263p4-peripheral-registers-missing/4989767

    TI have renamed the file from AM263p.xml to AM263Px.xml since I made it.

  • Thanks for the file.  But the issue i'm having is trying to understand how CCS loads .xml files.   I copied your file into C:\ti\ccs1271\ccs\ccs_base\common\targetdb\devices and overwrote the old one.  Restarted CCS and the target configurations that use AM2263Px did not see any changes.  They still only had core registers.

    The only way for CCS to load new .xml is if you renamed the file.  So i renamed AM263px.xml to AM263px_kier.xml and it picked up the changes.

    I'm making edits, and it doesn't make sense to constantly rename the file to pick up the changes.   (hence why I changed desc/description fields to vaildate CCS has picked up the new changes)

    Almost seems like, once CCS loads a .xml file, it caches the configuration under the filename somewhere and keeps reusing it.  Overwriting the .xml file does nothing for me.

    Is this unique to me only?

  • Found the issue.

    If you have multiple projects open in a workspace that uses the same device .xml then for some reason CCS keeps it cached somewhere.  No matter how many edits you do to the .xml file, it will not update the device configuration when used.  The only way is to rename the file.

    But if you only have one project with one target configuration, updating the .xml file and reloading CCS works as expected.