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.

View Register on Code Composer

Other Parts Discussed in Thread: OMAP-L137, CCSTUDIO

I have an OMAP-L137 EVM board from Spectrum Digital . Recently we bought a Emulator XDS560R from them. So I installed “Code Composer Studio IDE (Platinum v3.3)”, and updated to the Service Release R12.1. Now the emulator is working fine. I can load the program to the target and run it.

 But I got a small problem. I tried to view the register’s contents. From the “View” -> “Register” pull-down menu, I can only see “Core Registers” and “Register Pairs”. How can I see the whole set of registers?

  • Sid,

    Which registers are you wanting to see?

    -Tommy

  • Customer wants to see all the registers, such as PLL, EMIFA, EMIFB, SYSCFG, EDMA3, Interrupt, McASP, SPI, I2C, … etc.

  • SidNag said:

    Customer wants to see all the registers, such as PLL, EMIFA, EMIFB, SYSCFG, EDMA3, Interrupt, McASP, SPI, I2C, … etc.

    Those registers are available from the Register view in v4, but not 3.3. If moving to v4 is an option, I'd recommend that.

    Thanks

    ki

  • Some devices are missing these registers from the View->Registers window for whatever reason and the only workaround I know of is to create the XML files by hand - see here.

  • The files do exist for OMAPL137.  The CCS image that comes with the kit would have them.  Look in <installdir>\drivers\targetdb\devices and see if an OMAPL137.xml file is present.

     

    John

  • Thank you. I do see those files in that directory. But I am trying to figure out why the CCStudio setup did not pick up those files. Do you know how to tell CCStudio to use those files?

  • normally you would use it as described here:

    http://processors.wiki.ti.com/index.php/Creating_Custom_Memory_Mapped_CCStudio_Register_Windows#Referencing_the_Device_XML_File

    But I don't see the OMAPL137 device listed for the SD XDS560R... just a BYPASS option. I see it with the other emulator options though

  • The setup configs have to explicitly specify the xml file.  The one from SD was likely created before we had the xml files in CCS.  The TI 560 one specifies the XML file.

    You can create one but it is a bit of a process.  

    1. Clear your target config
    2. select the OMAPL137 import config for XDS560 and add it to your system.  We are doing this so that you can reference the JTAG settings. i.e. it has an ICEPick_C with 3 subpaths, addresses of the subpaths are 0x11 0x12 0x13 respectively, the first subpath as a C674x CPU the second a ARM926 and the 3rd an ETB11.
    3. Select the "Create board" tab in the middle pane of setup.
    4. Double click on the SD560R emulator to add it to your system, fill out the properties (just need to give it a name)
    5. Select OMAPL137 in the middle pane and drag it onto your emulator.  A bunch of dialogs will pop up, just click ok for them.
    6. The odd part is now we actually have to delete everything under the OMAPL137 that is showing up because it doesn't have the ICEPick subpaths setup right, so delete the ICEPICK, ARM9, ETB11 and C6400.
    7. Now select the OMAPL137 in the left hand pane and then go to the middle pane and drag over an ICEPickC, specify that it has 3 subpaths, specify the addresses.
    8. Keep adding the items until your 560R config looks just like the TI XDS560 one.  Then you can remove the TI 560 one from the left pane.

    Definitely a pain to setup.  This is much easier in v4, basically you specify your "connection", i.e. the emulator and the device or board you are using.

     

    John

     

  • Customer has paid for CCS v3.3.  How do we get them upgraded to V4 at no extra charge?

  • JohnS said:
    • Double click on the SD560R emulator to add it to your system, fill out the properties (just need to give it a name)
    • Select OMAPL137 in the middle pane and drag it onto your emulator.  A bunch of dialogs will pop up, just click ok for them.

    When I select SD560R, the middle pane is empty, except for BYPASS. Maybe my SD drivers are old?

  • Sid if the customers subscription is up to date they can email ccs_subscriptions@list.ti.com or ccs_license_file_help@list.ti.com and provide their service code and someone will help them get an activation code for CCSv4.

     

    john