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.

CCS/TMS320C5515: Trouble writing register PC



 

I did a backup to a restore point prior to my first attempt to install CCS and I have now installed CCS and all the support libraries for my project.  My issue now is that I cannot debug my code.  The project compiles but I get the following:

C55xx: Trouble Writing Register PC: (Error -1024 @ 0x0) Requested JTAG operation failed. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Release 5.0.429.0)

  • C55xx.docxI tried the original development computer with two different boards.  I did not get the error message but the debugging  session does not work.  The screen capture is included in the attached document (I can't seem to insert screen shots directly).

  • I split your debug questions into a new thread as the original one with the installer is resolved.

    Robert Applebee said:
    I did not get the error message but the debugging  session does not work.

    So this different computer does not generate the -1024 error but the debug session does not work? Can you elaborate how it does not work? I see that it is halted at c_int00 (code entry point). By default CCS is set to auto-run to "main" on a program load. However this can be customized in the Debug settings as described in this page. Is yours set up to halt at code entry point?

  • Yes, CCS is set to auto-run to "main".
  • Are you using a TI development board or a custom board? Do you see this behavior with multiple projects?

    Are you able to make the code Run to Main after it is halted at c_int00? If not, there may be some initialization issues, either due to missing/incorrect GEL files or in the code.
  • I am using a custom board.  The custom board has two configuration, each with a different CCS project.  On project works and the other does not.  The attached file has screen shots of the Console output for both projects.

    C55xx_3.docx

  • The console of the working project shows some GEL output while the other does not. Are both these projects using the same target configuration file? If not, can you open the target config file of the non working project, go to the Advanced tab, click on the C55 device on the left pane and look at the "Initialization script" field in the right pane. Compare that with the working project and try to match it up. Also check the Debug properties (Project Properties->Debug) of the two projects to see if there are any differences.

  • C55xx_4.docxThe working project does not seem to have a target configuration file.  When I try to open a target configuration file for the working project I get an info box saying that the project does not have a target configuration file, would I like to create one?  (see info box in attached file).

    The non-working project does have a TCF.  The advanced settings did not list a gel file.  I found a gel file in the working projects folder and selected it for this project and the debug now works.

    My question is why does my working project not have a TCF?

  • For the working project, if there isn't a target config file inside the project folder, it may be using a default one. Please see this page for details about how target config files are launched depending on context.