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.
Tool/software: Code Composer Studio
Hello,
Hopefully this is not a topic that was discussed before, I failed to find a similar issue. So I am using the TMS570LC4357 with Code Composer 7.2.0.00013.
My problem is that I am generally using a VPN connection when working with the MCU. I was using it when installing Code Composer, HALCoGen, etc. If I go offline from the Internet or I use a different public network to connect to, Code Composer does not allow me to debug my programs. As soon as I can reconnect to my VPN connection, I can debug my programs with no additional problems. Flashing works fine, and programs work on the board, just CCS does not allow debugging.
Why is this restrictive? Is there some kind of license problem with Code Composer? This issue is a significant for me since there may be a lot of times that I work completely offline from Internet.
Thanks,
Tudor
Hello Tudor,
user4607145 said:Why is this restrictive? Is there some kind of license problem with Code Composer? This issue is a significant for me since there may be a lot of times that I work completely offline from Internet.
The only restrictions that first come to mind when working off-line would be with Updates and Resource Explorer. There should be no impact to debug at all. CCSv7 no longer checks for a license so there is no issue with licensing also.
user4607145 said:just CCS does not allow debugging.
Please describe in more detail what exactly happens when you try to debug while off-line
Thanks
ki
user4607145 said:However, when I am either offline, or using different network, when my program flashes it no longer stops at the main function, it just runs. Everything related to step-by-step execution or pausing is greyed out. I can only click the red square that stops the execution of the program completely.
Can you provide a screenshot of your whole CCS environment when those options are greyed out?
Thanks
ki
Hello ki,
See below the screenshot. It's just a simple CAN protocol example. I've checked with an oscilloscope, and for sure it flashed correctly and program is working on the board. Just once I hit debug, it flashes and reaches this state. I've also uploaded a picture of CCS when I am connected to my VPN and debugging works properly. The only thing I am doing different is my Internet connection
I did what you suggested. Now I am able to use reset and pause the program. However, any breakpoint is ignored in my main program. I can set the breakpoints, they are blue, and the program does not stop at them. I tried to reproduce the problem on a different PC, and I could not manage to do it. I will try complete reinstallation of Code Composer.
user4607145 said:owever, any breakpoint is ignored in my main program. I can set the breakpoints, they are blue, and the program does not stop at them.
You may have enabled the "Skip all breakpoints" option in CCS
If it is enabled, try disabling it.
If that is not an issue, please provide a screenshot of your breakpoint sin the source code and in the Breakpoints view
Thanks
ki
Additionally I can tell you that my access to the Internet is restricted when Firewall is on. If I have my firewall, the debug process is blocked, and continues only when i disable my firewall. However, the breakpoints issue is still there no matter what
user4607145 said:Additionally I can tell you that my access to the Internet is restricted when Firewall is on. If I have my firewall, the debug process is blocked, and continues only when i disable my firewal
You do not need internet access to debug. You can have no internet access at all and yet be able to run the debugger. There is some other issue going on. Maybe a CCS process is getting blocked by your security software. Do you have any more information like an error message?
user4607145 said:However, the breakpoints issue is still there no matter what
I see one active HW breakpoint at line 93 and a bunch of disabled HW and SW breakpoints elsewhere. When happens when you try to enable them? Do you get an error message?