WO2015092991A1 - Information processing device, method for starting up information processing device, and information processing device startup program product - Google Patents

Information processing device, method for starting up information processing device, and information processing device startup program product Download PDF

Info

Publication number
WO2015092991A1
WO2015092991A1 PCT/JP2014/006001 JP2014006001W WO2015092991A1 WO 2015092991 A1 WO2015092991 A1 WO 2015092991A1 JP 2014006001 W JP2014006001 W JP 2014006001W WO 2015092991 A1 WO2015092991 A1 WO 2015092991A1
Authority
WO
WIPO (PCT)
Prior art keywords
information processing
data
processing apparatus
upper limit
reset
Prior art date
Application number
PCT/JP2014/006001
Other languages
French (fr)
Japanese (ja)
Inventor
徳志 高平
一博 高須
Original Assignee
株式会社デンソー
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社デンソー filed Critical 株式会社デンソー
Publication of WO2015092991A1 publication Critical patent/WO2015092991A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices

Definitions

  • the present disclosure relates to an information processing apparatus including a plurality of devices connected by a predetermined interface, in particular, a PCI Express (registered trademark) interface, an information processing device activation method, and an information processing device activation program product.
  • a PCI Express registered trademark
  • PCI Express registered trademark
  • PCIe Peripheral Component Component Interconnect
  • the information processing apparatus adopting PCIe has a problem that the time required for the training sequence may exceed the above upper limit time depending on the situation, and is processed as an error before the training sequence is completed. .
  • the present disclosure has been made in view of the above circumstances, and an object thereof is information that can reliably complete the PCIe initialization process in a configuration in which a plurality of devices are connected by PCIe that is a predetermined interface.
  • the object is to provide a processing apparatus, an information processing apparatus activation method, and an information processing apparatus activation program product.
  • An information processing apparatus includes a plurality of devices connected by a predetermined interface, and at least one of the plurality of devices is connected to the predetermined interface at startup.
  • the recognition process for recognizing the destination device is continued until the connection destination device is recognized.
  • the initialization process can be completed reliably.
  • An information processing apparatus activation method for activating an information processing apparatus including a plurality of apparatuses connected by a predetermined interface is connected to the predetermined interface when the information processing apparatus is activated.
  • the initialization process can be completed reliably even if the initialization process of the predetermined interface becomes longer.
  • An information processing apparatus activation program product stored in a computer-readable persistent and tangible storage medium activates an information processing apparatus including a plurality of apparatuses connected by a predetermined interface
  • the connection destination device recognizes a recognition process for recognizing the connection destination device connected to the predetermined interface at the time of activation with respect to at least one of the plurality of devices.
  • the initialization process can be completed reliably even if the initialization process of the predetermined interface is prolonged.
  • the predetermined interface is a registered PCI Express interface.
  • FIG. 1 is a diagram schematically illustrating an electrical configuration of an information processing apparatus according to an embodiment of the present disclosure.
  • FIG. 2 is a diagram schematically illustrating a normal operation flow in the information processing apparatus according to the embodiment of the present disclosure.
  • FIG. 3A is a diagram schematically illustrating a state in which the recognition process is normally completed in the information processing apparatus according to the conventional technique, and
  • FIG. 4 is a diagram schematically illustrating a flow of initialization processing of the sub-microcomputer that configures the information processing apparatus according to the embodiment of the present disclosure.
  • FIG. 1 is a diagram schematically illustrating an electrical configuration of an information processing apparatus according to an embodiment of the present disclosure.
  • FIG. 2 is a diagram schematically illustrating a normal operation flow in the information processing apparatus according to the embodiment of the present disclosure.
  • FIG. 3A is a diagram schematically illustrating a state in which the recognition process is normally completed in the information processing apparatus according to the conventional technique
  • FIG. 5 is a diagram schematically showing a flow of processing at the time of starting the main microcomputer configuring the information processing apparatus according to the embodiment of the present disclosure.
  • FIG. 6 is a diagram schematically illustrating an operation flow when an error occurs in the recognition process in the information processing apparatus according to the embodiment of the present disclosure.
  • FIG. 7 is a diagram schematically illustrating an example of an electrical configuration of an information processing apparatus according to another embodiment of the present disclosure.
  • an information processing apparatus (a navigation ECU 2 described later) of this embodiment is applied to a vehicle system 1 used for a vehicle.
  • the vehicle system 1 is provided with a navigation ECU 2, a battery 3, and another ECU 4.
  • a navigation ECU 2 Electronic Control Unit
  • the other ECUs 4 may be connected to a plurality of ECUs instead of one.
  • the navigation ECU 2 has a main microcomputer 10, a sub-microcomputer 11 as a second device, and an IOH 12 (Input (Output Hub) as a third device.
  • the main microcomputer 10 and the IOH 12 are connected to the sub-microcomputer 11 on a one-to-one basis via PCIe bus B1 and bus B2.
  • the descriptions of “main” and “sub” are used for convenience to indicate that there are two microcomputers, and do not indicate a master-slave relationship such as so-called master and slave. Absent.
  • the main microcomputer 10 of the navigation ECU 2 includes a microcomputer having a CPU, a ROM, a RAM, and the like (not shown).
  • the main microcomputer 10 is connected to a flash memory 13 (shown as “FLASH” in FIG. 1), a reset circuit 14 and the like.
  • the main microcomputer 10 performs navigation functions such as map matching and route search.
  • the main microcomputer 10 first reads and executes the activation program from the flash memory 13 when the reset is released at the time of activation.
  • the main microcomputer 10 reads map data and the like from an SD card 15 (shown as “built-in SD” in FIG. 1) provided in the IOH 12, and executes a navigation function such as map matching and route search. That is, the main microcomputer 10 executes a data acquisition process for acquiring data used for its own operation from the SD card 15 which is a storage device provided in the IOH corresponding to the connection destination device connected by the PCIe. In addition, the main microcomputer 10 outputs a reset instruction to the reset circuit 14 and executes a reset process for resetting the entire navigation ECU 2 in relation to the present embodiment. Therefore, the main microcomputer 10 and the reset circuit 14 are connected by a signal line R1 for self-reset.
  • the main microcomputer 10 is a device that executes data acquisition processing and reset processing, and corresponds to a first device that operates using data acquired from the connection destination device side, in this embodiment, the IOH 12 side.
  • the flash memory 13 is composed of a readable / writable semiconductor memory, and stores data such as Japanese fonts displayed on the navigation screen. A large amount of data that cannot be stored in the flash memory 13 such as the above-described map data is stored in the SD card 15.
  • the reset circuit 14 has a known power-on reset function such as reset timing control of each device when the power is turned on.
  • the reset circuit 14 also has a function of resetting the entire navigation ECU 2 based on a reset instruction from the main microcomputer 10 as described above.
  • the sub-microcomputer 11 is configured as a main body that initializes PCIe. That is, in the present embodiment, the sub-microcomputer 11 executes PCIe initialization, that is, recognition processing for recognizing a connection destination device connected to the PCIe. Although details will be described later, the sub-microcomputer 11 executes a PCIe training sequence between the main microcomputer 10 and the IOH 12 corresponding to the connection destination device. That is, the sub-microcomputer 11 is a device that executes recognition processing, and corresponds to a second device connected to the main microcomputer 10 corresponding to the first device via PCIe.
  • PCIe initialization that is, recognition processing for recognizing a connection destination device connected to the PCIe.
  • PCIe training sequence between the main microcomputer 10 and the IOH 12 corresponding to the connection destination device. That is, the sub-microcomputer 11 is a device that executes recognition processing, and corresponds to a second device connected to the main microcomputer 10 corresponding to the first device via PCIe.
  • the IOH 12 is a device that provides various input / output interfaces, and in this embodiment, an SD card 15 that is a large-capacity storage medium is provided. That is, the IOH 12 is a storage device that is connected to the sub-microcomputer 11 corresponding to the second device via the PCIe and stores data used in the main microcomputer 10 corresponding to the first device. This corresponds to a third device in which the SD card 15 is provided.
  • the input / output interface provided in the IOH 12 is not limited to the interface for the SD card 15.
  • it may be an interface for another storage medium such as a CD-ROM, DVD, or CF card, or may be provided with a plurality of interfaces.
  • the SD card 15 may be fixedly provided in the navigation ECU 2 or may be provided detachably. Further, the SD card 15 may be fixedly provided in the navigation ECU 2 and a removable storage medium may be further provided.
  • the basic processing flow of the navigation ECU 2 as an information processing apparatus will be described with reference to FIG.
  • the navigation ECU 2 when the reset state is released, for example, when the power is turned on, initialization is performed in the main microcomputer 10, the sub microcomputer 11, and the IOH 12, respectively.
  • the sub-microcomputer 11 executes the PCIe training sequence (corresponding to a recognition process described later), that is, initialization of PCIe. If the initialization of PCIe is normally completed, the main microcomputer 10 can access the IOH 12.
  • the main microcomputer 10 executes data acquisition processing for acquiring data from the SD card 15 provided in the IOH 12. Specifically, the main microcomputer 10 transmits a data request to the IOH 12 when its initialization is completed. This data request is relayed by the sub-microcomputer 11 and transmitted to the IOH 12. When the IOH 12 receives the data request, the IOH 12 reads corresponding data such as map data from the SD card 15 and transmits the read data to the main microcomputer 10. The data transmitted from the IOH 12 is relayed by the sub microcomputer 11 and acquired by the main microcomputer 10. The process from the transmission of this data request until the corresponding data is acquired corresponds to the data acquisition process.
  • the main microcomputer 10 When the data is acquired, the main microcomputer 10 starts a scheduled operation using the acquired data, that is, an operation for executing the navigation function in the present embodiment. In this way, the navigation ECU 2 realizes a function as a navigation device while each device shares a role. Note that the main microcomputer 10 executes data acquisition processing as needed not only during startup but also during execution of the navigation function.
  • the main microcomputer 10 has already completed the initialization of the PCIe when the initialization of the main microcomputer 10 is completed. This is because the time required for initialization of PCIe is longer than the processing time required for initialization of the main microcomputer 10, that is, the time required for completion of processing such as reading of the Japanese font described above in this embodiment. This is because it is assumed to be completed in a relatively short time. However, if the PCIe initialization is not completed normally, the main microcomputer 10 cannot acquire data from the IOH 12 side.
  • the flow of the PCIe initialization process in the information processing apparatus having the conventional configuration will be briefly described with reference to FIG. If the reset state is canceled at time t0, the sub-microcomputer 11 executes initialization.
  • This initialization includes initialization of the sub-microcomputer 11 itself and initialization of PCIe, that is, processing for recognizing other devices connected to the PCIe. Since the PCIe initialization process is standardized, detailed description thereof is omitted.
  • the sub-microcomputer 11 executes the above-described training sequence (hereinafter referred to as “TS” for the sake of convenience.
  • TS training sequence
  • FIG. 3 “TS” is also indicated) in the IOH recognition process.
  • This TS has standardized data types and transmission / reception procedures, but has no time restrictions.
  • case 1 in FIG. 3A when TS is completed in a relatively short period, more specifically, TS is completed at time t3 prior to time t2, which is the assumed upper limit time.
  • the IOH recognition process is completed normally. If the IOH recognition process is normally completed, since the IOH 12 is recognized by the sub-microcomputer 11, the access to the IOH 12 becomes possible thereafter. In other words, the IOH 12 can be accessed from the PCIe side after time t3.
  • the battery 3 is connected to another EUC 4 or the like, the number of ECUs 4 or the like, Since power consumption varies depending on the vehicle model, and there are too many assumed situations such as the lighting conditions of room lights and headlamps and the consumption state of the battery 3 even in the same vehicle model, all conditions must be set in advance. It is almost impossible to cover it.
  • the PCIe initialization process performed by the sub-microcomputer 11 can be surely completed as described below.
  • the sub-microcomputer 11 performs initialization of the built-in circuit and the like in the initialization process after the reset state is released (S21). Subsequently, the sub-microcomputer 11 executes a recognition process for recognizing the connection destination device (recognition process). This recognition process is one of the initialization processes of PCIe. At this time, the sub-microcomputer 11 determines whether or not the device can be recognized (S22). If the device cannot be recognized (S22: NO), the recognition processing is continued until it can be recognized. That is, the sub-microcomputer 11 waits for completion of the TS until it can recognize a device connected to the PCIe, for example, the IOH 12. As a result, even if the TS becomes longer for some reason, it is possible to wait for the completed TS. On the other hand, if the sub-microcomputer 11 can recognize the device (S22: YES), the initialization process ends.
  • TS is a process performed individually for each device connected to the PCIe. Therefore, the sub-microcomputer 11 similarly waits for the completion of the TS without providing time restrictions even when the device to be recognized is the main microcomputer 10.
  • the navigation ECU 2 takes further measures to prevent the device from being recognized.
  • This countermeasure is performed not by the sub-microcomputer 11 but by the main microcomputer 10. That is, in the navigation ECU 2, a device (main microcomputer 10) different from the device that initializes PCIe (sub-microcomputer 11) is used to deal with the inability to recognize the device for other reasons that do not depend on the PCIe specification.
  • a description will be given with reference to FIGS. 5 and 6.
  • the main microcomputer 10 performs its own initialization in the process at the start-up after the reset state is released (S1).
  • the preparation process for performing the scheduled operation such as the above-described Japanese font reading process is performed.
  • the time required for the initialization to be completed after the reset state is disclosed, that is, the time required for completing Step S1 is about several seconds.
  • the time required to complete the TS is approximately several milliseconds to several tens of milliseconds. The time required for this is considered to be sufficiently long.
  • the main microcomputer 10 executes the data acquisition process described above (S2). Subsequently, the main microcomputer 10 determines whether data has been acquired (S3). At this time, if the data can be acquired (S3: YES), the main microcomputer 10 starts the scheduled operation using the acquired data (S4). This flow is the same as the sequence of FIG.
  • the main microcomputer 10 stores the number of trials of the data acquisition process (S5), and the number of trials is three. It is determined whether it has been exceeded (S6). That is, in the present embodiment, the main microcomputer 10 repeats the data acquisition process with the retry upper limit number of times set in advance as three as the upper limit. That is, the data acquisition process is retried. At this time, if the number of trials does not exceed 3 (S6: NO), the main microcomputer 10 proceeds to step S2 and reattempts data acquisition.
  • the process of repeating the data acquisition process is referred to as a data reacquisition process for convenience.
  • the reset process is to reset (restart) the entire navigation ECU 2 including the sub-microcomputer 11 and the IOH 12 by outputting a reset instruction from the main microcomputer 10 to the reset circuit 14 via the signal line R1 for self-reset. ).
  • the main microcomputer 10 executes the reset process (S10) if the reset process has not been attempted more than 5 times (S8: NO).
  • the main microcomputer 10 is in the same state as when the power is turned on, and therefore, the startup process is executed from the initialization in step S1.
  • the transition destination after the reset process is executed in step S ⁇ b> 10 is set as step S ⁇ b> 1.
  • the main microcomputer 10 repeats the reset process for resetting the entire navigation ECU 2 with the upper limit number of resets set in advance as five as the upper limit in this embodiment. Note that the number of reset processing trials is stored in the flash memory 13 so that the number of trials is not cleared at the time of resetting.
  • the main microcomputer 10 When the reset process is executed, the main microcomputer 10 initializes itself (S1) and executes a data acquisition process (S2) to determine whether data has been acquired (S3). If data cannot be acquired even after resetting the entire navigation ECU 2 (S3: NO), the number of trials of the data acquisition process is stored again (S5), and the number of trials of the data acquisition process has exceeded three times. Is determined (S6). Note that the number of trials of the data acquisition process is initialized to zero at the time of reset.
  • the main microcomputer 10 when the main microcomputer 10 cannot acquire data in the data reacquisition process after executing the first reset process, the main microcomputer 10 performs the data acquisition process in the startup process of FIG. Since the number of trials in step S3 has exceeded three (S6: YES), the number of trials for reset processing is memorized again (S7), and since the number of trials for reset processing is second (S8: NO), reset again. The process is executed (S10). Thereafter, the main microcomputer 10 executes a third startup process.
  • the navigation ECU 2 can cope with both of the unrecognizable device due to the prolonged TS according to the PCIe specification and the unrecognizable device that seems to be due to other reasons. It is like that.
  • the navigation ECU 2 which is an information processing apparatus according to an embodiment, includes a main microcomputer 10, a sub microcomputer 11, and an IOH 12, which are a plurality of devices connected by PCIe. Then, the sub-microcomputer 11 which is at least one of these devices performs a recognition process for recognizing the main microcomputer 10 and the IOH 12 corresponding to the connection-destination device connected to the PCIe at the time of activation. The execution continues until the main microcomputer 10 and the IOH 12 which are the devices are recognized. As a result, in a configuration in which a plurality of devices are connected by PCIe, the TS can be reliably completed even if the TS becomes longer in the PCIe initialization process. That is, the navigation ECU 2 can reliably recognize the connected device and can reliably perform the expected scheduled operation.
  • the navigation ECU 2 is a connection destination connected by PCIe at the time of activation in the sub microcomputer 11 that is at least one of the main microcomputer 10, the sub microcomputer 11, and the IOH 12 that constitute the navigation ECU 2.
  • the activation method includes a recognition process that continues to execute recognition processing for recognizing the main microcomputer 10 and the IOH 12 until the connection destination device is recognized.
  • the navigation ECU 2 is connected to the sub microcomputer 11 that is at least one of the main microcomputer 10, the sub microcomputer 11, and the IOH 12, which are a plurality of devices constituting the navigation ECU 2, at the time of start-up.
  • a startup program is used that continues to execute recognition processing for recognizing the main microcomputer 10 and IOH 12 that are the previous devices until the connected device is recognized.
  • the activation program for activating the navigation ECU 2 includes instructions executed by a computer as a program product, and is stored in a computer-readable persistent and tangible storage medium, for example, the flash memory 13.
  • the navigation ECU 2 acquires data from the IOH 12 side, which is a connection destination device recognized by the recognition process, in the main microcomputer 10 that is at least one of the main microcomputer 10, the sub microcomputer 11, and the IOH 12.
  • the main microcomputer 10 that is a device that executes the data acquisition process and that executes the data acquisition process fails to acquire data from the IOH 12 side that is the connection destination device even if the data acquisition process is executed.
  • the data acquisition process is repeated with a predetermined retry upper limit count (three times in the present embodiment) as the upper limit. Thereby, for example, it is possible to deal with an accidental or instantaneous unreadable state due to noise or the like.
  • a predetermined reset upper limit is set.
  • the reset process for resetting the entire navigation ECU 2 as the information processing apparatus is repeated with the number of times (5 times in the present embodiment) as an upper limit.
  • the main microcomputer 10 that is a device that executes the data acquisition process cannot acquire data from the IOH 12 that is the connection destination device even if the reset process is repeated as many times as the reset upper limit, the main ECU 10 has an error in the navigation ECU 2 that is the information processing device. A notification process for notifying that the occurrence has occurred is executed. As a result, it is possible to deal with failures and the like, and it is possible to provide a highly reliable information processing apparatus.
  • the navigation ECU 2 is assigned functions in a plurality of main microcomputer 10, sub-microcomputer 11, and IOH 12.
  • the main microcomputer 10 corresponds to a first device, and is a device that executes data acquisition processing and reset processing, and operates using data acquired from the IOH 12 side that is a connection destination device.
  • the sub-microcomputer 11 corresponds to a second device, and is a device that executes a recognition process, and is connected to the main microcomputer 10 and the IOH 12 via PCIe.
  • the IOH 12 corresponds to a third device and is a device corresponding to a connection destination device.
  • the IOH 12 is connected to the sub-microcomputer 11 via PCIe and stores data used by the main microcomputer 10.
  • An SD card 15 as a storage device is provided.
  • the main microcomputer 10 sets the retry upper limit number of times to a predetermined number. Repeat as. If the main microcomputer 10 cannot acquire data from the SD card 15 even after executing the reset process, the main microcomputer 10 repeats the reset process with the preset upper limit number of times as the upper limit.
  • the ECU 2 can be made redundant. That is, a device (sub-microcomputer 11) that manages PCIe, which is a data transmission / reception path, and a device (main microcomputer 10) that determines whether or not the device is normal based on whether or not data transmission / reception is possible. ) Can be determined at a plurality of locations as to whether or not the navigation ECU 2 is operating normally as a whole. Therefore, the reliability as the information processing apparatus can be improved.
  • a configuration in which a microcomputer 21 is further connected to the sub-microcomputer 11 via a PCIe bus B3, such as an ECU 20 that is an information processing apparatus shown in FIG. That is, four or more devices may be included in the information processing device.
  • the data acquisition process may be executed by the microcomputer 21 and the reset process may be executed when the data cannot be acquired.
  • the main microcomputer 10 and the microcomputer 21 are connected by the signal line R2, an error on the microcomputer 21 side is notified to the main microcomputer 10 side, and the reset instruction is You may make it output from the main microcomputer 10.
  • the information processing apparatus may be composed of two devices, the sub-microcomputer 11 and the IOH 12.
  • the data acquisition process may be performed by the sub-microcomputer 11, or the reset process may be performed on condition that no data request comes after activation by the IOH 12.
  • the navigation ECU 2 is exemplified as the information processing device, but the information processing device may be another ECU or a device that is not for a vehicle. That is, the present disclosure can be applied to any configuration as long as a plurality of devices are connected by PCIe. Of course, the present invention can also be applied to an information processing apparatus in which apparatuses are connected by a cable instead of printed wiring.
  • the present disclosure can be applied to a configuration in which a storage device is provided in the sub-microcomputer 11 and data is acquired from the storage device. Can be applied.
  • the configuration in which the recognition process is executed by the sub-microcomputer 11 and the reset process is executed by the main microcomputer 10 is exemplified, but the present invention is not limited to this.
  • a dedicated device connected to each device and in charge of the reset process may be provided.
  • All the numerical values and the like shown in the embodiment are examples and are not limited thereto.
  • the retry upper limit number is set to 5 or the like, or the entire processing time is relatively long.
  • the reset process can be changed as appropriate, for example, by setting the reset upper limit number of times to three.

Abstract

 An information processing device is provided with a plurality of devices (10, 11, 12) connected by a PCI Express (registered trademark) interface, at least one of the plurality of devices (10, 11, 12) continuing, at startup, to execute a recognition process for recognizing a connection-destination device connected to the PCI Express interface until the connection-destination device is recognized. According to this information processing device, even when a PCIe initialization process extends over a long time in a configuration where a plurality of devices are connected by a PCIe, the initialization process can reliably be completed.

Description

情報処理装置、情報処理装置の起動方法、及び情報処理装置の起動プログラム製品Information processing apparatus, information processing apparatus activation method, and information processing apparatus activation program product 関連出願の相互参照Cross-reference of related applications
 本開示は、2013年12月20日に出願された日本出願番号2013-263752号に基づくもので、ここにその記載内容を援用する。 This disclosure is based on Japanese Patent Application No. 2013-263852 filed on December 20, 2013, the contents of which are incorporated herein.
 本開示は、所定のインターフェース、特にPCI Express(登録商標)インターフェースで接続された複数の装置を備えた情報処理装置、情報処理装置の起動方法、及び情報処理装置の起動プログラム製品に関する。 The present disclosure relates to an information processing apparatus including a plurality of devices connected by a predetermined interface, in particular, a PCI Express (registered trademark) interface, an information processing device activation method, and an information processing device activation program product.
 いわゆるマルチプロセッサシステムのような複数のCPU、つまり、複数の装置を備えた情報処理装置が知られている(例えば、特許文献1参照)。このような複数の装置を備えた情報処理装置では、各装置間でのデータ通信を効率的且つ高速に行うことが求められてきている。そのため、近年、PCI Express(登録商標)インターフェース(以下、便宜的にPCIeと称する)を採用して各装置間のデータ通信を高速で行うことが行われている。ここで、PCIとは、Peripheral Component Interconnectの略である。 2. Description of the Related Art A plurality of CPUs such as a so-called multiprocessor system, that is, an information processing apparatus including a plurality of devices is known (see, for example, Patent Document 1). In an information processing apparatus including such a plurality of devices, it has been required to perform data communication between the devices efficiently and at high speed. For this reason, in recent years, a PCI Express (registered trademark) interface (hereinafter referred to as PCIe for convenience) is employed to perform data communication between devices at high speed. Here, PCI is an abbreviation for Peripheral Component Component Interconnect.
 PCIeの場合、送信側と受信側とが1対1で通信を行うことから、起動時つまり各装置のリセットが解除されたときには、トレーニングシーケンスオーダーセットと呼ばれるデータを互いの装置間でやり取りし、利用可能なデータレート、信号線の物理的な極性や使用するレーン数等を設定するトレーニングシーケンスとよばれる処理プロセスが行われている。 In the case of PCIe, since the transmission side and the reception side communicate one-to-one, when starting up, that is, when the reset of each device is released, data called a training sequence order set is exchanged between the devices, A processing process called a training sequence for setting an available data rate, a physical polarity of a signal line, the number of lanes to be used, and the like is performed.
 ところで、PCIeの仕様では、トレーニングシーケンスにて用いるデータの種類やその意味合い、およびデータをやり取りする手順等の規定はあるものの、トレーニングシーケンスが完了するまでに要する時間的な制限は規定されていない。そのため、一般的な手法としては、トレーニングシーケンスが完了すると想定される上限時間を設定し、それを超えた場合にはエラーとして処理することが行われている。 By the way, in the PCIe specification, although there are provisions such as the type and meaning of data used in the training sequence and the procedure for exchanging data, there is no restriction on the time required to complete the training sequence. For this reason, as a general method, an upper limit time that is assumed to complete the training sequence is set, and when the upper limit time is exceeded, an error is processed.
 しかしながら、PCIeを採用している情報処理装置では、状況によってはトレーニングシーケンスに要する時間が上記した上限時間を超えることがあり、トレーニングシーケンスが完了する前にエラーとして処理されてしまうという問題があった。 However, the information processing apparatus adopting PCIe has a problem that the time required for the training sequence may exceed the above upper limit time depending on the situation, and is processed as an error before the training sequence is completed. .
特開平6-332864号公報JP-A-6-332864
 本開示は上記事情に鑑みてなされたものであり、その目的は、複数の装置が所定のインターフェースであるPCIeで接続されている構成において、PCIeの初期化プロセスを確実に完了させることができる情報処理装置、情報処理装置の起動方法、情報処理装置の起動プログラム製品を提供することにある。 The present disclosure has been made in view of the above circumstances, and an object thereof is information that can reliably complete the PCIe initialization process in a configuration in which a plurality of devices are connected by PCIe that is a predetermined interface. The object is to provide a processing apparatus, an information processing apparatus activation method, and an information processing apparatus activation program product.
 本開示の第1態様による情報処理装置は、所定のインターフェースで接続された複数の装置を備え、前記複数の装置のうち少なくとも1つの装置は、起動時に、前記所定のインターフェースに接続されている接続先の装置を認識するための認識処理を、当該接続先の装置が認識されるまで実行し続ける。 An information processing apparatus according to the first aspect of the present disclosure includes a plurality of devices connected by a predetermined interface, and at least one of the plurality of devices is connected to the predetermined interface at startup. The recognition process for recognizing the destination device is continued until the connection destination device is recognized.
 上記情報処理装置によると、複数の装置が所定のインターフェースで接続されている構成において、所定のインターフェースの初期化プロセスが長期間化したとしても、初期化プロセスを確実に完了させることができる。 According to the information processing apparatus described above, in a configuration in which a plurality of apparatuses are connected with a predetermined interface, even if the initialization process of the predetermined interface becomes longer, the initialization process can be completed reliably.
 本開示の第2態様による所定のインターフェースで接続された複数の装置を備えた情報処理装置を起動する際の情報処理装置の起動方法は、前記情報処理装置の起動時に、前記所定のインターフェースに接続されている接続先の装置を認識するための認識処理を、当該接続先の装置が認識されるまで実行し続ける認識工程を含む。 An information processing apparatus activation method for activating an information processing apparatus including a plurality of apparatuses connected by a predetermined interface according to the second aspect of the present disclosure is connected to the predetermined interface when the information processing apparatus is activated. A recognition step for continuously executing the recognition process for recognizing the connected device, until the connected device is recognized.
 上記起動方法によると、複数の装置が所定のインターフェースで接続されている構成において、所定のインターフェースの初期化プロセスが長期間化したとしても、初期化プロセスを確実に完了させることができる。 According to the above activation method, even in a configuration in which a plurality of devices are connected by a predetermined interface, the initialization process can be completed reliably even if the initialization process of the predetermined interface becomes longer.
 本開示の第3態様によるコンピュータ読み取り可能な持続的且つ有形の記憶媒体に保管されている情報処理装置の起動プログラム製品は、所定のインターフェースで接続された複数の装置を備えた情報処理装置を起動する際に、前記複数の装置のうち少なくとも1つの装置に対して、起動時に、前記所定のインターフェースに接続されている接続先の装置を認識するための認識処理を、当該接続先の装置が認識されるまで実行させ続けるためのコンピュータによって実施される命令を含む。 An information processing apparatus activation program product stored in a computer-readable persistent and tangible storage medium according to a third aspect of the present disclosure activates an information processing apparatus including a plurality of apparatuses connected by a predetermined interface In this case, the connection destination device recognizes a recognition process for recognizing the connection destination device connected to the predetermined interface at the time of activation with respect to at least one of the plurality of devices. Including computer-implemented instructions for continuing execution until executed.
 上記起動プログラム製品によると、複数の装置が所定のインターフェースで接続されている構成において、所定のインターフェースの初期化プロセスが長期間化したとしても、初期化プロセスを確実に完了させることができる。 According to the above startup program product, in a configuration in which a plurality of devices are connected by a predetermined interface, the initialization process can be completed reliably even if the initialization process of the predetermined interface is prolonged.
 上記において、所定のインターフェースは、登録商標であるPCI Expressインターフェースである。 In the above, the predetermined interface is a registered PCI Express interface.
 本開示についての上記目的およびその他の目的、特徴や利点は、添付の図面を参照しながら下記の詳細な記述により、より明確になる。その図面は、
図1は、本開示の一実施形態の情報処理装置の電気的構成を模式的に示す図であり、 図2は、本開示の一実施形態の情報処理装置での通常時の作動の流れを模式的に示す図であり、 図3(a)は、従来技術による情報処理装置において認識処理が正常に完了する態様を模式的に示す図であり、図3(b)は、従来技術による情報処理装置において認識処理がエラーとなる態様を模式的に示す図であり、 図4は、本開示の一実施形態の情報処理装置を構成するサブマイコンの初期化処理の流れを模式的に示す図であり、 図5は、本開示の一実施形態の情報処理装置を構成するメインマイコンの起動時処理の流れを模式的に示す図であり、 図6は、本開示の一実施形態の情報処理装置での認識処理がエラーとなった場合の作動の流れを模式的に示す図であり、 図7は、本開示のその他の実施形態の情報処理装置の電気的構成の一例を模式的に示す図である。
The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description with reference to the accompanying drawings. The drawing
FIG. 1 is a diagram schematically illustrating an electrical configuration of an information processing apparatus according to an embodiment of the present disclosure. FIG. 2 is a diagram schematically illustrating a normal operation flow in the information processing apparatus according to the embodiment of the present disclosure. FIG. 3A is a diagram schematically illustrating a state in which the recognition process is normally completed in the information processing apparatus according to the conventional technique, and FIG. Is a diagram schematically showing an embodiment, FIG. 4 is a diagram schematically illustrating a flow of initialization processing of the sub-microcomputer that configures the information processing apparatus according to the embodiment of the present disclosure. FIG. 5 is a diagram schematically showing a flow of processing at the time of starting the main microcomputer configuring the information processing apparatus according to the embodiment of the present disclosure. FIG. 6 is a diagram schematically illustrating an operation flow when an error occurs in the recognition process in the information processing apparatus according to the embodiment of the present disclosure. FIG. 7 is a diagram schematically illustrating an example of an electrical configuration of an information processing apparatus according to another embodiment of the present disclosure.
 (一実施形態)
 以下、本開示の一実施形態について、図1から図6を参照しながら説明する。
(One embodiment)
Hereinafter, an embodiment of the present disclosure will be described with reference to FIGS. 1 to 6.
 図1に示すように、本実施形態の情報処理装置(後述するナビECU2)は、車両に用いられる車両用システム1に適用されている。この車両用システム1には、ナビECU2、バッテリ3、および他のECU4等が設けられている。車両用システム1において、情報処理装置としてのナビECU2(Electronic Control Unit)は、いわゆるナビゲーションシステムを構成している。なお、他のECU4としては、1つではなく、複数のECUが接続されていてもよい。 As shown in FIG. 1, an information processing apparatus (a navigation ECU 2 described later) of this embodiment is applied to a vehicle system 1 used for a vehicle. The vehicle system 1 is provided with a navigation ECU 2, a battery 3, and another ECU 4. In the vehicle system 1, a navigation ECU 2 (Electronic Control Unit) as an information processing device constitutes a so-called navigation system. The other ECUs 4 may be connected to a plurality of ECUs instead of one.
 ナビECU2は、メインマイコン10、第2の装置としてのサブマイコン11、および第3の装置としてのIOH12(Input Output Hub)を有している。これらメインマイコン10、IOH12は、PCIeのバスB1およびバスB2によってそれぞれサブマイコン11に1対1で接続されている。なお、「メイン」、「サブ」の記載は、2つのマイクロコンピュータが存在する旨を示すために便宜的に用いているものであり、いわゆるマスターとスレーブのような主従関係を示しているわけではない。 The navigation ECU 2 has a main microcomputer 10, a sub-microcomputer 11 as a second device, and an IOH 12 (Input (Output Hub) as a third device. The main microcomputer 10 and the IOH 12 are connected to the sub-microcomputer 11 on a one-to-one basis via PCIe bus B1 and bus B2. The descriptions of “main” and “sub” are used for convenience to indicate that there are two microcomputers, and do not indicate a master-slave relationship such as so-called master and slave. Absent.
 ナビECU2のメインマイコン10は、図示しないCPU、ROMおよびRAM等を有するマイクロコンピュータで構成されている。このメインマイコン10は、フラッシュメモリ13(図1には「FLASH」と示す)、およびリセット回路14等に接続されている。本実施形態の場合、メインマイコン10は、マップマッチングや経路探索等のナビゲーション機能を実行する。このとき、詳細は後述するが、メインマイコン10は、起動時にリセットが解除されると、まずフラッシュメモリ13から起動プログラムを読み出して実行する。 The main microcomputer 10 of the navigation ECU 2 includes a microcomputer having a CPU, a ROM, a RAM, and the like (not shown). The main microcomputer 10 is connected to a flash memory 13 (shown as “FLASH” in FIG. 1), a reset circuit 14 and the like. In the case of the present embodiment, the main microcomputer 10 performs navigation functions such as map matching and route search. At this time, as will be described in detail later, the main microcomputer 10 first reads and executes the activation program from the flash memory 13 when the reset is released at the time of activation.
 また、メインマイコン10は、IOH12に設けられているSDカード15(図1には「内蔵SD」と示す)から地図データ等を読み出して、マップマッチングや経路探索等のナビゲーション機能を実行する。つまり、メインマイコン10は、PCIeで接続された接続先の装置に相当するIOHに設けられている記憶装置であるSDカード15から自身の作動に用いるデータを取得するデータ取得処理を実行する。また、メインマイコン10は、本実施形態に関連して、リセット回路14に対してリセット指示を出力し、ナビECU2全体をリセットするリセット処理を実行する。このため、メインマイコン10とリセット回路14との間は、セルフリセット用の信号線R1にて接続されている。 The main microcomputer 10 reads map data and the like from an SD card 15 (shown as “built-in SD” in FIG. 1) provided in the IOH 12, and executes a navigation function such as map matching and route search. That is, the main microcomputer 10 executes a data acquisition process for acquiring data used for its own operation from the SD card 15 which is a storage device provided in the IOH corresponding to the connection destination device connected by the PCIe. In addition, the main microcomputer 10 outputs a reset instruction to the reset circuit 14 and executes a reset process for resetting the entire navigation ECU 2 in relation to the present embodiment. Therefore, the main microcomputer 10 and the reset circuit 14 are connected by a signal line R1 for self-reset.
 つまり、メインマイコン10は、データ取得処理およびリセット処理を実行する装置であって、接続先の装置側、本実施形態ではIOH12側から取得したデータを用いて作動する第1の装置に相当する。 That is, the main microcomputer 10 is a device that executes data acquisition processing and reset processing, and corresponds to a first device that operates using data acquired from the connection destination device side, in this embodiment, the IOH 12 side.
 フラッシュメモリ13は、読み書き可能な半導体メモリで構成されており、ナビゲーション画面に表示する日本語フォント等のデータを記憶している。また、上記した地図データ等のフラッシュメモリ13に記憶できない大きな容量のデータは、SDカード15に記憶されている。 The flash memory 13 is composed of a readable / writable semiconductor memory, and stores data such as Japanese fonts displayed on the navigation screen. A large amount of data that cannot be stored in the flash memory 13 such as the above-described map data is stored in the SD card 15.
 リセット回路14は、電源が投入された際における各装置のリセットのタイミング制御等、周知のパワーオンリセット機能を備えている。また、リセット回路14は、上記したように、メインマイコン10からのリセット指示に基づいてナビECU2全体をリセットする機能も備えている。 The reset circuit 14 has a known power-on reset function such as reset timing control of each device when the power is turned on. The reset circuit 14 also has a function of resetting the entire navigation ECU 2 based on a reset instruction from the main microcomputer 10 as described above.
 サブマイコン11は、PCIeの初期化を行う主体として構成されている。つまり、本実施形態では、サブマイコン11によって、PCIeの初期化、すなわち、PCIeに接続されている接続先の装置を認識する認識処理が実行される。サブマイコン11は、詳細は後述するが、接続先の装置に相当するメインマイコン10およびIOH12との間で、PCIeのトレーニングシーケンスを実行する。すなわち、サブマイコン11は、認識処理を実行する装置であって、PCIeを介して第1の装置に相当するメインマイコン10に接続されている第2の装置に相当する。 The sub-microcomputer 11 is configured as a main body that initializes PCIe. That is, in the present embodiment, the sub-microcomputer 11 executes PCIe initialization, that is, recognition processing for recognizing a connection destination device connected to the PCIe. Although details will be described later, the sub-microcomputer 11 executes a PCIe training sequence between the main microcomputer 10 and the IOH 12 corresponding to the connection destination device. That is, the sub-microcomputer 11 is a device that executes recognition processing, and corresponds to a second device connected to the main microcomputer 10 corresponding to the first device via PCIe.
 IOH12は、各種の入出力インターフェースを提供する装置であり、本実施形態では大容量記憶媒体であるSDカード15が設けられている。つまり、IOH12は、PCIeを介して第2の装置に相当するサブマイコン11に接続されているとともに、第1の装置に相当するメインマイコン10にて用いられるデータを記憶している記憶装置であるSDカード15が設けられている第3の装置に相当する。 The IOH 12 is a device that provides various input / output interfaces, and in this embodiment, an SD card 15 that is a large-capacity storage medium is provided. That is, the IOH 12 is a storage device that is connected to the sub-microcomputer 11 corresponding to the second device via the PCIe and stores data used in the main microcomputer 10 corresponding to the first device. This corresponds to a third device in which the SD card 15 is provided.
 なお、IOH12が備える入出力インターフェースは、SDカード15用のインターフェースに限定されるものではない。例えばCD-ROMやDVDあるいはCFカード等の他の記憶媒体用のインターフェースであってもよいし、複数のインターフェースを備えていてもよい。また、SDカード15は、ナビECU2に固定的に設けられているものであってもよいし、着脱可能に設けられているものであってもよい。また、SDカード15をナビECU2に固定的に設け、着脱可能な記憶媒体をさらに設けることが可能な構成としてもよい。 The input / output interface provided in the IOH 12 is not limited to the interface for the SD card 15. For example, it may be an interface for another storage medium such as a CD-ROM, DVD, or CF card, or may be provided with a plurality of interfaces. Further, the SD card 15 may be fixedly provided in the navigation ECU 2 or may be provided detachably. Further, the SD card 15 may be fixedly provided in the navigation ECU 2 and a removable storage medium may be further provided.
 次に、上記した構成の作用について説明する。 Next, the operation of the above configuration will be described.
 まず、図2を参照しながら、情報処理装置としてのナビECU2の基本的な処理の流れについて説明する。ナビECU2では、例えば電源がオンされたとき等、リセット状態が解除されると、メインマイコン10、サブマイコン11、IOH12においてそれぞれ初期化が行われる。このとき、ナビECU2では、上記したように、サブマイコン11によってPCIeのトレーニングシーケンスの実行(後述する認識処理に相当する)、つまり、PCIeの初期化が行われる。そして、PCIeの初期化が正常に完了していれば、メインマイコン10からIOH12へのアクセスが可能となる。 First, the basic processing flow of the navigation ECU 2 as an information processing apparatus will be described with reference to FIG. In the navigation ECU 2, when the reset state is released, for example, when the power is turned on, initialization is performed in the main microcomputer 10, the sub microcomputer 11, and the IOH 12, respectively. At this time, in the navigation ECU 2, as described above, the sub-microcomputer 11 executes the PCIe training sequence (corresponding to a recognition process described later), that is, initialization of PCIe. If the initialization of PCIe is normally completed, the main microcomputer 10 can access the IOH 12.
 そのため、メインマイコン10は、自身の初期化が完了すると、IOH12に設けられているSDカード15からデータを取得するデータ取得処理を実行する。具体的には、メインマイコン10は、自身の初期化が完了すると、IOH12に対してデータ要求を送信する。このデータ要求は、サブマイコン11によって中継され、IOH12に送信される。そして、IOH12は、データ要求を受信すると、SDカード15から対応するデータ例えば地図データ等を読み出し、読み出したデータをメインマイコン10に対して送信する。IOH12から送信されたデータは、サブマイコン11で中継され、メインマイコン10にて取得される。このデータ要求の送信から対応するデータを取得するまでの処理が、データ取得処理に相当する。 Therefore, when the initialization of the main microcomputer 10 is completed, the main microcomputer 10 executes data acquisition processing for acquiring data from the SD card 15 provided in the IOH 12. Specifically, the main microcomputer 10 transmits a data request to the IOH 12 when its initialization is completed. This data request is relayed by the sub-microcomputer 11 and transmitted to the IOH 12. When the IOH 12 receives the data request, the IOH 12 reads corresponding data such as map data from the SD card 15 and transmits the read data to the main microcomputer 10. The data transmitted from the IOH 12 is relayed by the sub microcomputer 11 and acquired by the main microcomputer 10. The process from the transmission of this data request until the corresponding data is acquired corresponds to the data acquisition process.
 データを取得すると、メインマイコン10は、取得したデータを用いた予定動作、本実施形態ではナビゲーション機能を実行する動作を開始する。このように、ナビECU2は、それぞれの装置が役割を分担しつつ、ナビゲーション装置としての機能を実現している。なお、メインマイコン10は、起動時だけでなく、ナビゲーション機能の実行中にも必要に応じてデータ取得処理を実行する。 When the data is acquired, the main microcomputer 10 starts a scheduled operation using the acquired data, that is, an operation for executing the navigation function in the present embodiment. In this way, the navigation ECU 2 realizes a function as a navigation device while each device shares a role. Note that the main microcomputer 10 executes data acquisition processing as needed not only during startup but also during execution of the navigation function.
 ところで、本実施形態のナビECU2では、メインマイコン10は、自身の初期化が完了した時点で既にPCIeの初期化が完了していると想定している。これは、PCIeの初期化に要する時間は、メインマイコン10の初期化に要する処理時間、つまり、本実施形態では上記した日本語フォント等の読み込み等の処理が完了するまでの時間に比べると、相対的に短時間で完了すると想定されるためである。ただし、PCIeの初期化が正常に完了しなかった場合には、メインマイコン10は、IOH12側からデータを取得することができなくなる。 By the way, in the navigation ECU 2 of the present embodiment, it is assumed that the main microcomputer 10 has already completed the initialization of the PCIe when the initialization of the main microcomputer 10 is completed. This is because the time required for initialization of PCIe is longer than the processing time required for initialization of the main microcomputer 10, that is, the time required for completion of processing such as reading of the Japanese font described above in this embodiment. This is because it is assumed to be completed in a relatively short time. However, if the PCIe initialization is not completed normally, the main microcomputer 10 cannot acquire data from the IOH 12 side.
 ここで、図3を参照しながら、従来構成の情報処理装置におけるPCIeの初期化プロセスの流れを簡単に説明する。サブマイコン11は、時刻t0においてリセット状態が解除されたとすると、初期化を実行する。この初期化には、サブマイコン11自身の初期化と、PCIeの初期化つまりPCIeに接続されている他の装置を認識する処理が含まれている。なお、PCIeの初期化プロセスは規格化されていることから、その詳細な説明は省略する。 Here, the flow of the PCIe initialization process in the information processing apparatus having the conventional configuration will be briefly described with reference to FIG. If the reset state is canceled at time t0, the sub-microcomputer 11 executes initialization. This initialization includes initialization of the sub-microcomputer 11 itself and initialization of PCIe, that is, processing for recognizing other devices connected to the PCIe. Since the PCIe initialization process is standardized, detailed description thereof is omitted.
 サブマイコン11は、自身の初期化が完了した後、例えば時刻t1においてIOH12を認識するためのIOH認識処理を開始したとする。このとき、従来の情報処理装置では、IOH認識処理の上限時間、すなわち、IOH12からの応答を待機する上限時間が設定されている。図3では、想定上限時間(=時刻t1+上限時間)が時刻t2に設定された状態を示している。 Suppose that the sub-microcomputer 11 starts IOH recognition processing for recognizing the IOH 12 at time t1, for example, after its initialization is completed. At this time, in the conventional information processing apparatus, an upper limit time for IOH recognition processing, that is, an upper limit time for waiting for a response from the IOH 12 is set. FIG. 3 shows a state where the assumed upper limit time (= time t1 + upper limit time) is set at time t2.
 さて、サブマイコン11は、IOH認識処理において上記したトレーニングシーケンス(以下、便宜的にTSと称する。また、図3にも「TS」と示す)を実行する。このTSは、データの種類や送受信の手順は規格化されているものの、時間的な制約は規定されていない。 Now, the sub-microcomputer 11 executes the above-described training sequence (hereinafter referred to as “TS” for the sake of convenience. In FIG. 3, “TS” is also indicated) in the IOH recognition process. This TS has standardized data types and transmission / reception procedures, but has no time restrictions.
 そのため、図3(a)のケース1として示すように、TSが比較的短期間で完了した場合、より具体的には、TSが想定上限時間である時刻t2よりも前の時刻t3で完了した場合には、IOH認識処理が正常に完了することになる。そして、IOH認識処理が正常に完了すれば、サブマイコン11によってIOH12が認識されたため、以降はIOH12へのアクセスが可能となる。換言すると、IOH12は、時刻t3以降ではPCIe側からのアクセスが可能となる。 Therefore, as shown as case 1 in FIG. 3A, when TS is completed in a relatively short period, more specifically, TS is completed at time t3 prior to time t2, which is the assumed upper limit time. In this case, the IOH recognition process is completed normally. If the IOH recognition process is normally completed, since the IOH 12 is recognized by the sub-microcomputer 11, the access to the IOH 12 becomes possible thereafter. In other words, the IOH 12 can be accessed from the PCIe side after time t3.
 一方、図3(b)のケース2として示すように、何らかの理由によりTSが比較的長期間となった場合、より具体的には、TSが想定上限時間である時刻t2を超えても完了しなかった場合には、従来構成の情報処理装置では、IOH認識処理がエラーとなる。この場合、IOH認識処理が完了していないため、サブマイコン11によってIOH12が認識できず、以降はIOH12へのアクセスが不可能となる。換言すると、時刻t2までに認識されなかったIOH12は、以降はPCIe側からのアクセスが不可能となる。そして、IOH12側からデータを取得できなくなるため、メインマイコン10は予定動作を実行することができなくなる。 On the other hand, as shown as case 2 in FIG. 3B, when the TS becomes relatively long for some reason, more specifically, even if the TS exceeds the time t2 that is the assumed upper limit time, the process is completed. If not, an error occurs in the IOH recognition process in the information processing apparatus having the conventional configuration. In this case, since the IOH recognition processing has not been completed, the IOH 12 cannot be recognized by the sub-microcomputer 11, and thereafter, access to the IOH 12 becomes impossible. In other words, the IOH 12 that has not been recognized by the time t2 cannot be accessed from the PCIe side thereafter. Since the data cannot be acquired from the IOH 12 side, the main microcomputer 10 cannot execute the scheduled operation.
 このように、PCIeを認識する認識処理に時間的な制約を設けてしまうと、何らかの理由によりTSが長期間になった場合には、PCIeに接続されている装置を認識できなくなるおそれがある。その一方で、TSの上限時間が規定されていないPCIeでは、上記のようにTSが長期間となったとしても、それは不具合に分類されるものではない。この場合、想定される全ての条件をクリアできるように上限時間を設定できれば、IOH12を認識できなくなることを防ぐことは可能になるものと想定される。しかし、本実施形態のナビECU2のように車両に用いる情報処理装置の場合には、図1に示したようにバッテリ3には他のEUC4等が接続されていること、そのECU4等の数や消費電力は車種によって異なること、また、同一車種であっても室内灯やヘッドランプ等の点灯状況やバッテリ3の消耗状態が異なる等、想定される状況が多すぎるため、全ての条件を事前に網羅することは現実的には不可能に近い。 As described above, if there is a time restriction on the recognition process for recognizing PCIe, there is a possibility that a device connected to the PCIe cannot be recognized if the TS becomes long term for some reason. On the other hand, in the PCIe where the upper limit time of the TS is not defined, even if the TS becomes long as described above, it is not classified as a failure. In this case, it is assumed that if the upper limit time can be set so that all the assumed conditions can be cleared, it becomes possible to prevent the IOH 12 from being unrecognizable. However, in the case of an information processing apparatus used for a vehicle such as the navigation ECU 2 of the present embodiment, as shown in FIG. 1, the battery 3 is connected to another EUC 4 or the like, the number of ECUs 4 or the like, Since power consumption varies depending on the vehicle model, and there are too many assumed situations such as the lighting conditions of room lights and headlamps and the consumption state of the battery 3 even in the same vehicle model, all conditions must be set in advance. It is almost impossible to cover it.
 そこで、本実施形態のナビECU2では、以下に説明するように、サブマイコン11によって行われるPCIeの初期化プロセスを確実に完了できるようにしている。 Therefore, in the navigation ECU 2 of the present embodiment, the PCIe initialization process performed by the sub-microcomputer 11 can be surely completed as described below.
 サブマイコン11は、図4に示すように、リセット状態が解除された後の初期化処理において、内蔵回路等の自身の初期化を実行する(S21)。続いて、サブマイコン11は、接続先の装置を認識するための認識処理を実行する(認識工程)。この認識処理は、PCIeの初期化プロセスの1つである。このとき、サブマイコン11は、装置を認識できたかを判定し(S22)、認識できなければ(S22:NO)、認識できるまで認識処理を継続する。すなわち、サブマイコン11は、PCIeに接続されている装置例えばIOH12を認識できるまでTSの完了を待機する。これにより、何らかの理由によりTSが長期間になったとしても、いずれは完了するTSを待機することが可能となる。一方、サブマイコン11は、装置を認識できれば(S22:YES)、初期化処理を終了する。 As shown in FIG. 4, the sub-microcomputer 11 performs initialization of the built-in circuit and the like in the initialization process after the reset state is released (S21). Subsequently, the sub-microcomputer 11 executes a recognition process for recognizing the connection destination device (recognition process). This recognition process is one of the initialization processes of PCIe. At this time, the sub-microcomputer 11 determines whether or not the device can be recognized (S22). If the device cannot be recognized (S22: NO), the recognition processing is continued until it can be recognized. That is, the sub-microcomputer 11 waits for completion of the TS until it can recognize a device connected to the PCIe, for example, the IOH 12. As a result, even if the TS becomes longer for some reason, it is possible to wait for the completed TS. On the other hand, if the sub-microcomputer 11 can recognize the device (S22: YES), the initialization process ends.
 このように、サブマイコン11の初期化時にTSの完了を待機することにより、換言すると、上記した想定上限時間等の時間的な制約を設けることなく認識処理を実行し続けることにより、PCIeに接続された装置を確実に認識することができる。なお、TSは、PCIeに接続されている各装置に対して個別に行われる処理である。そのため、サブマイコン11は、認識対象の装置がメインマイコン10の場合も同様に、時間的な制約を設けることなくTSの完了を待機する。 In this way, by waiting for the completion of TS at the initialization of the sub-microcomputer 11, in other words, by continuing to execute the recognition process without providing time constraints such as the assumed upper limit time, it is connected to PCIe. Can be reliably recognized. TS is a process performed individually for each device connected to the PCIe. Therefore, the sub-microcomputer 11 similarly waits for the completion of the TS without providing time restrictions even when the device to be recognized is the main microcomputer 10.
 さて、上記したように時間的制約を無くすことにより、TSの遅延(長期間化)に起因する装置の認識不可には対処することが可能となる。その一方で、例えば物理的な損傷等、PCIeの仕様によらない他の理由による装置の認識不可への対処も必要とされる。特に、車両に用いられる情報処理装置の場合、本実施形態のナビECU2のような走行に直接的な支障がない装置だからといって、その動作が不安定なままであることは好ましくない。 Now, by eliminating the time restriction as described above, it becomes possible to cope with the inability to recognize the device due to the delay of TS (longer period). On the other hand, it is also necessary to cope with the inability to recognize the device for other reasons that do not depend on the PCIe specification, such as physical damage. In particular, in the case of an information processing device used in a vehicle, it is not preferable that the operation remains unstable just because the device has no direct troubles such as the navigation ECU 2 of the present embodiment.
 そこで、ナビECU2では、装置の認識不可への対処をさらに行っている。この対処は、サブマイコン11ではなく、メインマイコン10によって行われる。すなわち、ナビECU2では、PCIeを初期化する装置(サブマイコン11)とは異なる装置(メインマイコン10)によって、PCIeの仕様によらない他の理由による装置の認識不可への対処を行っている。以下、図5および図6を参照しながら説明する。 Therefore, the navigation ECU 2 takes further measures to prevent the device from being recognized. This countermeasure is performed not by the sub-microcomputer 11 but by the main microcomputer 10. That is, in the navigation ECU 2, a device (main microcomputer 10) different from the device that initializes PCIe (sub-microcomputer 11) is used to deal with the inability to recognize the device for other reasons that do not depend on the PCIe specification. Hereinafter, a description will be given with reference to FIGS. 5 and 6.
 メインマイコン10は、図5に示すように、リセット状態が解除された後の起動時の処理において、自身の初期化を実行する(S1)。このステップS1の初期化では、内蔵回路等の自身の初期化を行った後、上記した日本語フォントの読み込み処理等、予定動作を行うための前準備となる処理が行われている。このため、メインマイコン10の場合、リセット状態が開示されてから初期化が完了するまでに要する時間、つまりは、ステップS1が完了するまでに要する時間は、数秒程度となっている。なお、一般的な装置においては、TSが完了するまでに要すると想定される時間は概ね数ミリ秒~数十ミリ秒と想定されることが多いため、それに比べると、メインマイコン10の初期化に要する時間は十分に長いと考えられる。 As shown in FIG. 5, the main microcomputer 10 performs its own initialization in the process at the start-up after the reset state is released (S1). In the initialization of step S1, after initializing the built-in circuit and the like, the preparation process for performing the scheduled operation such as the above-described Japanese font reading process is performed. For this reason, in the case of the main microcomputer 10, the time required for the initialization to be completed after the reset state is disclosed, that is, the time required for completing Step S1 is about several seconds. In general devices, it is often assumed that the time required to complete the TS is approximately several milliseconds to several tens of milliseconds. The time required for this is considered to be sufficiently long.
 初期化が完了すると、メインマイコン10は、上記したデータ取得処理を実行する(S2)。続いて、メインマイコン10は、データを取得できたかを判定する(S3)。このとき、メインマイコン10は、データが取得できれば(S3:YES)、取得したデータを用いて予定動作を開始する(S4)。この流れは、上記した図2のシーケンスと同様である。 When the initialization is completed, the main microcomputer 10 executes the data acquisition process described above (S2). Subsequently, the main microcomputer 10 determines whether data has been acquired (S3). At this time, if the data can be acquired (S3: YES), the main microcomputer 10 starts the scheduled operation using the acquired data (S4). This flow is the same as the sequence of FIG.
 これに対して、サブマイコン11にて図4に示した初期化処理において装置が認識できていない場合、例えば図6に示すようにサブマイコン11によりIOH12が認識できていない場合には、IOH12側からデータを取得することができない。 On the other hand, if the sub-microcomputer 11 cannot recognize the apparatus in the initialization process shown in FIG. 4, for example, if the sub-microcomputer 11 cannot recognize the IOH 12 as shown in FIG. Cannot get data from.
 そのため、メインマイコン10は、図5に示す起動時処理において、データを取得できなかった場合には(S3:NO)、データ取得処理の試行回数を記憶し(S5)、試行回数が3回を超えたかを判定する(S6)。つまり、メインマイコン10は、本実施形態では3回に予め定められているリトライ上限回数を上限として、データ取得処理を繰り返す。即ち、データ取得処理をリトライする。このとき、メインマイコン10は、試行回数が3回を超えていない場合には(S6:NO)、ステップS2に移行して、データの取得を再試行する。以下、データ取得処理を繰り返す処理を、便宜的にデータ再取得処理と称する。 Therefore, if the main microcomputer 10 cannot acquire data in the startup process shown in FIG. 5 (S3: NO), the main microcomputer 10 stores the number of trials of the data acquisition process (S5), and the number of trials is three. It is determined whether it has been exceeded (S6). That is, in the present embodiment, the main microcomputer 10 repeats the data acquisition process with the retry upper limit number of times set in advance as three as the upper limit. That is, the data acquisition process is retried. At this time, if the number of trials does not exceed 3 (S6: NO), the main microcomputer 10 proceeds to step S2 and reattempts data acquisition. Hereinafter, the process of repeating the data acquisition process is referred to as a data reacquisition process for convenience.
 一方、メインマイコン10は、図6に示すようにデータ取得処理を3回繰り返してもデータを取得できなかった場合には、図5に示す起動時処理において、データ取得処理の試行回数が3回を超えることから(S3:NO、且つ、S5、S6:YES)、リセット処理の試行回数を記憶し(S7)、リセット処理の試行回数が5回を超えたかを判定する(S8)。ここで、リセット処理とは、メインマイコン10からセルフリセット用の信号線R1を介してリセット回路14にリセット指示を出力することで、サブマイコン11およびIOH12を含めたナビECU2全体をリセット(再起動)する処理である。 On the other hand, if the main microcomputer 10 cannot acquire data even after repeating the data acquisition process three times as shown in FIG. 6, the number of trials of the data acquisition process is three in the start-up process shown in FIG. (S3: NO, and S5, S6: YES), the number of reset processing trials is stored (S7), and it is determined whether the number of reset processing trials exceeds five (S8). Here, the reset process is to reset (restart) the entire navigation ECU 2 including the sub-microcomputer 11 and the IOH 12 by outputting a reset instruction from the main microcomputer 10 to the reset circuit 14 via the signal line R1 for self-reset. ).
 メインマイコン10は、リセット処理の試行回数が5回を超えていなければ(S8:NO)、リセット処理を実行する(S10)。このリセット処理が実行されると、メインマイコン10は、電源がオンされたのと同様の状態となることから、ステップS1の初期化から起動時処理を実行する。なお、図5では、説明の簡略化のために、ステップS10にてリセット処理が実行された後の移行先をステップS1としている。 The main microcomputer 10 executes the reset process (S10) if the reset process has not been attempted more than 5 times (S8: NO). When this reset process is executed, the main microcomputer 10 is in the same state as when the power is turned on, and therefore, the startup process is executed from the initialization in step S1. In FIG. 5, for simplification of description, the transition destination after the reset process is executed in step S <b> 10 is set as step S <b> 1.
 つまり、メインマイコン10は、本実施形態では5回に予め定められているリセット上限回数を上限として、ナビECU2の全体をリセットするリセット処理を繰り返す。なお、リセット処理の試行回数は、リセット時に試行回数がクリアされないように、フラッシュメモリ13に記憶されている。 That is, the main microcomputer 10 repeats the reset process for resetting the entire navigation ECU 2 with the upper limit number of resets set in advance as five as the upper limit in this embodiment. Note that the number of reset processing trials is stored in the flash memory 13 so that the number of trials is not cleared at the time of resetting.
 リセット処理を実行すると、メインマイコン10は、自身を初期化した後(S1)、およびデータ取得処理(S2)を実行し、データを取得できたかを判定する(S3)。そして、ナビECU2全体をリセットしてもデータを取得できない場合には(S3:NO)、再度、データ取得処理の試行回数を記憶し(S5)、データ取得処理の試行回数が3回を超えたかを判定する(S6)。なお、データ取得処理の試行回数は、リセット時に初期化されてゼロになっている。 When the reset process is executed, the main microcomputer 10 initializes itself (S1) and executes a data acquisition process (S2) to determine whether data has been acquired (S3). If data cannot be acquired even after resetting the entire navigation ECU 2 (S3: NO), the number of trials of the data acquisition process is stored again (S5), and the number of trials of the data acquisition process has exceeded three times. Is determined (S6). Note that the number of trials of the data acquisition process is initialized to zero at the time of reset.
 そして、メインマイコン10は、図6に示すように、1回目のリセット処理を実行した後のデータ再取得処理においてデータを取得できなかった場合には、図5の起動時処理において、データ取得処理の試行回数が3回を超えたことから(S6:YES)、再びリセット処理の試行回数を記憶した後(S7)、リセット処理の試行回数が2回目であるので(S8:NO)、再びリセット処理を実行する(S10)。その後、メインマイコン10は、3回目となる起動時処理を実行する。 Then, as shown in FIG. 6, when the main microcomputer 10 cannot acquire data in the data reacquisition process after executing the first reset process, the main microcomputer 10 performs the data acquisition process in the startup process of FIG. Since the number of trials in step S3 has exceeded three (S6: YES), the number of trials for reset processing is memorized again (S7), and since the number of trials for reset processing is second (S8: NO), reset again. The process is executed (S10). Thereafter, the main microcomputer 10 executes a third startup process.
 さて、このようなシステムリセットが繰り返され、図6に示すように、5回目のリセット処理が実行された後のデータ再取得処理においてもデータを取得できなかった場合には、メインマイコン10は、エラーを報知する。すなわち、メインマイコン10は、図5に示す起動時処理において、リセット処理の試行回数が5回を超えたことから(S8:YES)、エラーを報知する(S9)。このエラーの報知が、報知処理に相当する。なお、本実施形態のようにナビECU2の場合、図示しない表示器やスピーカ等の出力装置を備えている。そのため、メインマイコン10は、例えば、表示器を報知装置として用いて、「データを読めませんでした」等のメッセージによりユーザに不具合の発生を報知する。 Now, such a system reset is repeated, and as shown in FIG. 6, when data cannot be acquired even in the data reacquisition process after the fifth reset process is executed, the main microcomputer 10 An error is reported. That is, the main microcomputer 10 reports an error (S9) because the number of trials of the reset process exceeds 5 in the startup process shown in FIG. 5 (S8: YES). This error notification corresponds to notification processing. In the case of the navigation ECU 2 as in this embodiment, an output device such as a display or a speaker (not shown) is provided. Therefore, for example, the main microcomputer 10 uses the display device as a notification device to notify the user of the occurrence of a failure by a message such as “data could not be read”.
 このように、ナビECU2では、PCIeの仕様に準じたTSの長期化に起因する装置の認識不可と、他の理由によると思われる装置の認識不可との双方に対して、対処することができるようになっている。 As described above, the navigation ECU 2 can cope with both of the unrecognizable device due to the prolonged TS according to the PCIe specification and the unrecognizable device that seems to be due to other reasons. It is like that.
 以上説明した本実施形態によれば、次のような効果を得ることができる。 According to this embodiment described above, the following effects can be obtained.
 一実施形態の情報処理装置であるナビECU2は、PCIeで接続された複数の装置であるメインマイコン10、サブマイコン11、IOH12を備えている。そして、これらのうち少なくとも1つの装置であるサブマイコン11は、起動時に、PCIeに接続されている接続先の装置に相当するメインマイコン10およびIOH12を認識するための認識処理を、当該接続先の装置であるメインマイコン10およびIOH12が認識されるまで実行し続ける。これにより、複数の装置がPCIeで接続されている構成において、PCIeの初期化プロセスにおいてTSが長期間化したとしても、TSを確実に完了させることができる。すなわち、ナビECU2は、接続先の装置を確実に認識することができ、期待されている予定動作を確実に実行することができる。 The navigation ECU 2, which is an information processing apparatus according to an embodiment, includes a main microcomputer 10, a sub microcomputer 11, and an IOH 12, which are a plurality of devices connected by PCIe. Then, the sub-microcomputer 11 which is at least one of these devices performs a recognition process for recognizing the main microcomputer 10 and the IOH 12 corresponding to the connection-destination device connected to the PCIe at the time of activation. The execution continues until the main microcomputer 10 and the IOH 12 which are the devices are recognized. As a result, in a configuration in which a plurality of devices are connected by PCIe, the TS can be reliably completed even if the TS becomes longer in the PCIe initialization process. That is, the navigation ECU 2 can reliably recognize the connected device and can reliably perform the expected scheduled operation.
 また、ナビECU2は、ナビECU2を構成する複数の装置であるメインマイコン10、サブマイコン11、IOH12のうち少なくとも1つの装置であるサブマイコン11にて、起動時に、PCIeで接続されている接続先の装置であるメインマイコン10、IOH12を認識するための認識処理を当該接続先の装置が認識されるまで実行し続ける認識工程を含む起動方法を採用している。これにより、ナビECU2は、上記したように、PCIeの初期化プロセスにおいてTSが長期間化したとしても、TSを確実に完了させることができる。 The navigation ECU 2 is a connection destination connected by PCIe at the time of activation in the sub microcomputer 11 that is at least one of the main microcomputer 10, the sub microcomputer 11, and the IOH 12 that constitute the navigation ECU 2. The activation method includes a recognition process that continues to execute recognition processing for recognizing the main microcomputer 10 and the IOH 12 until the connection destination device is recognized. As a result, as described above, the navigation ECU 2 can reliably complete the TS even if the TS becomes longer in the PCIe initialization process.
 また、ナビECU2は、ナビECU2を構成する複数の装置であるメインマイコン10、サブマイコン11、IOH12のうち少なくとも1つの装置であるサブマイコン11に対して、起動時に、PCIeで接続されている接続先の装置であるメインマイコン10、IOH12を認識するための認識処理を当該接続先の装置が認識されるまで実行させ続ける起動プログラムを採用している。これにより、ナビECU2は、上記した起動方法と同様に、PCIeの初期化プロセスにおいてTSが長期間化したとしても、TSを確実に完了させることができる。 In addition, the navigation ECU 2 is connected to the sub microcomputer 11 that is at least one of the main microcomputer 10, the sub microcomputer 11, and the IOH 12, which are a plurality of devices constituting the navigation ECU 2, at the time of start-up. A startup program is used that continues to execute recognition processing for recognizing the main microcomputer 10 and IOH 12 that are the previous devices until the connected device is recognized. Thereby, similarly to the above-described activation method, the navigation ECU 2 can reliably complete the TS even if the TS becomes longer in the PCIe initialization process.
 上記ナビECU2を起動させるための起動プログラムは、プログラム製品として、コンピュータによって実施される命令を含み、コンピュータ読み取り可能な持続的且つ有形の記憶媒体、例えばフラッシュメモリ13に保管されている。 The activation program for activating the navigation ECU 2 includes instructions executed by a computer as a program product, and is stored in a computer-readable persistent and tangible storage medium, for example, the flash memory 13.
 ナビECU2は、複数の装置であるメインマイコン10、サブマイコン11、IOH12のうち少なくとも1つの装置であるメインマイコン10は、認識処理により認識された接続先の装置であるIOH12側からデータを取得するデータ取得処理を実行する装置であり、データ取得処理を実行する装置であるメインマイコン10は、当該データ取得処理を実行しても接続先の装置であるIOH12側からデータを取得できなかった場合、予め定められているリトライ上限回数(本実施形態では3回)を上限として、データ取得処理を繰り返す。これにより、例えばノイズ等による偶発的または瞬間的な読み取り不可状態にも対処することができる。 The navigation ECU 2 acquires data from the IOH 12 side, which is a connection destination device recognized by the recognition process, in the main microcomputer 10 that is at least one of the main microcomputer 10, the sub microcomputer 11, and the IOH 12. When the main microcomputer 10 that is a device that executes the data acquisition process and that executes the data acquisition process fails to acquire data from the IOH 12 side that is the connection destination device even if the data acquisition process is executed, The data acquisition process is repeated with a predetermined retry upper limit count (three times in the present embodiment) as the upper limit. Thereby, for example, it is possible to deal with an accidental or instantaneous unreadable state due to noise or the like.
 データ取得処理を実行する装置であるメインマイコン10は、当該データ取得処理をリトライ上限回数だけ繰り返しても接続先の装置であるIOH12側からデータを取得できなかった場合、予め定められているリセット上限回数(本実施形態では5回)を上限として、情報処理装置であるナビECU2の全体をリセットするリセット処理を繰り返す。これにより、不安定な状態のまま動作し続けるおそれを解消することができ、車両用の情報処理装置において特に好適である。 If the main microcomputer 10 that is a device that executes the data acquisition process fails to acquire data from the IOH 12 that is the connection destination device even if the data acquisition process is repeated for the retry upper limit number of times, a predetermined reset upper limit is set. The reset process for resetting the entire navigation ECU 2 as the information processing apparatus is repeated with the number of times (5 times in the present embodiment) as an upper limit. As a result, the possibility of continuing to operate in an unstable state can be eliminated, which is particularly suitable for a vehicle information processing apparatus.
 データ取得処理を実行する装置であるメインマイコン10は、リセット処理をリセット上限回数だけ繰り返しても接続先の装置であるIOH12側からデータを取得できなかった場合、情報処理装置であるナビECU2に異常が生じている旨を報知する報知処理を実行する。これにより、故障等への対処が可能となり、信頼性の高い情報処理装置を提供することができる。 If the main microcomputer 10 that is a device that executes the data acquisition process cannot acquire data from the IOH 12 that is the connection destination device even if the reset process is repeated as many times as the reset upper limit, the main ECU 10 has an error in the navigation ECU 2 that is the information processing device. A notification process for notifying that the occurrence has occurred is executed. As a result, it is possible to deal with failures and the like, and it is possible to provide a highly reliable information processing apparatus.
 ナビECU2は、複数の装置であるメインマイコン10、サブマイコン11、IOH12において、それぞれ機能が分担されている。具体的には、メインマイコン10は、第1の装置に相当し、データ取得処理およびリセット処理を実行する装置であって、接続先の装置であるIOH12側から取得したデータを用いて作動する。サブマイコン11は、第2の装置に相当し、認識処理を実行する装置であって、PCIeを介してメインマイコン10とIOH12とに接続されている。IOH12は、第3の装置に相当し、接続先の装置に相当する装置であって、PCIeを介してサブマイコン11に接続されているとともに、メインマイコン10にて用いられるデータを記憶している記憶装置であるSDカード15が設けられている。そして、メインマイコン10は、データ取得処理を実行してもIOH12に設けられているSDカード15からデータを取得できなかった場合には、データ取得処理を、予め定められているリトライ上限回数を上限として繰り返す。また、メインマイコン10は、リセット処理を実行してもSDカード15からデータを取得できなかった場合には、当該リセット処理を、予め定められているリセット上限回数を上限として繰り返す。 The navigation ECU 2 is assigned functions in a plurality of main microcomputer 10, sub-microcomputer 11, and IOH 12. Specifically, the main microcomputer 10 corresponds to a first device, and is a device that executes data acquisition processing and reset processing, and operates using data acquired from the IOH 12 side that is a connection destination device. The sub-microcomputer 11 corresponds to a second device, and is a device that executes a recognition process, and is connected to the main microcomputer 10 and the IOH 12 via PCIe. The IOH 12 corresponds to a third device and is a device corresponding to a connection destination device. The IOH 12 is connected to the sub-microcomputer 11 via PCIe and stores data used by the main microcomputer 10. An SD card 15 as a storage device is provided. If the main microcomputer 10 cannot acquire data from the SD card 15 provided in the IOH 12 even after executing the data acquisition process, the main microcomputer 10 sets the retry upper limit number of times to a predetermined number. Repeat as. If the main microcomputer 10 cannot acquire data from the SD card 15 even after executing the reset process, the main microcomputer 10 repeats the reset process with the preset upper limit number of times as the upper limit.
 このように、PCIeを初期化して認識処理を行う装置(サブマイコン11)と、データ取得処理およびリセット処理を実行する装置(メインマイコン10)とを別体とする構成を採用することで、ナビECU2に冗長性を持たせることができる。つまり、データの送受信経路であるPCIeを管理する装置(サブマイコン11)と、その装置が正常であるか否かをデータの送受信が可能であるか否かに基づいて判断する装置(メインマイコン10)とを設けることで、ナビECU2が全体として正常に作動しているか否かの判断を複数箇所で行うことができるようになる。したがって、情報処理装置としての信頼性を向上させることができる。 In this way, by adopting a configuration in which the device that initializes PCIe and performs the recognition process (sub-microcomputer 11) and the device that executes the data acquisition process and the reset process (main microcomputer 10) are separated from each other. The ECU 2 can be made redundant. That is, a device (sub-microcomputer 11) that manages PCIe, which is a data transmission / reception path, and a device (main microcomputer 10) that determines whether or not the device is normal based on whether or not data transmission / reception is possible. ) Can be determined at a plurality of locations as to whether or not the navigation ECU 2 is operating normally as a whole. Therefore, the reliability as the information processing apparatus can be improved.
 (その他の実施形態)
 本開示は、上記した一実施形態にて例示したものに限定されることなく、その範囲を逸脱しない範囲で任意に変形や拡張あるいは以下に例示するものとの組み合わせを行うことができる。
(Other embodiments)
The present disclosure is not limited to the one exemplified in the above-described embodiment, and can be arbitrarily modified or expanded or combined with those exemplified below without departing from the scope of the present disclosure.
 例えば、図7に示す情報処理装置であるECU20のように、サブマイコン11にさらにPCIeのバスB3を介してマイコン21が接続されているような構成であってもよい。すなわち、情報処理装置を構成する装置が4つ以上であってもよい。この場合、マイコン21にてデータ取得処理を実行させ、データを取得できない場合にはリセット処理を実行させてもよい。その場合、リセット指示が複数箇所から出力されることを避けるために、メインマイコン10とマイコン21とを信号線R2により接続し、マイコン21側のエラーをメインマイコン10側に通知し、リセット指示はメインマイコン10から出力するようにしてもよい。 For example, a configuration in which a microcomputer 21 is further connected to the sub-microcomputer 11 via a PCIe bus B3, such as an ECU 20 that is an information processing apparatus shown in FIG. That is, four or more devices may be included in the information processing device. In this case, the data acquisition process may be executed by the microcomputer 21 and the reset process may be executed when the data cannot be acquired. In that case, in order to avoid the reset instruction being output from a plurality of locations, the main microcomputer 10 and the microcomputer 21 are connected by the signal line R2, an error on the microcomputer 21 side is notified to the main microcomputer 10 side, and the reset instruction is You may make it output from the main microcomputer 10. FIG.
 また、図示は省略するが、サブマイコン11とIOH12の2つの装置で情報処理装置を構成してもよい。この場合、サブマイコン11にてデータ取得処理を行ってもよいし、例えばIOH12にて起動後にデータ要求は来ないことを条件としてリセット処理を行う構成としてもよい。 Although not shown, the information processing apparatus may be composed of two devices, the sub-microcomputer 11 and the IOH 12. In this case, the data acquisition process may be performed by the sub-microcomputer 11, or the reset process may be performed on condition that no data request comes after activation by the IOH 12.
 一実施形態では情報処理装置としてナビECU2を例示したが、情報処理装置は、他のECUであってもよいし、車両用ではない装置であってもよい。つまり、本開示は、複数の装置がPCIeで接続されている構成であれば、どのようなものであっても適用することができる。また、装置間がプリント配線ではなくケーブルで接続されている情報処理装置に対しても、もちろん適用することができる。 In one embodiment, the navigation ECU 2 is exemplified as the information processing device, but the information processing device may be another ECU or a device that is not for a vehicle. That is, the present disclosure can be applied to any configuration as long as a plurality of devices are connected by PCIe. Of course, the present invention can also be applied to an information processing apparatus in which apparatuses are connected by a cable instead of printed wiring.
 一実施形態ではIOH12に設けられているSDカード15からデータを取得する例を示したが、例えばサブマイコン11に記憶装置を設け、その記憶装置からデータを取得する構成であっても本開示を適用することができる。 In one embodiment, an example in which data is acquired from the SD card 15 provided in the IOH 12 has been described. However, for example, the present disclosure can be applied to a configuration in which a storage device is provided in the sub-microcomputer 11 and data is acquired from the storage device. Can be applied.
 一実施形態ではサブマイコン11にて認識処理を実行し、メインマイコン10にてリセット処理を実行する構成を例示したが、これに限定されるものでは無い。例えば、各装置に接続され、リセット処理を担当する専用の装置を設ける構成としてもよい。 In the embodiment, the configuration in which the recognition process is executed by the sub-microcomputer 11 and the reset process is executed by the main microcomputer 10 is exemplified, but the present invention is not limited to this. For example, a dedicated device connected to each device and in charge of the reset process may be provided.
 一実施形態で示した数値等はいずれも例示であり、それに限定されるものでは無い。例えば、全体の処理時間が相対的に短いと想定されるリトライ(データ再取得処理)については、そのリトライ上限回数を5回等に設定したり、全体の処理時間が相対的に長いと想定されるリセット処理については、そのリセット上限回数を3回に設定したりする等、適宜変更することができる。 All the numerical values and the like shown in the embodiment are examples and are not limited thereto. For example, for a retry (data reacquisition process) that is assumed to have a relatively short overall processing time, it is assumed that the retry upper limit number is set to 5 or the like, or the entire processing time is relatively long. The reset process can be changed as appropriate, for example, by setting the reset upper limit number of times to three.
 本開示は、実施例に準拠して記述されたが、本開示は当該実施例や構造に限定されるものではないと理解される。本開示は、様々な変形例や均等範囲内の変形をも包含する。加えて、様々な組み合わせや形態、さらには、それらに一要素のみ、それ以上、あるいはそれ以下、を含む他の組み合わせや形態をも、本開示の範畴や思想範囲に入るものである。 Although the present disclosure has been described based on the embodiments, it is understood that the present disclosure is not limited to the embodiments and structures. The present disclosure includes various modifications and modifications within the equivalent range. In addition, various combinations and forms, as well as other combinations and forms including only one element, more or less, are within the scope and spirit of the present disclosure.

Claims (10)

  1.  所定のインターフェースで接続された複数の装置(10,11、12)を備え、
     前記複数の装置(10、11、12)のうち少なくとも1つの装置は、起動時に、前記所定のインターフェースに接続されている接続先の装置を認識するための認識処理を、当該接続先の装置が認識されるまで実行し続ける情報処理装置。
    A plurality of devices (10, 11, 12) connected by a predetermined interface;
    At least one of the plurality of devices (10, 11, 12) performs a recognition process for recognizing a connection destination device connected to the predetermined interface at the time of activation. An information processing device that continues to run until it is recognized.
  2.  前記所定のインターフェースは、登録商標であるPCI Expressインターフェースである請求項1記載の情報処理装置。 2. The information processing apparatus according to claim 1, wherein the predetermined interface is a registered PCI Express interface.
  3.  前記複数の装置(10、11、12)のうち少なくとも1つの装置は、前記認識処理により認識された前記接続先の装置からデータを取得するデータ取得処理を実行する装置であり、
     前記データ取得処理を実行する装置は、当該データ取得処理を実行しても前記接続先の装置からデータを取得できなかった場合、予め定められているリトライ上限回数を上限として、前記データ取得処理を繰り返す請求項2記載の情報処理装置。
    At least one of the plurality of devices (10, 11, 12) is a device that executes data acquisition processing for acquiring data from the connection destination device recognized by the recognition processing,
    If the device that executes the data acquisition process fails to acquire data from the connection destination device even if the data acquisition process is executed, the data acquisition process is performed with a predetermined retry upper limit count as an upper limit. The information processing apparatus according to claim 2, which is repeated.
  4.  前記データ取得処理を実行する装置(10、11、12)は、当該データ取得処理を前記リトライ上限回数だけ繰り返しても前記接続先の装置からデータを取得できなかった場合、予め定められているリセット上限回数を上限として、該情報処理装置(2)の全体をリセットするリセット処理を繰り返す請求項3記載の情報処理装置。 The devices (10, 11, 12) that execute the data acquisition process are reset in advance when data cannot be acquired from the connection destination device even if the data acquisition processing is repeated for the retry upper limit count. The information processing apparatus according to claim 3, wherein a reset process for resetting the entire information processing apparatus (2) is repeated with the upper limit number as an upper limit.
  5.  前記データ取得処理を実行する装置(10、11、12)は、前記リセット処理を前記リセット上限回数だけ繰り返しても前記接続先の装置からデータを取得できなかった場合、該情報処理装置(2)に異常が生じている旨を報知する報知処理を実行する請求項4記載の情報処理装置。 When the device (10, 11, 12) that executes the data acquisition process cannot acquire data from the connection destination device even after repeating the reset process for the reset upper limit number of times, the information processing device (2) The information processing apparatus according to claim 4, wherein notification processing for notifying that an abnormality has occurred is executed.
  6.  前記複数の装置(10、11、12)は、
     前記データ取得処理および前記リセット処理を実行する装置であって、前記接続先の装置から取得したデータを用いて作動する第1の装置(10)と、
     前記認識処理を実行する装置であって、前記所定のインターフェースを介して前記第1の装置に接続されている第2の装置(11)と、
     前記接続先の装置に相当する装置であって、前記所定のインターフェースを介して前記第2の装置に接続されているとともに、前記第1の装置にて用いられるデータを記憶している記憶装置(15)が設けられている第3の装置(12)と、を少なくとも含み、
     前記第1の装置(10)は、前記データ取得処理を実行しても前記第3の装置(12)に設けられている前記記憶装置(15)からデータを取得できなかった場合には、当該データ取得処理を予め定められている前記リトライ上限回数を上限として繰り返すとともに、前記リセット処理を実行しても前記記憶装置(15)からデータを取得できなかった場合には、当該リセット処理を予め定められている前記リセット上限回数を上限として繰り返す請求項5記載の情報処理装置。
    The plurality of devices (10, 11, 12) are:
    A device that executes the data acquisition process and the reset process, the first device (10) operating using data acquired from the connection destination device;
    A device that executes the recognition process, the second device (11) connected to the first device via the predetermined interface;
    A storage device (equivalent to the connection destination device) connected to the second device via the predetermined interface and storing data used in the first device ( A third device (12) provided with 15),
    If the first device (10) fails to acquire data from the storage device (15) provided in the third device (12) even after executing the data acquisition process, When the data acquisition process is repeated with the predetermined retry upper limit number as an upper limit, and the data cannot be acquired from the storage device (15) even if the reset process is executed, the reset process is determined in advance. The information processing apparatus according to claim 5, wherein the reset upper limit count is repeated as an upper limit.
  7.  所定のインターフェースで接続された複数の装置(10、11、12)を備えた情報処理装置を起動する際の情報処理装置(2)の起動方法であって、
     前記情報処理装置(2)の起動時に、前記所定のインターフェースに接続されている接続先の装置(10、11、12)を認識するための認識処理を、当該接続先の装置(10、11、12)が認識されるまで実行し続ける認識工程を含む情報処理装置の起動方法。
    A method for starting an information processing device (2) when starting an information processing device including a plurality of devices (10, 11, 12) connected by a predetermined interface,
    When the information processing apparatus (2) is activated, a recognition process for recognizing a connection destination apparatus (10, 11, 12) connected to the predetermined interface is performed. 12) A method for starting up an information processing apparatus including a recognition step that continues to be executed until it is recognized.
  8.  前記所定のインターフェースは、登録商標であるPCI Expressインターフェースでる請求項7記載の情報処理装置の起動方法。 The information processing apparatus activation method according to claim 7, wherein the predetermined interface is a registered PCI Express interface.
  9.  所定のインターフェースで接続された複数の装置(10、11、12)を備えた情報処理装置(2)を起動する際に、
     前記複数の装置(10、11、12)のうち少なくとも1つの装置に対して、起動時に、前記所定のインターフェースに接続されている接続先の装置を認識するための認識処理を、当該接続先の装置が認識されるまで実行させ続けるためのコンピュータによって実施される命令を含み、コンピュータ読み取り可能な持続的且つ有形の記憶媒体に保管されている情報処理装置(2)の起動プログラム製品。
    When starting the information processing apparatus (2) including a plurality of apparatuses (10, 11, 12) connected by a predetermined interface,
    At least one device among the plurality of devices (10, 11, 12) is subjected to a recognition process for recognizing a connection destination device connected to the predetermined interface at the time of activation. An activation program product for an information processing device (2) that is stored on a computer-readable persistent and tangible storage medium that includes instructions implemented by a computer to continue execution until the device is recognized.
  10.  前記所定のインターフェースは、登録商標であるPCI Expressインターフェースである請求項9記載の情報処理装置(2)の起動プログラム製品。 10. The information processing apparatus (2) activation program product according to claim 9, wherein the predetermined interface is a PCI Express interface which is a registered trademark.
PCT/JP2014/006001 2013-12-20 2014-12-02 Information processing device, method for starting up information processing device, and information processing device startup program product WO2015092991A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2013263752A JP2015121837A (en) 2013-12-20 2013-12-20 Information processing device, method for starting information processing device, start program of information processing device
JP2013-263752 2013-12-20

Publications (1)

Publication Number Publication Date
WO2015092991A1 true WO2015092991A1 (en) 2015-06-25

Family

ID=53402370

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2014/006001 WO2015092991A1 (en) 2013-12-20 2014-12-02 Information processing device, method for starting up information processing device, and information processing device startup program product

Country Status (2)

Country Link
JP (1) JP2015121837A (en)
WO (1) WO2015092991A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021129161A (en) * 2020-02-12 2021-09-02 株式会社デンソー Electronic control apparatus for vehicle

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003118217A (en) * 2001-10-17 2003-04-23 Ricoh Co Ltd Imaging apparatus
JP2005182299A (en) * 2003-12-17 2005-07-07 Ricoh Co Ltd Device for monitoring pci bus
JP2012168712A (en) * 2011-02-14 2012-09-06 Canon Inc Information processing device, control method therefor, and program
JP2013054414A (en) * 2011-09-01 2013-03-21 Nec Corp Information processor
JP2013200602A (en) * 2012-03-23 2013-10-03 Sharp Corp Image processing apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003118217A (en) * 2001-10-17 2003-04-23 Ricoh Co Ltd Imaging apparatus
JP2005182299A (en) * 2003-12-17 2005-07-07 Ricoh Co Ltd Device for monitoring pci bus
JP2012168712A (en) * 2011-02-14 2012-09-06 Canon Inc Information processing device, control method therefor, and program
JP2013054414A (en) * 2011-09-01 2013-03-21 Nec Corp Information processor
JP2013200602A (en) * 2012-03-23 2013-10-03 Sharp Corp Image processing apparatus

Also Published As

Publication number Publication date
JP2015121837A (en) 2015-07-02

Similar Documents

Publication Publication Date Title
US10576990B2 (en) Method and device for handling safety critical errors
US8762782B2 (en) Basic input-output system circuit and method for using the same
US9436491B1 (en) Computer system and method for testing hardware device based on virtual machine
EP2824573A2 (en) Microcomputer test
EP3249534A1 (en) Vehicle control device
US10216550B2 (en) Technologies for fast boot with adaptive memory pre-training
US11768721B2 (en) Processing device
CN105868060B (en) Method for operating a data processing unit of a driver assistance system and data processing unit
US20150046759A1 (en) Semiconductor integrated circuit device
WO2015092991A1 (en) Information processing device, method for starting up information processing device, and information processing device startup program product
JP7012915B2 (en) controller
EP3629176B1 (en) Fault detection circuit with progress register and status register
US10275259B1 (en) Multi-stage booting of integrated circuits
CN109407648B (en) Method and system for removing fault in power-on process and computer readable storage medium
US7191359B2 (en) Fail-safe controller
JP5413595B2 (en) Integrated circuit device, electronic equipment
CN107783530B (en) Failure operable system design mode based on software code migration
EP3321814B1 (en) Method and apparatus for handling outstanding interconnect transactions
KR102154245B1 (en) Software-based reconfiguration unit within the satellite
JP2019191942A (en) Control device and function inspection method
US20200050164A1 (en) Reconfiguration control device
JP4816186B2 (en) Control module
US9223585B2 (en) Data processing device with serial bus that needs initialization before use
JP5774941B2 (en) Configuration device and configuration method
JP6275098B2 (en) Control device and register failure recovery method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14872195

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14872195

Country of ref document: EP

Kind code of ref document: A1