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/TMS320F2812: F2812

Part Number: TMS320F2812

Tool/software: Code Composer Studio

I am able to run program from ram /flash mode with spectrum xds510usb jtag I am trying for real time  debugging  without reflashing and resetting and I am not able to do it. i am getting error 

"

Error connecting to the target:
Error 0x00000026/-2130
Error during: Memory, Register, Execution,
Cannot access memory address at 0x00000800

this error is their when I check option "enable real time mode " in Auto run and launch option in target option of debugger configuration.

Kindly help.

  • Which version of Code Composer Studio are you using? As you said this should work, but for stability I would suggest CCS 3.3 or later. Please let me know and we can continue to debug from there.

    Matt
  • Presently I am using CCS 6.2 version with Spectrum Digital XDS510 USB jtag.

  • Deepak,
    I think we need to look inside the default actions that CCS has enabled, to make sure there are no conflicts. If you right click on the .ccxml target config file, and click properties can you note what options are selected in both the "Program/Memory Load Options" as well as the "Auto Run and Launch Options"?

    Finally, if you disable the automatic real time; and just enable the real time manually after you are connected and loaded it is OK?

    Best,
    Matthew
  • Mathew ,

    Please find attached build configuration screen shots for both the "Program/Memory Load Options" as well as the "Auto Run and Launch Options".

    with above settings I am getting below mentioned error while debugging.

    "Error connecting to the target:

    Error 0x80000204/-1137

    Fatal Error during: Register, OCS,

    It appears that the target is being held in reset.  This may be

    due to Wait-In-Reset (WIR) configuration set by the EMU 0/1 pin

    settings.  If this is the case, press Cancel and disconnect all

    connected devices to attempt to clear the WIR configuration."

  • One more item to check; if you open the CCXML(double click) and go to the advanced tab, can you find this info as well:

  • I am getting the exactly same thing as shown

  • Deepak,
    If you dis-able the "auto" real time mode; and activate it manually in the CCS does it work/issue go away?

    I think there is still some conflict in when the IDE trying to set this mode and the state of the device with the other "auto-run" type options.

    Matt
  • Matt,

    As suggested I removed auto real time mode and tried activating it manually.I also suspended auto run and flashed the codes.after that i initiated real time with continuous refresh .On running it updates once and then running is getting suspended.

  • Hi Deepak,

    Can you try launching a project-less debug session (see option #3 under "Launching a Debug Session") and manually connect to the target and then try enabling real-time mode? Let me know if it is successful or not.

    Thanks

    ki