Missing-Sensor Firmware Trace
Missing-Sensor Firmware Trace
Missing-Sensor Firmware Trace
Illustrative virtual runVirtual I2C sensor
Connected · normal reading
Node firmware
Updates status
Status indicator
Fault indicator inactiveSchematic firmware trace
- Normal reading
Virtual I2C sensor
Sensor removed · connection open
Node firmware
No valid sensor reading
Status indicator
Fault indicator inactiveBus observation
A removed I2C peripheral normally leaves its address unacknowledged (address NACK).
Schematic firmware trace
- Normal reading
- No valid sensor reading
Virtual I2C sensor
Sensor removed · connection open
Node firmware
Firmware policy · wait and retry
Status indicator
Fault indicator inactiveBus observation
A removed I2C peripheral normally leaves its address unacknowledged (address NACK).
Schematic firmware trace
- Normal reading
- No valid sensor reading
- Firmware policy: timeout if the modeled wait expires
- Retry while attempts remain
Virtual I2C sensor
Sensor removed · connection open
Node firmware
Retry limit reached · fault state
Status indicator
FaultBus observation
A removed I2C peripheral normally leaves its address unacknowledged (address NACK).
Schematic firmware trace
- Normal reading
- No valid sensor reading
- Firmware policy: timeout if the modeled wait expires
- Retry while attempts remain
- Retry limit reached
- Fault state
Virtual I2C sensor
Sensor removed · connection open
Node firmware
Retry limit reached · fault state
Status indicator
FaultBus observation
A removed I2C peripheral normally leaves its address unacknowledged (address NACK).
Schematic firmware trace
- Normal reading
- No valid sensor reading
- Firmware policy: timeout if the modeled wait expires
- Retry while attempts remain
- Retry limit reached
- Fault state
Evidence to capture or inspect
- Stimulus
- Record virtual sensor removal
- Model version
- Save with run
- Serial log
- Check retry limit and entry into the fault state
- Output check
- Verify no unsafe output in the model
- Model limits
- Physical bus signals, actuator behavior and recovery require bench checks.
Claim if the run confirms it
The firmware enters the fault state when the virtual I2C sensor is missing.
Virtual I2C sensor
Sensor removed · connection open
Node firmware
Retry limit reached · fault state
Status indicator
FaultBus observation
A removed I2C peripheral normally leaves its address unacknowledged (address NACK).
Schematic firmware trace
- Normal reading
- No valid sensor reading
- Firmware policy: timeout if the modeled wait expires
- Retry while attempts remain
- Retry limit reached
- Fault state
Evidence to capture or inspect
- Stimulus
- Record virtual sensor removal
- Model version
- Save with run
- Serial log
- Check retry limit and entry into the fault state
- Output check
- Verify no unsafe output in the model
- Model limits
- Physical bus signals, actuator behavior and recovery require bench checks.
Claim if the run confirms it
The firmware enters the fault state when the virtual I2C sensor is missing.
Repeat on the real board
Pending bench evidence- Disconnect real bus
- Capture logic analyzer trace
- Reconnect bus
- Verify recovery
Establish the normal reading
Start with a normal reading so you can compare the fault response with the node’s usual behavior.
Technical boundaries. The virtual sequence stops at the fault state. Its output check concerns the model, and recording a simulator run requires its stimulus, model version and log. Physical bus signals, actuator behavior and recovery after reconnection require separate bench evidence.