During the afternoon we had some locking sequences where we could check the behaviour of the automatic FmodErr procedure after an unlock, in preparation for the ER:
- initially, the procedure was not working properly as INJ_MAIN got stuck in FMODERR_TUNED, rather than moving on to IMC_RESTORED; this was most probably due to the fact that right before such request, INJ_MAIN was set to managed again, but this has been seen to cause the discard of any state request in the same cycle, so the request was never executed/received;
- after removing the additional "set_managed", we found out that INJ_MAIN was rebelling against ITF_LOCK and taking control of itself every time the FmodErr cycle was started, causing ITF_LOCK to get stuck in DOWN;
- so we (temporarily?) removed from INJ_MAIN its independence efforts (lines 314-315); in the few unlocks that happened so far the procedure seems to be working correctly.