Input/output in embedded systems
AssigneeSTMicroelectronics S.r.l.
InventorMark Phillips
Life of this patent
Estimating the term…
Abstract
An application program runs on an embedded processor connected via a link to a host. When the application program identifies a need for communication over said link, it reads a pointer location to see whether its contents represent a valid address in memory, and if so the program calls that address. It then checks the code at the address to see whether an entry point is stored there, and if so uses that entry point to access a subroutine enabling communication over the link.
Claims20
A method of operating an embedded system comprising a digital signal processor and associated memory, said embedded system having an application program for running on said digital signal processor and a link external to said embedded system, said link being capable of connection to a host computer, said memory comprising a pointer location for storing pointer information representative of the location of the entry point of a computer file comprising a communication subroutine, the method comprising:
- running said application program, whereby said application program identifies a need for communication over said link;
- establishing the contents of said pointer location to determine whether said pointer location contents represent a valid address in said memory;
- if said contents of said pointer location are established as representing a valid address in said memory, calling said valid address;
- determining whether code at said valid address indicates a said entry point, thereby determining whether a said computer file is present;
- if said computer file is present, running said subroutine to thereby communicate.
A method of data communication between a host computer and a target computer system, wherein said target computer system has a memory comprising plural addressable locations and is adapted to run an application, the method comprising:
- providing a file, comprising a subroutine enabling said communication between said computers;
- dynamically loading said file from said host computer to said memory of said target computer system, whereby said file has an entry point at a dynamically-determined addressable location;
- storing at a predetermined one of said addressable locations data representative of the address of said entry point;
- running said application, whereby said application determines said data representative of said address thereby accessing said subroutine;
- and
- running said subroutine whereby said communication occurs.
An embedded system comprising a digital signal processor and associated memory, said embedded system having an application program for running on said digital signal processor, the application program needing to communicate over a link external to said embedded system, said link being capable of connection to a host computer, said memory comprising a pointer location storing pointer information representative of the location of the entry point of a computer file comprising a communication subroutine, the method comprising:
- processor circuitry for running said application program, whereby said application program identifies the need for said communication;
- establishing circuitry for establishing the contents of said pointer location to determine whether said pointer location contents represent a valid address in said memory;
- calling circuitry for calling said valid address;
- determining circuitry for determining whether code at said valid address indicates a said entry point, whereby said processor circuitry runs said subroutine.
A device for debugging an embedded computer system, said embedded system having a memory comprising plural addressable locations, said computer system being adapted to run an application,
- the device comprising a host computer connected to said embedded computer system, said host computer comprising a computer file including a subroutine enabling said data communication between said embedded computer system and said host computer;
- said host computer comprising a linker-loader connected to said link and operative to send said file and dynamically load said file to said memory of said embedded computer system whereby said file has an entry point at one of said addressable locations, said linker-loader comprising means for storing at a predetermined one of said addressable locations data representative of the address of said entry point;
- said embedded computer system comprising processor means running said application whereby said application determines said data representative of said address, thereby accessing said file whereby said communication occurs.
Dependencies are inferred from the claim text.