The invention relates to a method for creating immunity to the variations in resources of a portable object comprising a processor block, and at least two communication and/or supply interfaces with and/or without contact. Said method comprises at least one step for controlling the availability state of at least one resource on one of the interfaces, and a resource selection step. The inventive method is characterised in that it comprises the following steps, according to which an interruption signal is generated towards the processor block during a variation in the availability of the resource, and the processor treats the interruption signal in order to enable a selection of resources. The invention also relates to the associated portable object. |