摘要:
An electrical system apparatus is constructed as follows to easily attain the desired adjustment, repair and change for the version of a stored program on the user side even if a microcomputer containing a rewritable or unrewritable memory is used. That is, the electrical system apparatus includes a one-chip microcomputer containing a memory which is divided into a plurality of blocks and includes one specified block n set in a preset block of the memory for storing a control program for realizing a preset function or specification of the system apparatus, a specified block rewriting program stored in at lest one of the blocks 1 to (n-1) other than the specified block to rewrite the content of the specified block, and a communicating section accessible to the memory and having a serial communicating function, and the rewriting program permits data transmitted from an external device and received by the communicating section to be written into the specified block n.
摘要:
A microcomputer includes a program memory for storing program data, a program counter for addressing the program memory, an instruction decoder for decoding the program data read out from an address of the program memory addressed by the program counter, an electrically programmable nonvolatile memory for storing address data denoting an address of the program memory where program data to be corrected is stored, and correction program data, a comparator for comparing the output from the program counter with the address data stored in the nonvolatile memory and outputting a coincidence signal when a coincidence is found therebetween, and a program correction circuit for reading out the program data from the nonvolatile memory in response to the coincidence signal, and for supplying the readout data to the instruction decoder in place of the output from the program memory. According to another feature, the microcomputer may comprise a program correction circuit wherein a correction address is supplied to a program counter, and wherein code sections are stored.
摘要:
A microcomputer includes a program memory for storing program data, a program counter for addressing the program memory, an instruction decoder for decoding the program data read out from an address of the program memory addressed by the program counter, an electrically programmable nonvolatile memory for storing address data denoting an address of the program memory where program data to be corrected is stored, and correction program data, a comparator for comparing the output from the program counter with the address data stored in the nonvolatile memory and outputting a coincidence signal when a coincidence is found therebetween, and a program correction circuit for reading out the program data from the nonvolatile memory in response to the coincidence signal, and for supplying the readout data to the instruction decoder in place of the output from the program memory.According to another feature, the microcomputer may comprise a program correction circuit wherein a correction address is supplied to a program counter, and wherein code sections are stored.
摘要:
The camera system comprises a camera and an external device. The camera includes a microcomputer, a write control circuit for receiving replacement data from the external device and writing the replacement data into a replacement program memory of the microcomputer, and an interface circuit for controlling a camera element in accordance with the decoded value output from an instruction decoder (ID) of the microcomputer. The external device includes a memory for storing address data to be changed in the microcomputer in the camera and replacement program data, and a transmission circuit for reading out the replacement data from the memory and transmitting the read-out data to the camera.
摘要:
When an error is found in a program of the microcomputer, there are stored in a writable memory change address data of an address of a wrong instruction to be subjected to modification or insertion in the read-only memory, change instruction codes of modification or insertion for replacement of the wrong instruction, and a control code controlling a second program counter. When the contents of the program counter match the change address data stored in the writable memory, the program data in the writable memory is executed in place of the wrong instruction in the read-only memory according to the control code controlling the second program counter. Consequently, even when a bug is found in the program, a program replacement and/or insertion can be easily achieved and it is unnecessary to discard the final product on which the program is developed through a mask. Moreover, the program can be easily changed from an external device. This facilitates determining the cause of troubles occurring in the one-chip microcomputer incorporated in an electronic apparatus and hence improves reliability of the apparatus.
摘要:
In a powered zoom camera, the ratio of the dimension of an object image to a photographic frame is selected by a low speed manual zooming. A photographic magnification at this time is stored. In an automatic zoom mode, the camera is automatically zoomed to obtain the stored photographing magnification even if the object moves. The same photographing magnification may be obtained in both vertical and horizontal positions.
摘要:
A CPU checks whether a content of a battery insertion detecting RAM has a predetermined bit configuration and whether a flag during battery check is set after power on reset. If neither the RAM has the bit configuration nor the flag is set, the flag is set and then a dummy current is caused to flow into a dummy load. When power consumption is high, the power supply voltage greatly drops within a predetermined period of time after the dummy load is turned on and therefore the voltage sensing IC detects the voltage drop and the CPU is reset. Since the CPU initializes all ports if it is subjected to hard reset, the current is stopped to flow into the dummy load and the power supply voltage is recovered. After the hard reset, the CPU checks the content of the RAM and the flag. Since the flag continues to be set, the CPU determines that the battery runs down and performs a battery run-down operation. When the battery is loaded, the RAM usually has a predetermined bit configuration. If the content of the RAM is checked, it is possible for the CPU to determine whether the hard reset is performed by loading the battery or it is performed since the voltage sensing IC detects a drop in the battery voltage during the battery check.
摘要:
An inclination detecting apparatus includes a light projecting section, a light receiving section and an operating section. The light projection section projects light towards an object. The light receiving section receives lights reflected from at least two points of the object and outputs a photoelectric current signal. The operating section derives a difference between the reciprocals of the square roots of the photoelectric currents output from the light receiving section. An output of the operating section represents an inclination signal of the object. A shake detecting apparatus includes a light projecting/receiving section and an operating section. The light projecting/receiving section is disposed on the rear surface of a camera, so as to project light towards a photographer, receive lights reflected from at least two points on light receiving elements, and output photoelectric current signals for the respective points. The operating section derives a difference between the reciprocals of the square roots of the photoelectric currents output from the light receiving elements. An output of the operating section is used as a hand shake signal.
摘要:
A camera having a CPU reset function. The CPU has an on state in which a reference clock is supplied to maintain the CPU in an oscillating state, and an off state in which the oscillation is stopped. When the on and off states are changed over by an external switch, a reset signal is generated to reset the CPU. Even if the CPU makes a runaway which cannot be noticed form the outside, the CPU is necessarily reset in response to the changeover operation of the external switch.
摘要:
An electronic camera can be loaded with a semiconductor memory and a storage medium that has a storage capacity larger than that of the memory and is rotated to record or reproduce data. Digital image data obtained by photographing are recorded in the memory. When the residual storage capacity of the memory reaches a predetermined value, the digital image data recorded in the memory are transferred to the storage medium.