buenos
Advanced Member level 3
- Joined
- Oct 24, 2005
- Messages
- 962
- Helped
- 40
- Reputation
- 82
- Reaction score
- 24
- Trophy points
- 1,298
- Location
- Florida, USA
- Activity points
- 9,143
my DSP is freezing...
Hi!
My problem is:
I use a TMS320F2811 DSP for robot vehicle control. I can send commands for the DSP via RS232 serial port (remote control). It executes the commands usually, but with some commands (3-5 commands from circa 40) it doesn't return to the idle program, it freezes. The serial port intrerpreter function includes a case-switch structure, and it invokes different functions. The serial port interrupt function invokes the interpreter.
I have placed a character sending instruction (function call) at the end of the interpreter, so I can monitor that it executes till its end. Well... it sends back, and executes untill its end, but doesn't return.
The main loop doesn't continue, and the DSP doesn't response to newer commands via serial port.
What can be the solution? what might be the origin of the problem? Is it a stack owerflow?
Hi!
My problem is:
I use a TMS320F2811 DSP for robot vehicle control. I can send commands for the DSP via RS232 serial port (remote control). It executes the commands usually, but with some commands (3-5 commands from circa 40) it doesn't return to the idle program, it freezes. The serial port intrerpreter function includes a case-switch structure, and it invokes different functions. The serial port interrupt function invokes the interpreter.
I have placed a character sending instruction (function call) at the end of the interpreter, so I can monitor that it executes till its end. Well... it sends back, and executes untill its end, but doesn't return.
The main loop doesn't continue, and the DSP doesn't response to newer commands via serial port.
What can be the solution? what might be the origin of the problem? Is it a stack owerflow?