CROSS-REFERENCE TO RELATED APPLICATIONS

This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2018-152602 filed Aug. 14, 2018.

BACKGROUND

(i) Technical Field

The present disclosure relates to a circuit board and a method for delivering a program to a plurality of circuit boards.

(ii) Related Art

In Japanese Unexamined Patent Application Publication No. 2002-182939, a method for writing data to a memory is disclosed. The method includes a first process in which a first communication unit whose data transfer speed is relatively low is set to a state in which the first communication unit can transfer data, a second process in which, after the state is set, a first communication unit transfers, to a memory device, a program for activating a second communication unit whose data transfer speed is higher than that of the first communication unit, and a third process in which the second communication unit is operated using the program stored in the memory device and a writing unit writes, to the memory device, data to be written to the memory device.

In Japanese Unexamined Patent Application Publication No. 2004-348178, a method for writing, during fabrication of an electronic apparatus that controls a control target apparatus in accordance with a control program, the control program to a storage unit of the electronic apparatus is disclosed. The method includes storing, in the storage unit, an inspection program for sequentially checking whether the control target apparatus controlled by the electronic apparatus can perform a plurality of certain operations in accordance with an instruction from the electronic apparatus and a writing program for writing the control program to the storage unit, sequentially inspecting, in accordance with inspection order specified by the inspection program, the control target apparatus in terms of the plurality of certain operations by executing an operation program stored in the storage unit each time inspection preparation for one of the plurality of certain operations of the control target apparatus is completed, and writing the control program to the storage unit by executing the writing program during the inspection preparation in the sequentially inspecting.

In Japanese Unexamined Patent Application Publication No. 2012-088767, a method for updating a program incorporated into an electronic apparatus including electronic components is disclosed. The method includes obtaining common update data, which is part of update data for the program shared by a plurality of electronic apparatuses including electronic components of different types and models, collectively obtaining differential data between the common update data and update data for the program to be used for each of the plurality of electronic apparatuses, obtaining update procedure data that specifies a procedure for updating the program using the common update data and the differential data, obtaining types and models of the electronic components, and updating the program in accordance with the procedure specified by the update procedure data using the types and models of the electronic components obtained in the obtaining types and models of the electronic components, the common update data, and the differential data.

SUMMARY

Programs are often written to storage units included in circuit boards. If programs are written before circuit boards are incorporated into apparatuses, the circuit boards need to be set in a jig one by one, and the programs need to be written using a power supply of the jig, which takes time.

If programs are written after circuit boards are incorporated into apparatuses, the programs need to be written using power supplies provided for the apparatuses, and it takes time to activate the power supplies of the apparatuses.

Aspects of non-limiting embodiments of the present disclosure relate to a circuit board that allows a program to be written to a storage unit thereof without using an external power supply of a jig, an apparatus, or the like and a method for delivering a program to a plurality of substrates.

Aspects of certain non-limiting embodiments of the present disclosure overcome the above disadvantages and/or other disadvantages not described above. However, aspects of the non-limiting embodiments are not required to overcome the disadvantages described above, and aspects of the non-limiting embodiments of the present disclosure may not overcome any of the disadvantages described above.

According to an aspect of the present disclosure, there is provided a circuit board incorporable into an apparatus. The circuit board includes a substrate, a reception unit that is provided on the substrate and that wirelessly receives a function program for achieving a function, a storage unit that is provided on the substrate and to which a writing program for writing the function program received by the reception unit has been written in advance, a power supply provided on the substrate, and a power control unit that supplies power for receiving, with the reception unit, the function program and power for writing, on a basis of the writing program, the function program to the storage unit using the power supply without using an external power supply.

