A control program downloading method that is used by a program receiving apparatus equipped with a storing device which stores in advance a control program made up of an update program used for download of a new control program and a non-update program used for processing other than the download of the new control program, the new control program being made up of a new update program and a new non-update program, the control program downloading method comprising:
- a first controlling step for executing the update program stored in the storing device to receive the new update program and write the received new update program over the non-update program stored in a first area in the storing device;
- and
- a second controlling step for executing, once the first controlling step has finished writing the new update program into the storing device, the new update program to receive the new non-update program and write the received new non-update program over data stored in a second area in the storing device aside from an area where the new update program that is currently being used is stored,
- wherein the new update program is divided into divisions which are each accompanied by a first identifier and a serial number, and is received in units of divisions,
- wherein the new non-update program is divided into divisions which are each accompanied by a second identifier and a serial number, and is received in units of divisions,
- wherein in the first controlling step, if the first identifier is appended to a received division of the new control program, the received division is judged as belonging to the new update program and a location where the received division is to be written is specified within the first area based on a serial number appended to the received division, and
- wherein in the second controlling step, if the second identifier is appended to a received division of the new control program, the received division is judged as belonging to the new non-update program and a location where the received division is to be written is specified within the second area based on a serial number appended to the received division.