small fix for MPSoC transition failure #897

Merged
muellerr merged 3 commits from transition-failure-fix into main 2024-05-29 10:11:02 +02:00
3 changed files with 10 additions and 2 deletions

View File

@ -16,6 +16,13 @@ will consitute of a breaking change warranting a new major release:
# [unreleased]
# [v8.0.1]
## Fixed
- Small fix for transition failure handling of the MPSoC when the `START_MPSOC` action command
to the supervisor fails.
# [v8.0.0] 2024-05-13
- `eive-tmtc` v7.0.0

View File

@ -456,7 +456,7 @@ void FreshMpsocHandler::handleActionCommandFailure(ActionId_t actionId, ReturnVa
if (actionId != supv::START_MPSOC) {
return;
}
sif::info << "PlocMPSoCHandler::handleActionCommandFailure: MPSoC boot command failed"
sif::info << "FreshMpsocHandler::handleActionCommandFailure: MPSoC boot command failed"
<< std::endl;
// This is commonly the case when the MPSoC is already operational. Thus the power state is
// set to on here
@ -1224,6 +1224,7 @@ bool FreshMpsocHandler::handleHwStartup() {
if (powerState == PowerState::SUPV_FAILED) {
setMode(MODE_OFF);
powerState = PowerState::IDLE;
transitionState = TransitionState::NONE;
return false;
}
if (powerState == PowerState::PENDING_STARTUP) {

2
tmtc

@ -1 +1 @@
Subproject commit 9a06c64dfac3f4283c2d5af72a9c095f4726480b
Subproject commit 8419a4edd773eb0eedba912f4678a5e28567e3ed