Implement fault handling of safety controller and document it #5
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Blocks
#33 Write documentation for v1
mhu/reflow-oven-control-sw
Reference: mhu/reflow-oven-control-sw#5
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Safety Controller
Severe errors
These errors stop the PID and force the oven off but do not force user to restart the whole device.
ERR_FLAG_MEAS_ADC_WATCHDOG
ERR_FLAG_TIMING_PID
ERR_FLAG_TIMING_MEAS_ADC
ERR_FLAG_MEAS_ADC_OFF
ERR_FLAG_AMON_VREF
ERR_FLAG_MEAS_ADC_OVERFLOW
Hard Errors
These errors force the reflow controller into panic mode. It will not serve a shell or GUI anymore and can only be restarted. Panic mode is still to be defined in detail. Panic can't be terminated without power cycling the device.
The following errors trigger the panic mode:
ERR_FLAG_TIMING_MAIN_LOOP
ERR_FLAG_WTCHDG_FIRED
ERR_FLAG_AMON_UC_TEMP
ERR_FLAG_SYSTICK
ERR_FLAG_STACK
ERR_FLAG_SAFETY_ADC
Add this information to the sphinx docu!
Change behavior:
After a panic occured, the controller will restart normally, but report that a panic occured and you have to check the safety memory for details.