Forum Discussion
Altera_Forum
Honored Contributor
15 years agoIn uCOS II you can't have 2 tasks that run at the same priority number. That's why Slaker gave the list of priorities used by the Niche stack (2,3 and 4). If one of your tasks is running at one of those priorities, you must move it to a different number.
Except for that there can be multiple reasons for that dtrap message. I find that message quite annoying. The developers were too lazy to put real informative error messages and put this one instead. You need to run your application in debug mode and put a breakpoint on the dtrap() function. Then when the debugger freezes the application, you need to find out were dtrap() was called from. If you are lucky you'll find a comment above the dtrap() call that can give you some information about the problem.