close

Вход

Забыли?

вход по аккаунту

JP2004355161

код для вставкиСкачать
Patent Translate
Powered by EPO and Google
Notice
This translation is machine-generated. It cannot be guaranteed that it is intelligible, accurate,
complete, reliable or fit for specific purposes. Critical decisions, such as commercially relevant or
financial decisions, should not be based on machine-translation output.
DESCRIPTION JP2004355161
An object of the present invention is to provide an electronic device capable of storing
specification data according to the environment by improving the conventional technology and
reducing the cost. According to the present invention, an electronic device 10 capable of storing
specification data according to the environment has the following configuration. The
microcomputer 20 includes a mask ROM 24 that stores specification data common to the
electronic device 10, and an electrically rewritable non-volatile memory 30 capable of storing
individual specification data of each electronic device. The microcomputer 20 reads the
specification data stored in the mask ROM 24 or the nonvolatile memory 30 based on the
identification data of the nonvolatile memory 30, and sets the operating environment of the
electronic device based on the specification data. [Selected figure] Figure 1
Electronic device capable of storing specification data according to environment and method of
setting specification data to the electronic device
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an
electronic device incorporating data (hereinafter referred to as specification data) for causing a
desired operation according to the environment to be used, and in particular to a storage method
of specification data. . [0002] Various electronic devices (set devices) such as audio systems and
navigation devices operate optimally depending on the area where they are used and the
environment of a vehicle on which they are mounted. desired. For example, in the case of an
audio system, it is desirable that an equalizer setting value having a frequency characteristic
suitable for the size of the vehicle body and a language display according to the country of use be
initialized. It is desirable to set up an operating environment that matches the characteristics and
performance of the vehicle. With recent advances in digital technology, specification data such as
equalizer setting values can be digitally processed. For this reason, it is common to develop one
08-05-2019
1
kind of hardware and derivatively develop hardware adaptable to various usage environments by
changing these specification data by software. Specification data is required for each electronic
device, but the specification is determined immediately before mass production, or the
specification once determined may be suddenly changed. In order to cope with such flexibility,
the electronic device uses an electrically readable and writable non-volatile memory (for example,
EEPROM and flash memory) separately from the mask ROM of the microcomputer, and the
specification data is stored in the non-volatile memory. Let me store it. That is, in the case of the
mask ROM, since it takes a certain time for its manufacture and its contents can not be changed,
it is not suitable for storing specification data. Patent Document 1 relates to a specification
setting device for an electric device, and uses an EEPROM for storing a destination number for
causing a microcomputer of a microwave oven to select a program having contents according to
a destination, thereby using the destination It is possible to easily electrically write numbers and
change the numbers. As described above, the conventional electronic device stores specification
data in a non-volatile memory of a microcomputer and The computer is loaded with specification
data from non-volatile memory.
However, since the specification data includes individual specification data different for each
electronic device and specification data common to each electronic device, and all the
specification data are stored in the non-volatile memory, As a result, there is a problem that a
nonvolatile memory having a large storage capacity is required, and the cost of the electronic
device is increased. The present invention solves the above-described conventional problems, and
can freely change the storage capacity of an electrically readable / writable non-volatile memory,
and can reduce the cost and can store specification data. The purpose is to provide equipment.
According to the present invention, an electronic device capable of storing specification data
according to the environment includes: a microcomputer including a memory for storing
specification data common to the electronic device; And an electrically rewritable non-volatile
memory capable of storing individual specification data for each of the microcomputers, wherein
the microcomputer determines the operating environment of the electronic device based on the
specification data stored in the memory or the non-volatile memory. It is to set. The environment
is used in a wide sense, such as the area, place, and installation space in which the electronic
device is used. Then, by setting the specification data according to such an environment, the
electronic device is preferably operated in an optimal state. For example, an EEPROM or a flash
memory can be used as the non-volatile memory, and can be electrically read and written.
Preferably, the non-volatile memory includes identification data for identifying individual
specification data. By reading the identification data, the microcomputer can recognize what kind
of identification data is stored in the non-volatile memory and the storage capacity of the nonvolatile memory. The microcomputer selectively accesses the memory or the non-volatile
memory based on the identification data to obtain necessary specification data. Among the
specification data, individual specification data may generally be determined immediately before
mass production or may suddenly change in specification, but the individual specification data
08-05-2019
2
should be stored in non-volatile memory Can be flexibly dealt with. Furthermore, the storage
capacity of the non-volatile memory can be reduced by storing the specification data common to
the devices in the memory of the microcomputer. Furthermore, by causing the microcomputer to
recognize the storage capacity of the non-volatile memory based on the identification data, the
storage capacity of the non-volatile memory can be made arbitrary.
This means that even when some of the individual specification data become common
specification data, or conversely when some common specification data become individual
specification data, storage of nonvolatile memory It is possible to cope with by increasing or
decreasing the capacity. In particular, it is effective when such a change occurs after mass
production. In such a case, the same specification data is stored in the memory of the
microcomputer and the non-volatile memory, but the non-volatile memory can store the latest
specification data. It is desirable to give priority to access. Further, the microcomputer may
include an input unit for inputting a voltage value for identifying the individual data stored in the
non-volatile memory. As the input unit, an A / D (Analog to Digital) port or another input port can
be used, and the microcomputer controls access to the non-volatile memory according to the
voltage value. Preferably, the input voltage value can be set in multiple stages, and address
information corresponding to the multi-stage voltage values is stored in advance in the memory
of the microcomputer. The method of setting specification data according to the use environment
to an electronic device according to the present invention stores specification data common to
the electronic device in a memory of a microcomputer and also separates specification data for
each electronic device Is stored in an electrically rewritable non-volatile memory, and the
memory or non-volatile memory is accessed by a microcomputer, and environment setting of the
electronic device is performed based on specification data from the memory or non-volatile
memory. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the
present invention will be described in detail with reference to the drawings. FIG. 1 is a block
diagram showing the configuration of the electronic device according to the first embodiment of
the present invention. The electronic device 10 is, for example, a navigation device mounted on a
car, an audio device such as a TV set, a CD player, a CD switch, a DVD device, a head unit, a head
unit, or any electronic device such as home appliances other than in-vehicle Target devices. The
electronic device 10 is a device including a microcomputer 20, an electrically writable and
erasable nonvolatile memory 30 such as an EEPROM and a flash memory, and a device such as a
navigation device, a TV set, a CD player and the like. And including.
The microcomputer 20 temporarily stores data by the central processing unit 22 which executes
processing / calculation of each part, a mask ROM 24 which stores specification data to be set in
the device 40 and a program for setting the specification data in the device. And the RAM 26 to
The non-volatile memory 30 according to the present invention stores individual specification
data different for each electronic device. The individual specification data refers to data in which
08-05-2019
3
specification data to be set in the device 40 differs depending on the environment in which the
electronic device 10 is used. For example, if the electronic device 10 is for use in vehicles,
individual specification data corresponding to the vehicle type is required. In addition, if it is for
household appliances, specification data according to the shipping destination, such as overseas
or domestic, is required. Such individual specification data that differs for each model is usually
determined immediately before the start of mass production, or may be urgently changed.
Therefore, the electrically rewritable non-volatile memory 30 is used to flexibly cope with the
determination and change of the specification data. On the other hand, since the specification
data common to electronic devices contains a fixed factor to some extent, the frequency of
change is small, and it is generally determined before the mass production start time. is there.
Therefore, specification data common to electronic devices can be stored in the mask ROM,
whereby the storage capacity of the non-volatile memory 30 can be reduced. A storage area of
the non-volatile memory 30 is shown in FIG. Nonvolatile memory 30 includes an identification
data area 32 and an individual data area 34. The identification data area 32 stores data
identifying what specification data the non-volatile memory 30 stores. As shown in the figure, the
identification data area 32 stores a corresponding flag and an address for each individual
specification data. The flag is set to "1" when the specification data is stored, and is set to "0"
when the specification data is not stored. When the flag is "1", corresponding address
information is stored. For example, when the specification data "A" is stored, the flag is set to "1",
and the address information "Add 1" for indicating the storage position or the range is set.
Further, since the specification data C is not stored, the flag is set to 0 . Although writing
of specification data to the non-volatile memory 30 is performed by the ROM writer, it may be
performed by the microcomputer 20 separately.
The individual data area 34 stores data (adjustment value and setting value) for each of the
specification data A, B, D as shown in FIG. 2B. FIG. 3 shows an example of individual
specification data stored in the non-volatile memory 30 and an example of common specification
data stored in the mask ROM 24. When the electronic device 10 is an on-vehicle audio device or
navigation device, for example, the serial number of the vehicle, an anti-theft code (antitheft
code), a CD servo setting value, a laser current value, etc. are included as individual specification
data. . The serial number is data required to identify a vehicle on which the electronic device is
mounted, and varies from vehicle to vehicle. The anti-theft code is set for each vehicle, and
entering this code can cancel or not cancel the anti-theft. The CD servo setting value and the
laser current value are for setting the acoustic characteristics of each CD player or DVD player
for each vehicle. The common specification data includes, for example, a model name, a ROM
version, a tuner setting value, an EQ (equalizer) setting value, and the like. The model model
name is data for identifying the electronic device 10, and the ROM version is data indicating the
version of the mask ROM. The tuner setting value and the equalizer setting value are often
common to each electronic device. However, it is possible to appropriately change the example of
the specification data described above individually or in common according to the design, for
08-05-2019
4
example, it is possible to handle the tuner setting value and the EQ setting value as individual
specification data, On the contrary, it is also possible to handle the CD servo setting value and the
laser current value as common specification data. Next, the setting operation of the specification
data will be described with reference to the flowchart of FIG. First, when the power of the
electronic device 10 is turned on (step S101), initialization of the device 40, that is, setting of
specification data according to the use environment is started. A program for setting specification
data can be stored in the mask ROM 24 of the microcomputer 20. The microcomputer 20
accesses the non-volatile memory (EEPROM) 30, and loads the identification data (see FIG. 2A)
stored therein (step S102). The loaded identification data is stored in the RAM 26. The
microcomputer 20 recognizes what individual specification data is stored in the non-volatile
memory 30 based on the identification data, and recognizes the storage capacity of the nonvolatile memory 30 from the number of flags or the address information. be able to.
Next, the microcomputer 20 sets the specification data for each device 40 according to the
setting program of the specification data (step S103). The microcomputer 20 checks whether
specification data to be set is stored in the non-volatile memory 30 (step S104). This check is
performed by the flag of the identification data. If the specification data corresponding to the
non-volatile memory 30 is stored, the microcomputer 20 accesses the non-volatile memory 30,
reads the corresponding specification data (step S105), and stores the read specification data in
the RAM 26. Do. When the corresponding specification data is not in the non-volatile memory
30, it is alternatively determined that the specification data is stored in the mask ROM 24, and
the specification data is read out from the mask ROM 24 (step S106). The microcomputer
configures the device 40 based on the specification data. When setting of specification data
remains in the device, the operations of steps S104 to S106 are repeated, and the microcomputer
20 performs setting of specification data according to the environment for all devices 40 (step
S107). As described above, according to the present embodiment, by storing individual
specification data in the non-volatile memory 30, it is possible to promptly cope with a
specification being determined or a change thereof immediately before mass production. Can.
Further, since common specification data is stored in the mask ROM 24 of the microcomputer,
the storage capacity of the non-volatile memory can be reduced as compared with the
conventional case, which can contribute to the cost reduction of the electronic device. Further, by
storing identification data in the non-volatile memory 30 and loading the identification data into
the microcomputer 30, the microcomputer 30 can recognize the storage capacity of the nonvolatile memory 30. Therefore, the capacity of the nonvolatile memory 30 for storing the
specification data can be arbitrarily changed. This means that the nonvolatile memory 30 can be
used even when some of the individual specification data become common specification data or,
conversely, some common specification data become individual specification data. It is possible
to cope with by increasing or decreasing the storage capacity. In particular, it is effective when
such a change occurs after mass production. Furthermore, when it is not easy to classify
specification data into common specification data and individual specification data, part of the
08-05-2019
5
specification data is stored redundantly in the non-volatile memory 30 and the mask ROM 24. It
is also good.
Whether or not it is duplicated can be checked by referring to identification data. When the
specification data overlap, it is desirable that the microcomputer 20 load the specification data of
the non-volatile memory 30 preferentially. This is because the specification data of the mask
ROM 24 needs to be determined earlier in time than the specification data of the non-volatile
memory 30, and it is expected that the specification data of the non-volatile memory is the latest.
Although the identification data of the non-volatile memory 30 is configured as shown in FIG. 2
(b) in the above embodiment, other configurations may be used as long as they can be recognized
as individual data and its storage capacity. . Next, a second embodiment of the present invention
is shown in FIG. The same components as in FIG. 1 are denoted by the same reference numerals.
In the second embodiment, in place of storing identification data in the non-volatile memory 30,
non-volatility is enabled by setting voltage values to A / D (Analog to Digital) ports of the
microcomputer 20 in multiple stages. The access to the sex memory 30 is controlled. As shown
in the figure, in the A / D port 28, resistors R1, R2 and Rn are connected in series between the
power supply terminal V and the ground, and connection nodes N1 (N2 ... Nn) of the resistors are
connected. By changing the take-out position of the output voltage Vo, the multistage voltage
value can be obtained. As shown in FIG. 6, the microcomputer 20 masks a table showing the
relationship between voltage values (V1... Vn) set in multiple stages and readable addresses to
the non-volatile memory 30. It is stored in the ROM 24. The address of the non-volatile memory
30 is set such that the non-volatile memory 30 is an expansion memory of the mask ROM 24.
When the voltage value to A / D port 28 is V1, individual specification data is stored up to the
area of address Add1. When the voltage value is V2, individual specification data is stored up to
the area of address Add2, When the value is V3, individual specification data is stored by the
area of the address Add3. Thus, the microcomputer 20 checks the voltage value of the A / D port
28 and loads the specification data of the non-volatile memory 30 within the address range
corresponding thereto. In the above embodiment, although the voltage value to the A / D port is
made variable, other than this, the same address management is performed by changing the
voltage value to the input port of the microcomputer 20. May be performed.
Although the preferred embodiments of the present invention have been described above in
detail, the present invention is not limited to the specific embodiments, and it is within the scope
of the present invention as set forth in the claims. Various modifications and changes are
possible. According to the present invention, among the specification data, the specification data
common to the device is stored in the memory of the microcomputer, and the individual
specification data is stored in the non-volatile memory in the device. Therefore, the storage
capacity of the non-volatile memory can be reduced, and the cost of the electronic device can be
reduced. Furthermore, by storing identification data in the non-volatile memory and loading the
08-05-2019
6
identification data into the microcomputer, the storage capacity of the non-volatile memory can
be freely varied, and the microcomputer accesses the specification data accordingly. be able to.
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a configuration of an
electronic device according to a first embodiment of the present invention. 2 shows stored
contents of the non-volatile memory, FIG. 2 (a) shows the contents of identification data, and FIG.
2 (b) shows the contents of individual specification data. FIG. 3 (a) shows an example of
individual specification data, and FIG. 3 (b) shows an example of common specification data. FIG.
4 is a flow chart showing setting operation of specification data. FIG. 5 is a block diagram
showing a configuration of an electronic device according to a second embodiment of the present
invention. FIG. 6 is a diagram showing a relationship between a voltage value and an address in
the second embodiment. Description of symbols 10: electronic devices 20: microcomputer 22:
central processing unit 24: mask ROM 26: RAM 28: A / D port 30: non-volatile memory
(EEPROM) 40: device
08-05-2019
7
1/--страниц
Пожаловаться на содержимое документа