Keil™, An ARM® Company

Technical Support

BL51: ERROR 126 (TASK WITH PRIORITY 3 ...)


Information in this article applies to:

  • C51 Version 5.50

SYMPTOMS

When I link my program, I receive the following error message:

ERROR L126: TASK WITH PRIORITY 3 CANNOT WORK WITH REGISTERBANK 0

CAUSE

This message is generated when a fast task (an RTX51 Full task with priority 3) is declared using register bank 0. Fast tasks require exclusive use of a register bank and must be declared using register bank 1, 2, or 3.

RESOLUTION

Change your fast tasks to use a register bank other than register bank 0.

MORE INFORMATION

Last Reviewed: Tuesday, July 19, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure