Data-processing arrangement for updating code in an auxiliary processor memory
AssigneeST-Ericsson SA
InventorsJean-Paul Coupigny, Olivier Mielo
Life of this patent
Estimating the term…
Abstract
A data-processing arrangement includes a main processor and an auxiliary processor. A system-program code causes the main processor to write an application-program code into a shared memory. The system-program code further causes the main processor to write an address indication, which indicates where the application-program code has been written into the shared memory, into a predefined memory location. A startup-program code causes the auxiliary processor to retrieve the address indication from the predefined memory location so as to subsequently transfer the application-program code from the shared memory to an application-program memory, which belongs to the auxiliary processor.
Claims10
A data-processing arrangement comprising:
- a main processor that has been provided with a system-program code that, when an application-program code needs to be replaced, that causes the main processor to write an updated application-program code into a shared memory, and that causes the main processor to write an address indication, which indicates where the application-program code has been written into the shared memory, into a predefined memory location or that causes the main processor, when the application program code does not need to be replaced, to write a jump instruction having a jump address as an address in the application-program code under which the first code of the most recent version of the application-program code has been previously stored;
- an auxiliary processor that has been provided with a startup-program code that causes the auxiliary processor to retrieve the address indication from the predefined memory location so as to subsequently transfer the application-program code from the shared memory to an application-program memory that belongs to the auxiliary processor, wherein the startup-program code causes the auxiliary processor to jump to the application-program code which is present in the application-program memory according to the jump instruction.
A method of downloading and/or running an application-program code in a data-processing arrangement that comprises a main processor and an auxiliary processor, the method comprising:
- a system-program-code execution step in which the main processor, when the application-program code needs to be replaced, writes an updated application-program code into a shared memory, and in which the main processor writes an address indication, which indicates where the application-program code has been written into the shared memory, into a predefined memory location or in which the main processor, when the application program code does not need to be replaced, writes a jump instruction having a jump address as an address in the application-program code under which the first code of the most recent version of the application-program code has been previously stored;
- a startup-program execution step in which the auxiliary processor retrieves the address indication from the predefined memory location and, subsequently, transfers the application-program code from the shared memory to an application-program memory that belongs to the auxiliary processor or in which the auxiliary processor jumps to the application-program code, which is present in the application-program memory, according to the jump instruction.
A computer-program product for a data-processing arrangement that comprises a main processor and an auxiliary processor, the computer-program product comprising:
- a system-program code that, when loaded into the main processor, causes the main processor, when an application program code needs to be replaced, to write an application-program code into a shared memory, and that causes the main processor to write an address indication, which indicates where the application-program code has been written into the shared memory, into a predefined memory location or that causes the main processor, when the application program code does not need to be replaced, to write a jump instruction having a jump address as an address in the application-program code under which the first code of the most recent version of the application-program code has been previously stored;
- and a startup-program code that, when loaded into a startup program memory, which belongs to the auxiliary processor, causes the auxiliary processor to retrieve the address indication from the predefined memory location and, subsequently, to transfer the application-program code from the shared memory to an application-program memory that belongs to the auxiliary processor or that causes the auxiliary processor to jump to the application-program code, which is present in the application-program memory, according to the jump instruction.
Dependencies are inferred from the claim text.