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.

CPU Reset & System Reset send processor out to lunch CCS V6.1.1

Hello,

I recently updated to CCS V6.1.1.  I am having difficulty with emulating. If I want to do a soft reset or system reset, the processor jumps to, what appears to be, a random area in memory and never recovers. I have to close emulation and restart if I want to restart code. This is not how it functioned while using previous CCSv5.5. Anyone else seeing this? 

Tiva LM4 family 

CCS V6.1.1.00022

Spectrum Digital Emulator XDS560v2 STM 

Spectrum Digital Emulators v 5.2.0.13

Compiler TI v5.2.5.

Thanks!

  • J_guy said:
    If I want to do a soft reset or system reset, the processor jumps to, what appears to be, a random area in memory and never recovers.

    Does this happen consistently every time you try to use Core Reset or System Reset? I have not seen this happen with CCS 6.1.1 and Spectrum Digital XDS560v2 on a TM4C1294XL Launchpad.

    Which specific device and board are you using? Is it a custom board?

    Can you enable debug server logging as described here and capture a debug log of performing those actions? Then zip up and attach the log here for us to take a look.

  • It is consistent. We have multiple custom boards with this issue. The board I am currently working on has a tm4c123BE6PZI micro. I had no issues with system or core reset on my previous version of CCS (CCSv5.5). Since the upgrade to v6 it has stopped working.

    Attached is the debug file. I ran the code, hit a breakpoint,  did a "CPU reset", wait with no change, "pause", "system reset". Hopefully the log files unearth something.

    Thanks!debug.zip

  • J_guy said:
    It is consistent. We have multiple custom boards with this issue. The board I am currently working on has a tm4c123BE6PZI micro. I had no issues with system or core reset on my previous version of CCS (CCSv5.5). Since the upgrade to v6 it has stopped working.

    We are looking at the log files, but some additional details would help narrow this down further:

    - Is it the same project/code that you are running on both CCS 5.5 and CCS 6.1.1?

    - If you still have access to CCS 5.5 (where it worked fine), could you capture the debug server log with that version while performing the same actions, and send us the log for comparison?

    - If you have the executable (.out) created with CCS 5.5, could you try loading that into CCS 6.1.1 (after launching debugger manually) and let us know if the behavior is reproducible. This assumes you rebuilt the project with updated compiler in CCS 6.1.1.

    - Can you try loading the executable (.out) created with CCS 6.1.1 into CCS 5.5 and let us know if the behavior is reproducible

    - Where is the PC expected to be after reset and where is it actually going to? (the logs show it going to 0x01000E5C).

  • It is the same project as before.

    I do not have access to 5.5. In my quest to get 6.1.1 working it was suggested that 5.5 be uninstalled. A coworker is having the same issue on 6.1.0.

    The manual debugger doesn't appear to work at all. I follow your attached instructions and I get no output from my device.

    I expect it to be reset to the start of main. That is set under the Debug->auto run and launch options in the project settings. This hasn't been touched since 5.5.
  • I think I may have had my first hiccup with CCS v6. In previous versions (CCSv5.5), I was using "cpu reset" and "system reset" to start my program from the beginning of my main function again. It appears that has slightly changed. Maybe I missed it in previous versions, but I just noticed the "restart" command next to the reset commands. That was the functionality I was looking for....

    Anyone have a clue if the "reset" commands changed? Was the "restart" command always there? I feel very humbled that I missed this in the new version.