主权项 |
1. A relay device including a processing unit and being located between network buses to which a plurality of electronic control devices are communicably connected, wherein
while software in the relay device is being rewritten by an external device, the processing unit is configured to: prohibit transfer processing of data from each electronic control device connected to the network bus; and allow transfer processing of a maintenance command from the external device to the network buses, the maintenance command indicating at least either one of maintaining the prohibit transfer processing in each electronic control device and maintaining storage prohibition of a failure code in each electronic control device, wherein the maintenance command is valid only for a predetermined period of time from when each electronic control device receives the maintenance command, each electronic control device is configured to return to an operational state prior to receiving another instance of the maintenance command after the predetermined period of time, which is a valid period of the maintenance command, elapses from when the maintenance command is received, and the processing unit is configured to receive the maintenance command from the external device at a cycle shorter than or equal to the predetermined period of time while the software is being rewritten. |