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

UCOS2 running on Keil?

Hello everyone,

I am recently using Keil to program my code. Everything works fine when i use
normal code(without ucos2), I can do debugging, seeing the simulator check and uncheck the GPIO.

Problem comes when I use UCOS2 code. Compiling is fine. But when i try to do debugging, it stuck at OS_ENTER_CRITICAL();, which is very first few line of my code. When i try to delete it and rerun the code, it stuck at other places related to ucos (osdelay(), OS Init() ), I am very curious what's going on but can't really
tell....

Please advise me. Do i miss something important?

here is the screenshot
first one is the code running and second one is the performance logger.I can see the tasks are taking any resources at all...

www.geocities.com/.../Image1.jpg
www.geocities.com/.../Image2.jpg

0