Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firmware: Solve the conflict between the log mutex and the binary semaphore #28

Open
andrempmattos opened this issue Jul 15, 2020 · 0 comments
Assignees
Labels
architecture bug Something isn't working firmware

Comments

@andrempmattos
Copy link
Owner

andrempmattos commented Jul 15, 2020

Problem:
The log mutex and the binary semaphore are conflicting for an unknown reason (need more investigation), which causes the context switching to obc_interface task to get stuck in an inner OS routine (configASSERT( pxTCB == pxCurrentTCB );).

Temporary solution:
Remove the log mutex and keep only the binary mutex (used for interrupt handler synchronization). This approach leads to log prints with errors due to context switching.

@andrempmattos andrempmattos added bug Something isn't working firmware architecture labels Jul 15, 2020
@andrempmattos andrempmattos self-assigned this Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture bug Something isn't working firmware
Projects
None yet
Development

No branches or pull requests

1 participant