This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Hanging in printf sometimes

I started my first project on the LPC2368 using uVision.
During this time, sometimes the program goes to DAbt_Handler. It locks like the reason is calling printf (by commenting-out printf the problem disappearse).
Then I move some code around and the program is running again (without any new code added).
For the first it looked like a stack problem. So I increased the user/system stack from 0400 to 0800, without any result.
I couldn't find any regularity behind it and in the meantime I'm helpless. Any idea? Any help?
Peter

0