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.

how to show peripheral registers in CCS

Hi,

I am new to CCS, and am using ezDSP5505. I was able to successfully build and run the LED program, but when I open the register window (View|Registers), I only see IODIR, IODATA, Rev, and Die registers; none others exist. The contents of these 4 peripheral registers are all 0s. What's wrong?

Ben  

  • Ben,

    Do you not see the CPU registers?  Is it only Peripheral registers that you are commenting on?

    There needs to be a definition file developed that defines the peripheral registers.  TI ususally develops these files, but apparently this hasn't been done yet for the C5505.  I need to check with the team and find out what the plans are.

    For right now the easiest way to see the register contents is to use a memory window.  The addresses of all the registers are shown in the C5505 DSP System User's Guide located here: http://www-s.ti.com/sc/techlit/sprufp0.  Look in section 2.2 for the overview list.  Note that the registers are located in I/O space, so you need to select that in the Memory window before putting in the address.  The choices here are PROGRAM, DATA, I/O.  If you need details on the individual bit fields of the registers you need to look in the Peripheral User's Guide for the peripheral you are interested in.

    Regards.

  • Ben,

    I have an update on the Register View issue you raised.  The C5505 team is working on the XML files for displaying peripheral registers, but I don't have a delivery date yet. 

    In the mean time, a colleague has developed a GEL script that will display registers in a watch window.  I am attaching for you to try out.

    Regards.

  • Thanks for your quick reply.

    Sorry I didn't make it very clear. I see all the CPU registers correctly, but there are only 4 peripheral registers shown; the contents of these 4 peripheral registers are always 0. So I think there's something wrong. I am using evaluation version of CSS Version: 4.0.0.16001.

    Thanks,

    Ben