Skip to content

[BUG] Startup Sequence "Fails" on Any Sequence Being Cancelled #307

@Mikefly123

Description

@Mikefly123

Short summary

The StartupManager respond and emits an event whenever a sequence completes on the cmdSequencer

Steps to reproduce

  1. Start a sequence on the cmdSequencer
  2. Cancel it
  3. Observe a Startup Failure Message

Expected behavior

No message is emitted unless it is the startup sequence being cancelled.

Actual behavior

Any time there is sequence activity on the cmdSequencer there are events emitted by this block of code.

void StartupManager ::completeSequence_handler(FwIndexType portNum,
                                               FwOpcodeType opCode,
                                               U32 cmdSeq,
                                               const Fw::CmdResponse& response) {
    // Respond to the completion status of the start-up sequence
    if (response == Fw::CmdResponse::OK) {
        this->log_ACTIVITY_LO_StartupSequenceFinished();
    } else {
        this->log_WARNING_LO_StartupSequenceFailed(response);
    }
}

Logs / crash output

No response

Target board

RP2350 (Pico 2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Status

    Bug Fixes

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions