I have writtemn a program that is totally bug free but when its run it locks.
You got any explanation why it doesnt work? can it be a bug in the uvision?
For an example, see: http://www.keil.com/forum/docs/thread16232.asp#msg82526