Tool/software: TI C/C++ Compiler
I'm Using TI CCS Cloud IDE > Resource Explorer > Example Demo Projects,"When Deugging Start 'Program gets Hanging and freeze.can't move to next instruction.
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: TI C/C++ Compiler
I'm Using TI CCS Cloud IDE > Resource Explorer > Example Demo Projects,"When Deugging Start 'Program gets Hanging and freeze.can't move to next instruction.
Hello,
pann said:"When Deugging Start 'Program gets Hanging and freeze.can't move to next instruction.
Are your referring that when you try to step to the next instruction, it just stays halted on the same instruction? Or do you need to manually halt execution to see that it is on the same instruction? A screenshot of the could IDE with the disassembly view would be helpful.
Thanks
ki
pann said:code Get halting or freeze
What exactly do you mean by this? How do you determine that the code is handing/freezing? Are you talking about your code hitting an exception or runs off to an invalid address?
Thanks
ki
not invalid address,
if invalid address means i mention you already that "freezing issue is dynamic.
if 1st cycle of Debug it may give success and ''2nd cycle of debugit may get freeze.
so there's no point for invalid address.
my question is why this happns?
but last two images are other (Reading sensor projects), not Local Time.
and we have to sample the sensor functions at number of times to get accurate result.while using Debug step over method ''our Code gets freeze/Halted.
and this freeze/halted is not Static ,it has changing its freezing position( line) when we do multiple debug.
so it happns always...i don't have any idea about this. can pls help me out it.
thanks!
forget about Local Time stamp example,
there's Two images i have updated with sensor reading projects(which shows before hanging and after hanging)..
hanging while debugging always happns,
any reason..
Hi,
You have a hard fault at your case - it signalise significant bug inside your code (e.g. stack overflow, access to non-initialised peripheral, etc.). This issue you need to solve by yourself. You have source code of your project and nobody else will be able help with this task.
It seems that your project is based on TI-RTOS. Please follow advices at this video. Usage of desktop version of CCS may to be required for some steps.
Jan
Hi,
Please follow video above. It will allow to determine what can be reason of your issue. Another option will be decompose your code to find problematic part of your code. At the first step please see that video. At that video is already answer what is a stack overflow.
Jan
Hi,
At first step you need to found reason of issue and after then you can fix it. There is no "universal" procedure how found reason of your issue.
If you have some older functional version you can start with it. You can slowly add features from current version and identify reason of issue.
Jan