You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then we will receive the value 0 on the used DWT comparator when sw_task1 enters/exits and 1 for sw_task2. This is not very stable. Instead, two channels should be used: the first one for tasks that are entered, and the other for tasks that exits. This approach does not require us to record the state of the software tasks because we need only forward the events, just like for hardware tasks.
The text was updated successfully, but these errors were encountered:
Additionally — once implemented, and assuming RTIC Scope is correct — a software task that is entered twice before exited would highlight a reentrant error in RTIC or a hardware issue.
As per #47, using a single DWT channel is less robust than using two. By
using two, a state must not be kept on the host-side, and it allows us
to catch re-entry errors.
As per #47, using a single DWT channel is less robust than using two. By
using two, a state must not be kept on the host-side, and it allows us
to catch re-entry errors.
Do we really need to use two DWT units here? We should be able to watch
both the enter and exit addresses, and when one of them writes, the ITM
package should indicate which variable was written to.
As per #47, using a single DWT channel is less robust than using two. By
using two, a state must not be kept on the host-side, and it allows us
to catch re-entry errors.
Do we really need to use two DWT units here? We should be able to watch
both the enter and exit addresses, and when one of them writes, the ITM
package should indicate which variable was written to.
At present (read: when implemented correctly; #43) we rely on a single DWT channel to communicate that a task has entered/exited. If we have
then we will receive the value
0
on the used DWT comparator whensw_task1
enters/exits and1
forsw_task2
. This is not very stable. Instead, two channels should be used: the first one for tasks that are entered, and the other for tasks that exits. This approach does not require us to record the state of the software tasks because we need only forward the events, just like for hardware tasks.The text was updated successfully, but these errors were encountered: