Dynamic reconfiguration of applications on a multi-processor embedded system
Abstract
A multiprocessor system and method for swapping applications executing on the multiprocessor system are disclosed. The plurality of applications may include a first application and a plurality of other applications. The first application may be dynamically swapped with a second application. The swapping may be performed without stopping the plurality of other applications. The plurality of other applications may continue to execute during the swapping to perform a real-time operation and process real-time data. After the swapping, the plurality of other applications may continue to execute with the second application, and at least a subset of the plurality of other applications may communicate with the second application to perform the real time operation and process the real time data.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 28 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A method, comprising: loading a plurality of applications on a multiprocessor system, wherein the plurality of applications includes a first application and a plurality of other applications; wherein the multiprocessor system includes a plurality of processors and a plurality of memories interspersed among the plurality of processors; wherein loading the plurality of applications includes distributing instructions and data from the plurality of applications among different respective ones of the plurality of memories for execution by associated processors; executing the plurality of applications on the multiprocessor system, wherein the plurality of applications executes together and communicate with each other to perform a real time operation; swapping out the first application with a second application, wherein the second application is not one of the plurality of applications previously loaded and executing on the multiprocessor system, and wherein swapping out the first application with the second application comprises stopping the first application on a subset of processors of the multiprocessor system, decoupling communication of the first application with the plurality of other applications, loading the second application into a subset of the plurality of memories, and continuing execution of each application of the plurality of other applications; determining whether the first application is currently being swapped with the second application; and performing a debugging procedure based at least in part on the determination whether the first application is currently being swapped with the second application, wherein performing the debugging procedure comprises: setting one or more breakpoints in the first application while it is swapped out, wherein the one or more breakpoints are active immediately for the first application and not for the plurality of other applications when the first application that is swapped out is swapped back in.
- Claim 2Depends on #1
The method of claim 1, further comprising: displaying, on a display, an indication of whether the first application is executing, the second application is executing, or the first application is currently being swapped with the second application during the debugging procedure, wherein performing the debugging procedure comprises enabling a user to manually select an executing application for debugging.
- Claim 3Depends on #1
The method of claim 1, wherein performing the debugging procedure based at least in part on the determination whether the first application is currently being swapped with the second application comprises: applying a breakpoint to stop all executing applications and implement debugging commands.
- Claim 4Depends on #1
The method of claim 1, wherein performing the debugging procedure based at least in part on the determination whether the first application is currently being swapped with the second application comprises: debugging each application independently.
- Claim 5Depends on #1
The method of claim 1, wherein performing the debugging procedure based at least in part on the determination whether the first application is currently being swapped with the second application comprises: setting breakpoints in applications that are currently swapped out, wherein the breakpoints are active immediately when the applications that are currently swapped out are swapped back in.
- Claim 6Depends on #1
The method of claim 1, wherein prior to swapping the first application with the second application, the first application executes on a first subset of the plurality of processors; and wherein swapping the first application with the second application includes: stopping the first application on the first subset of the plurality of processors; saving a state of the first application; and loading the second application into memories associated with the first subset of the plurality of processors.
- Claim 7Depends on #1
The method of claim 1, wherein swapping the first application with the second application includes loading the second application into two or more of the memories, wherein loading the second application includes sending program instructions of the second application through the multiprocessor system along two or more swapping routes, and wherein each of the swapping routes is associated with one of the two or more memories.
- Claim 8Independent Claim
A multiprocessor system, comprising: a plurality of processors; a plurality of memories interspersed among the processors, wherein the multiprocessor system is configured to: load a plurality of applications on the multiprocessor system, wherein the plurality of applications includes a first application and a plurality of other applications, wherein loading the plurality of applications includes distributing instructions and data from the plurality of applications among different respective ones of the plurality of memories for execution by associated processors; execute the plurality of applications on the multiprocessor system, wherein the plurality of applications executes together and communicate with each other to perform a real time operation; swap out the first application with a second application, wherein the second application is not one of the plurality of applications previously loaded and executing on the multiprocessor system, wherein swapping out the first application with the second application comprises stopping the first application on a subset of processors of the multiprocessor system, decoupling communication of the first application with the plurality of other applications, loading the second application into a subset of the plurality of memories, and continuing execution of each application of the plurality of other applications; determine whether the first application is currently being swapped with the second application; and perform a debugging procedure based at least in part on the determination whether the first application is currently being swapped with the second application, wherein performing the debugging procedure based at least in part on the determination whether the first application is currently being swapped with the second application comprises setting one or more breakpoints in the first application while it is swapped out, wherein the one or more breakpoints are active immediately for the first application and not for the plurality of other applications when the first application that is swapped out is swapped back in.
- Claim 9Depends on #8
The multiprocessor system of claim 8, wherein the multiprocessor is further configured to: display, on a display, an indication of whether the first application is executing, the second application is executing, or the first application is currently being swapped with the second application during the debugging procedure, wherein performing the debugging procedure comprises enabling a user to manually select an executing application for debugging.
- Claim 10Depends on #8
The multiprocessor system of claim 8, wherein, in performing the debugging procedure based at least in part on the determination whether the first application is currently being swapped with the second application, the multiprocessor system is further configured to: apply a breakpoint to stop all executing applications and implement debugging commands.
- Claim 11Depends on #8
The multiprocessor system of claim 8, wherein, in performing the debugging procedure based at least in part on the determination whether the first application is currently being swapped with the second application, the multiprocessor system is further configured to: debug each application independently.
- Claim 12Depends on #8
The multiprocessor system of claim 8, wherein, in performing the debugging procedure based at least in part on the determination whether the first application is currently being swapped with the second application, the multiprocessor system is further configured to: set breakpoints in applications that are currently swapped out, wherein the breakpoints are active immediately when the applications that are currently swapped out are swapped back in.
- Claim 13Depends on #8
The multiprocessor system of claim 8, wherein prior to swapping the first application with the second application, the first application communicates structured data elements via a first buffer memory, wherein each data element has a beginning boundary and an ending boundary, and wherein the first buffer memory is configured to: receive a request to discontinue data communication after transmission of a first data element has been initiated; and continue transmission of the first data element up to the ending boundary of the first data element.
- Claim 14Depends on #8
The multiprocessor system of claim 8, further comprising a plurality of data memory routers coupled between the plurality of processors, wherein the data memory routers include the plurality of memories interspersed among the processors.
- Claim 15Independent Claim
A non-transitory computer-accessible storage medium having program instructions stored therein that, in response to execution by a multiprocessor system comprising a plurality of memories interspersed among a plurality of respective associated processors, cause the multiprocessor system to: load a plurality of applications on the multiprocessor system, wherein the plurality of applications includes a first application and a plurality of other applications, wherein loading the plurality of applications includes distributing instructions and data from the plurality of applications among different respective ones of the plurality of memories for execution by associated processors; execute the plurality of applications on the multiprocessor system, wherein the plurality of applications executes together and communicate with each other to perform a real time operation; swap out the first application with a second application, wherein the second application is not one of the plurality of applications previously loaded and executing on the multiprocessor system, wherein swapping out the first application with the second application includes continuing execution of each application of the plurality of other applications; determine whether the first application is currently being swapped with the second application; and perform a debugging procedure based at least in part on the determination whether the first application is currently being swapped with the second application, wherein performing the debugging procedure comprises: setting one or more breakpoints in the first application while it is swapped out, wherein the one or more breakpoints are active immediately for the first application and not for the plurality of other applications when the first application that is swapped out is swapped back in.
- Claim 16Depends on #15
The non-transitory computer-accessible storage medium of claim 15, wherein the program instructions are further executable to cause the multiprocessor system to: display, on a display, an indication of whether the first application is executing, the second application is executing, or the first application is currently being swapped with the second application during the debugging procedure, wherein performing the debugging procedure comprises enabling a user to manually select an executing application for debugging.
- Claim 17Depends on #15
The non-transitory computer-accessible storage medium of claim 15, wherein, in performing the debugging procedure based at least in part on the determination whether the first application is currently being swapped with the second application, the program instructions are further executable to cause the multiprocessor system to: apply a breakpoint to stop all executing applications and implement debugging commands.
- Claim 18Depends on #15
The non-transitory computer-accessible storage medium of claim 15, wherein, in performing the debugging procedure based at least in part on the determination whether the first application is currently being swapped with the second application, the program instructions are further executable to cause the multiprocessor system to debug each application independently.
- Claim 19Depends on #15
The non-transitory computer-accessible storage medium of claim 15, wherein, in performing the debugging procedure based at least in part on the determination whether the first application is currently being swapped with the second application, the program instructions are further executable to cause the multiprocessor system to: set breakpoints in applications that are currently swapped out, wherein the breakpoints are active immediately when the applications that are currently swapped out are swapped back in.
- Claim 20Depends on #15
The non-transitory computer-accessible storage medium of claim 15, wherein prior to swapping the first application with the second application, the first application executes on a first subset of the plurality of processors; and wherein swapping the first application with the second application includes: stopping the first application on the first subset of the plurality of processors; saving a state of the first application; and loading the second application into memories associated with the first subset of the plurality of processors.
Technical Overview & Description
PRIORITY INFORMATION This application is a continuation of U.S. patent application Ser. No. 17/243,890 entitled “ Dynamic Reconfiguration of Applications on a Multi-Processor Embedded System, filed Apr. 29, 2021, which is a continuation of U.S. patent application Ser. No. 15/976,021 entitled “ Dynamic Reconfiguration of Applications on a Multi-Processor Embedded System, ” filed May 10, 2018, now U.S. Pat. No. 11,023,272, which is a continuation of Ser. No. 14/921,281 entitled “ Dynamic Reconfiguration of Applications on a Multi-Processor Embedded System, ” filed Oct. 23, 2015, now U.S. Pat. No. 9,990,227, which is a continuation of U.S. patent application Ser. No. 13/896,577 entitled “ Dynamic Reconfiguration of Applications on a Multi-Processor Embedded System, ” filed May 17, 2013, now U.S. Pat. No. 9,195,575. All of the aforementioned Applications are incorporated by reference in their entireties. The claims in the instant application are different than those of the parent application or other related applications. The Applicant therefore rescinds any disclaimer of claim scope made in the parent application or any predecessor application in relation to the instant application. The Examiner is, therefore, advised that any such previous disclaimer and the cited references that it was made to avoid, may need to be revisited. Further, any disclaimer made in the instant application should not be read into or against the parent application or other related applications. BACKGROUND Technical Field This invention relates to multi-processor systems, and more particularly to dynamic reconfiguration of software applications executing on a multi-processor system (MPS). Description of the Related Art An embedded system may be described as a computer system designed for specific functions, often with real-time computing constraints. Physically, embedded systems range from portable consumer electronic devices, such as video and/or audio devices, to large stationary installation
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (28)
Non-Patent Literature (10)
- NPL Mitchell
- “
- Multi-core and Multi-threaded SoCs Present New Debugging Challenges
- ”
- , MIPS Technologies, Aug. 2003. (Year: 2003).
- Wahlah, Muhammad Aqeel and Kees Goossens,
- “
- Composable and Persistent-State Application Swapping on FPGAs Using Hardwired Network on Chip,
- ”
- IEEE 2009 International Conference on Reconfigurable Computing and FPGAs; Dec. 9-11, 2009; pp. 380-385, Cancun, Quintano Roo, Mexico (6 pages).