Patent ID: 8823868

Claim:
A device comprising: an interface configured to communicate with an apparatus to which the device is connected; a detecting section configured to detect malfunctions of a program stored within a holding section of the device and generate a detection result based on the malfunctions; a supplying section configured to utilize the detection result to produce and supply support information to the apparatus through the interface, the support information identifying an availability of device operations supported and controlled by the apparatus; a notifying section configured to supply a notification to the apparatus when the program is malfunctioning based on the detection result; and an update section configured to update the program with a new program version received from the apparatus in response to the notification; wherein the new program version includes an updatable area where data is rewritten when the update section updates the program and a non-updatable area where data is not rewritten even when the update section updates the program, and the detecting section detects a malfunction in the updatable area, and wherein the device is an exchangeable lens attachable to and detachable from the apparatus, the updatable area stores data on actions of a driving section that drives each optical member in the exchangeable lens, the non-updatable area stores data for detecting a malfunction in the exchangeable lens and data for controlling the communication with the apparatus when the malfunction has been detected, and the detecting section detects a malfunction in the data stored in the updatable area based on the data stored in the non-updatable area.