taken the example and it compiled but when i debug it breaks.
so fix it!
or look out for bugs, crawling around :-)
- what is not working? - which project? - which CPU? - which version of uVision? - which debugger? - which ...?
I could continue, but this should be enough for now...