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 Register Display for C6472

Other Parts Discussed in Thread: TMS320C6472

Hi,

just a quick question and a comment on the register display.

running CCS 4.2.0.10012  on the Einfochips TMDSEVM6472.

 I noticed that there is no selection for the tsip(0,1,2) registers - that i could find.

 Also the PPL(0,1,2)GEM register definitions seem to be incorrect for the C6742 flavor per (SPRS612F). Some of the fields ( like ALNCTL ) should not be defined for the C6472 case and other important ones are missing. Is there any method to change what registers are displayed for a particular processor ( through some configuration or menu ) that i have not come across?

From other threads on this forum , i understand that the ..targetdb\Modules\c6472\cslr_pllc.xml is probably the issue. I did not want to hack it up - if a newer version is available.

Thanks

  • Hi,

    Thanks for reporting this; you are right in pointing out the .XML files as the origin of these issues. Unfortunately I checked version 4.2.4 and the TSIP registers are not defined there as well, therefore it seems there is no newer version available, thus making the "hacking" of the files a possibility until a fix is released.

    I will check if there are quick fixes for the bugs you have found. In the meantime, would you mind sending a short list of the issues with the PPL registers you found?

    Thanks,

    Rafael

     

  • Hi Rafael,

    here is my take on the issue;

    INCORRECT-----

     

    Here is the existing register definition per the cslr_pllc.xml;

     

                offset    0x0118              PLLDIV1

                            0x0138              PLLCMD

                            0x013c              PLLSTAT

                            0x0140              ALNCTL

                            0x0144              DCHANGE

                            0x0150              SYSTAT

     

     and this is replicated three times for what is named PLL0GEM,PLL1GEM,PLL2GEM.

     

    INCORRECT------

     

     

     

     

    The documented registers available for the TMS320C6472 according to the SPRS612F are as follows;

     

    PLL1 base address 0x029a0000

     

                offset    0x0000              PID                   // Peripheral Identification Register

                            0x00e4              RSTYPE           // Reset Type Status Register

                            0x0100              PLLCTL            // PLL Control Register

                            0x0110              PLLM                // PLL Multiplier Control Register

                            0x0138              PLLCMD           // PLL Controller Command Register

                            0x013c              PLLSTAT          // PLL Controller Status Register

                            0x0144              DCHANGE        // PLLDIV Ratio Change Status Register

                            0x0150              SYSTAT            // SYSCLK Status Register

                            0x0178              PLLDIV10          // PLL Controller Divider 10 Register for SYSCLK10

     

    PLL2 base address 0x029c0000

     

               offset 0x0000                  PID                   // Constant Peripheral Identification Register

                       0x0100                   PLLCTL             // PLL Control Register

                       0x0118                   PLLDIV1           // PLL Controller Divider 1 Register for SYSCLK13

                       0x011C                  PLLDIV2           // PLL Controller Divider 2 Register for SYSCLK14

                       0x0120                   PLLDIV3           // PLL Controller Divider 3 Register for SYSCLK15

                       0x0138                   PLLCMD           // PLL Controller Command Register

                       0x013C                  PLLSTAT          // PLL Controller Status Register

                       0x0144                   DCHANGE        // PLLDIV Ratio Change Status Register

                       0x0150                   SYSTAT            // SYSCLK Status Register

                       0x0160                   PLLDIV4           // PLL Controller Divider 4 Register for SYSCLK16

                       0x0164                   PLLDIV5           // PLL Controller Divider 5 Register for SYSCLK17

                       0x0168                   PLLDIV6           // PLL Controller Divider 6 Register for SYSCLK18

     

    PLL3 base address 0x029c0400

     

                offset    0x0000              PID                   // Peripheral Identification Register

                            0x0100              PLLCTL // PLL Control Register

  • Hi,

    It seems the TISP register descriptions are already included in the installation; they are not referenced from the device XML module.

    If you are willing to give it a shot, I added these references to the attached <C6472.xml> device file.

    You can copy the file to the directory <CCS_INSTALL_DIR>\ccsv4\common\targetdb\devices and delete the debug launch and the cache files (check here)

    Unfortunately I don't have such board with me to have full access to the register contents.

    Hope this helps,

    Rafael

    c6472.zip