PROBLEM TO BE SOLVED: To provide an electronic endoscope and a system which quickly write firmware in a memory, and even if the writing is failed, make the operation of the electronic endoscope function.SOLUTION: A data file having a new firmware B is read from the outside, and a header area 510 is removed from the data file to create new compressed data Bc. Compressed data Ac stored in a compressed data second area is rewritten into the new compressed data Bc. In a step S23, the compressed data Bc is decompressed to create the firmware B, and the firmware B is stored in a first area 224. In a step S24, an endoscope MPU 221 decompresses the compressed data Bc stored in the second area 225 to create a new firmware Bd. The firmware Bd is stored in the first area 224.