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.

CCSv4 and CCSv41 bitenum in xml register definition does not work

Other Parts Discussed in Thread: CCSTUDIO

Does somebody knows why bitenum (a sub-function of bitfield) does not provide the defined enumerated choice with CCSv4 and CCSv41?

This used to be supported in CCS 3.3 as defined below:

http://tiexpressdsp.com/index.php/Creating_Custom_Memory_Mapped_CCStudio_Register_Windows

Thanks for any information on this topic,

Best Regards,

  Thierry

  • Hi Thierry,

    Back in November we fixed (in CCS 4.1) a bit-enum display bug (SDSCM00034278).  I checked our build logs and that fix is not in the 4.1 beta release, but is in the RTM candidate builds.  Do you have access to the more recent CCS 4.1 builds?  If not, you could send me the XML files your working with and I could double-check them against the 4.1 RTM build.

    Regards,

    Mike

  • I could not find where to download build "4.1.0.02000" of CCSv41, I only have the "4.1.0.01000" build from the wiki.

    If you open a C5505 USB Stick xml register configuration file like ".\targetdb\Modules\C5505\cslr_gpio_001.xml" ( already there by default ) for GPIO register, the IODIR1 for example should show:

    "Clear" value="0" as an enumerated choice for DIR15. Instead is only lets you edit the value and comes up with the text "Direction of GPIO Pin 15" which is corresponding to bitfield text and not bitenum text/values.

    I made a screenshot to illustrates this better.

    Extract of cslr_gpio_001.xml :

    "
         <register id="IODIR1" acronym="IODIR1" page="2" offset="0x0006" width="16" description="GPIO data direction bits that configure the general purpose IO pins 0 - 15 as either inputs or outputs">
    <bitfield id="DIR15" width="1" begin="15" end="15" resetval="0" description="Direction of GPIO Pin 15" range="" rwaccess="RW">
    <bitenum id="Clear" value="0" token="Clear" description=""/>
    <bitenum id="Set" value="1" token="Set" description=""/>
    </bitfield>
    "

    Thanking you in anticipation for your support on this,

    Thierry

  • Hello Thierry,

    I just double-checked with the 5505 USB stick and CCS 4.1.0.02000 (RTM candidate) build.  The enum drop-down fields are visible when you double-click a bitfield value.

     

    Thanks,

    Mike

  • Thanks!

      Do you know when this release will be available?

    Best Regards,

      Thierry

  • Thierry,

    The full build for 4.1.0 will be posted this week.  We are not releasing the patch at this time due to a problem with Faraday sims.  There isn't a good way to warn people prior to downloading and installing a patch so only the full image is going one.  We will post a patch later when the fix is available.  This could very well be 4.1.1 depending on timing.  In general going forward the patches will have some delay after the full images.

     

    Regards,

    John