I am running CCSv5 ( Version: 5.1.1.00031) attaching to a OMAP-L138 with a BlackHawk USB560M JTAG emulator.
I have an embedded processor which is wedged somehow (I believe on the ARM side), and I want to attach to it and see where it is wedged.
For the life of me, I cannot figure out how to do this. All of the "Debug" file options seem to want to stop the processor and load in new code, and the "Connect" menu item on the Debug perspective is greyed out.
This mystifies me, and I must be missing something obvious, because the ability to attach to a crashed processor to do forensics on where the processor is running and what the registers are seems fundamental. If someone can go through the "how-to-for-dummies" procedure for attaching to a crashed processor without disturbing it for CCSv5, I would greatly appreciate it.
Can you send a screenshot of CCS where you see the menu item greyed out and also what your Debug view looks like?
Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.
Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.
Having CCSv5 problems? Check out the CCSv5 Troubleshooting Guide
Click here to track an issue. Enter your bug id in the "Find Record ID" box
Now I am sure I am missing something obvious. My Debug view is completely empty. The only way I know to "fill" it is by making a project active and hitting "Debug", which then calls up the default Target Configuration, initializes the Debug view, connects to the ARM, runs the GEL file, loads the code, and runs the code to main.
I want to know how to apply a Target Configuration, initialize the Debug view, and connect to the ARM to see where the ARM is running and take a look at its memory and registers of the previously running code (presumably loaded from flash).
Just for completeness, I've attached the Debug view. It was all blank, so just for kicks I captured the result of right clicking where you see the "Connect Target" action is greyed out.
Again, I am pretty sure I am missing something so obvious that it doesn't occur to anyone that I could possibly miss it.
I don't think you've started a debug session. If you did, the debug view should be populated. Since you haven't started a debug session, you can't do too much with regards to debug actions
Jay Gowdy81418The only way I know to "fill" it is by making a project active and hitting "Debug", which then calls up the default Target Configuration, initializes the Debug view, connects to the ARM, runs the GEL file, loads the code, and runs the code to main.
That is one way to do it
Jay Gowdy81418I want to know how to apply a Target Configuration, initialize the Debug view, and connect to the ARM to see where the ARM is running and take a look at its memory and registers of the previously running code (presumably loaded from flash).
You want to start a 'project-less' debug session.
See slides 79-81 of: http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/workshops/CCSv5/C2000/CCSv5-Workshop(C2000)_2.pdf
That did it: the key was I had no idea that the Target Configuration view existed, let alone what it did. I've always gone straight from the Edit view to Debug view on a particular project. I think I can get into my errant system now.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.