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.

emulator problems

Other Parts Discussed in Thread: TMS320C5505

I recevied the following error messages when running my application on my target suing CCS.

Can't Run Target CPU: Error 0x00000020/-1141 Error during: Execution,  Processor communication timeout. It is recommended to RESET EMULATOR. This will disconnect each target,   perform an emulation reset, and then reconnect each target. Power cycle the target board before continuing.   Sequence ID: 13 Error Code: -1141 Error Class: 0x00000020

Failed to remove the debug state from the target before disconnecting.  There may still be breakpoint opcodes embedded in program memory.  It is recommended that you reset the emulator before you connect and reload your program before you continue debugging.

Trouble Removing Breakpoint with the Action "Halt Target" at 0x1060c: Error 0x00000008/-1066 Error during: Break Point,  Cannot set/verify breakpoint at 0x0001060C   Sequence ID: 8 Error Code: -1066 Error Class: 0x00000008

I am not sure what all this means but my execution of my simple application has not been consistent at all. Can someone give me an indication of what the problem might be?

Thanks

Barry

  • Barry,

    It is hard to tell what was wrong from the message. So, let me check one by one. Please answer the following questions. 

    1) What device are you using?

    2) Can you connect your target board to CCS without an error?

    3) Are you using proper gel file?

    4) Problem only occurs when you run your code? If then, please check out your memory allocation and make sure your program does not access unavailable space (check buffer address pointer, or stack pointer, etc).

    FYI, most of the problem is from "accessing unavailable memory space".

    Regards,

    Peter Chung

     

  • Peter

    I am using the following:

    Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

    CCS Version                        3.3.38.2

    IDE                                         5.98.0.219

    BIOS                                      5.33.06

    Code Generation Tool   v3.3.2

    Processor                            TMS320C5505

    I never have a problem connecting to the target and occasionally the code will run but not very often. Sometimes the only simple task in my test application does not get started. If I put a break point in my main function (main) the code work better but not all the time. I am only using on-chip memory (DARAM and SARAM). Sometimes when I halt the application it is executing at non existent  memory addresses. I am using a GEL file received from TI.

    Regards

    Barry

     

  • Barry,

    It seems that your environment keeps accessing out side of memory mapped area somehow. Can you make a simple project that has the same problem and send the it to me? I will try to run it on the C5505EVM.

    Regards,

    Peter Chung

     

  • Barry,

    Please update your CCS 3.3 to the SR12 fix by applying this update:

    http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_ccstudio/CCSv3/SR/SR12_CCS_v3.3_SR_3.3.82.13.exe

    You should also download the latest emulation drivers from your emulations provider (e.g. Spectrum Digital or Blackhawk).  I just read another thread where someone was having a similar issue that was mostly resolved by this upgrade.

    Best regards,
    Brad

  • Brad

    I have the latest drivers from Spectrum Digital. I am able to run the test application on an EVM. I can not run the test application on my target. It will occasionally run but not very often.

    Thanks

    Barry

     

  • Barry,

    Are you able to run anything on your hardware reliably? Even a simple helloworld application or anything like that?

    You may want to check for noise on the power rails. I have seen noisy voltage rails (specifically those that power the on-board RAM) cause erratic behavior like you have mentioned.

    Also, which specific emulator are you using?

  • Tim

    I have not been able to run anything reliably on the target. I am on vacation the rest of the week and will have my hardware guy check the

    noise on the power rails next week.

    Thanks

    Barry