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.

CCSv4 Minor Issue

I'm using F28335 experimenter kit (with XDS100) and working with real time mode debug.

It happens quite often that CCSv4 crashed (terminates). When I relaunch it the Emulator is unable to connect to the target.

Error connecting to the target:
Error 0x80000200/-1142
Fatal Error during: OCS,
Processor blocked debug accesses.

Even if I try to un-power and re-power the DSP board, still the same error.

I launch CCSv3.3 and I can connect to the target and reset the CPU.

However If I re-lauch CCSv4, I still have the same error message. Only solution is to restart computer.

As I can connect with CCSv3.3 it is a pure CCSv4 issue. How can I send the infos to TI to help them debug/improve CCSv4 ?

One more point. As I said I am able to connect and do things with CCSv3.3 and not in CCSv4. Even though it says "Processor blocked debug accesses" it is a CCSv4 issue. I've found that using Scripts "Full_Halt_With_Reset" removes the error. This sounds weird to me as the CPU is already halted and reset using CCSv3.3.

Perhaps it's a minor issue problem, but I thought it was important to tell other user, because as I spend quite a lot of time finding the solution as I thought it was a problem with the DSP and not with CCSv4

  • Hello Andre,

    What version of CCS are you using? The latest is 4.0.2, which has some important fixes and enhancements for C2000.

    Also, since CCS is crashing, could you attach the generated crash dump files (see #5 of http://e2e.ti.com/forums/t/6045.aspx)

    Thanks

    ki

  • I've been having the same problem, but with a 320F2808. However, I have found that once CCS4 "locks", a simple reflash under CCS3.3 will allow CCS4 to work again (instead of restarting the PC). I've had the problem under CCS4.02 (and not in earlier versions).

    Where can I find this "Full_Halt_With_Reset" script ?

    Thanks !

  • I'm running version

    Version: 4.0.2.01003

    I think it's the latest.

    It is quite hard to reproduce. I mean it is not easy to tell under which circumstances it happens. Note that I check with F2808 and F28027 and manage to have the same.

    For the crash dump, is there a specific file somewhere ? Sometimes it closes and display a window (crash dump ?) with information, and sometimes it really crashes, without displaying any window

    For the script FULL_Halt_With_Reset it is in the script menu :-) at the top where you have all the menus between tools and windows there is a Script Menu. Then at the first line "Real Time Emulation Control" and then there is 4 different commands available.

    Will not have much time today, will try to reprocudce the issue tomorrow, i'll let you know.

  • Something New Happened this morning. I think it's due to new version of CCSv4 because I haven't had that a few days ago.

    Even I just boot my computer I am unable to connect to the target, even by using the script.

    I simply cannot connect to the target anymore :-( but it works fine with CCSv3.3

    How info shall I send you to help you debug that ?

  • Ki, i've read the page you sent me, and I tried to clean up my works space with no result.

    Sorry but how or where shall I upload the mini-dump file and pjt file ?!?

     

  • You can attach the files to this thread. See Bernie's post on: http://e2e.ti.com/forums/t/6045.aspx

  • I've Added a Bug_CCSv4 zip file to my profile, you should be able to get it.

    Let me know.

  • OK, i've found a solution

    As a Recall for other users my probelm was :

    Using either F28027 / F2808 / F28335 experimenter board with XDS-100 and using realtime mode.

    I was having the following error

    Error connecting to the target:
    Error 0x80000200/-1142
    Fatal Error during: OCS,
    Processor blocked debug accesses.

    Sometimes it was solved using the Script -> Full_Halt_With_Reset

    But that time it was not working and even though CCSv3.3 was working fine CCSv4 was giving the error.

    The mistake was the following:

    In the Generic Debugger Options I had set Real-Time mode, and clicked "Remember My Settings". This is the error. You have to uncheck this box by default (Remember my settings) and check it just before running the program.

    This will solve the error. Note that if the error happens with the real-time mode uncheckeed, using the Script->Full_Halt_With_reset will also solve the error.

    Don't foget to remove the checked box before stopping the program.

    Actually you simply have to do as you did in CCS3.3. Check the box before running the program. Uncheck the box before stopping it.

  • Thanks for the info  . I just thought another chip has broken ...

    Greetings

  • I had the same problem in CCS 4.1. André's solution worked for me. Thanks.