QXK: PendSV_error is triggered on special conditions
Real-Time Event Frameworks based on active objects & state machines
Brought to you by:
quantum-leaps
QPC / v5.7.4
Anonymous
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Here's a timeline capture what is happening.
More info:
At step (3) above, the
QXK_attr.readySet.bits[0] = 0x10
QXK_attr.readySet.bits[1] = 0x00
At step (6) above, the
QXK_attr.readySet.bits[0] = 0x10
QXK_attr.readySet.bits[1] = 0x01
So the QXK_attr.readySet.bits[1] & 0x02 (for AO with priority 34) has been already cleared before this.
According to code, the only place to clear these seems to be QACTIVE_EQUEUE_ONEMPTY_() via QActive_get_() via QXK_activate_().
So in summary:
Thank you for the information. The bug is now accepted and was assigned the highest priority. It will be fixed in the next QP/C/C++ release.
--MMS
This bug has been fixed in QP/C 5.8.0 and QP/C++ 5.8.0.