CROSS REFERENCE TO RELATED APPLICATION

This application claims priority from Japanese Patent Application No. 2019-178765 filed Sep. 30, 2019. The entire content of the priority application is incorporated herein by reference.

TECHNICAL FIELD

The present disclosure relates to an image forming apparatus.

BACKGROUND

An electro-photographic type image forming apparatus such as a laser printer and an LED printer is well known in the art. The image forming apparatus includes a drum cartridge and a toner cartridge. The drum cartridge includes a photosensitive drum. The toner cartridge includes a developing roller. The toner cartridge is attachable to and detachable from the drum cartridge. In a case where the toner cartridge is attached to the drum cartridge, the developing roller of the toner cartridge and the photosensitive drum of the drum cartridge are in contact with each other.

Further, there has been conventionally known a toner cartridge including a toner memory serving as a storage medium. The toner memory stores various information with respect to the toner cartridge. In recent years, the image forming apparatus handles not only information related to the toner cartridge, but also information related to the drum cartridge. Therefore, the drum cartridge is required to be provided with a drum memory serving as a storage medium for storing information related to the drum cartridge.

SUMMARY

There is such a conventional image forming apparatus that has both of a drum memory and a toner memory. In the conventional image forming apparatus, after a cover of the image forming apparatus is closed, a controller of the image forming apparatus determines whether communication with the drum memory is available. When the drum cartridge is not attached to the image forming apparatus, the controller determines that communication with the drum memory is not available. However, in the conventional image forming apparatus, when communication with the drum memory is not available, it cannot be determined whether the communication with the drum memory is not available because the drum cartridge is not attached to the image forming apparatus or because communication between the controller and the drum memory is disabled.

In view of the foregoing, it is an object of the present disclosure to provide a technology allowing determination of whether a cartridge is attached to an image forming apparatus and is established, without communication with the memory.

In order to attain the above and other objects, according to one aspect, the disclosure provides an image forming apparatus including a controller, a main body frame, a cartridge and a display. The cartridge is attachable to the main body frame. The cartridge includes a memory, a cartridge data terminal and a cartridge detection terminal. The memory stores information related to the cartridge. The cartridge data terminal is configured to communicate the information stored in the memory. The controller includes a main body data terminal and a main body detection terminal. The main body data terminal is electrically connected to the cartridge data terminal in a case where the cartridge is attached to the main body frame. The main body detection terminal is electrically connected to the cartridge detection terminal in the case where the cartridge is attached to the main body frame. The controller is configured to perform determining whether the main body detection terminal and the cartridge detection terminal are electrically connected with each other. The controller is configured to perform displaying a determination result of the determining whether the main body detection terminal and the cartridge detection terminal are electrically connected with each other on the display.

