Program dynamic loading method

A technology of dynamic loading and application, applied in the direction of program loading/starting, program control device, etc., can solve the problems of inability to realize dynamic loading of application programs, disadvantageously protect the property rights of application programs, etc., and achieve the effect of protecting intellectual property rights and realizing dynamic loading.

CN101067789AActive Publication Date: 2007-11-07SHANGHAI MICRO ELECTRONICS EQUIP (GRP) CO LTD
1 Cites 19 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2007-11-07

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

This invention provides a dynamic loading method for programs used in dynamically loading applied programs to a target system of DSP, which includes an exterior non-volatile ROM, an exterior SDRAM and a slice RAM, and the method includes: processing images of an applied program according to an applied program to be executed and resuming information corresponding to the generated applied program image, then solidifying the resuming information and a lead program to the ROM, connecting the DSP to a PC to execute the lead program in the ROM after the system is turned on to communicate with the PC and loading the image on the SDRAM, then copying the image of the applied program to related positions of the RAM and the SDRAM and resetting the DSP to an operation environment of the applied program to carry out the applied program.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to a program dynamic loading method, in particular to a dynamic loading program method applied to DSP. Background technique

[0002] DSP (Digital Signal Processor, digital signal processor) has been widely used in the fields of industrial control, multimedia processing and consumer electronics because of its high computing precision and strong real-time performance. In the DSP system, the application program must be loaded into the DSP target system before it can become an independent off-line operating system after being debugged through emulation. In order to realize the loading of the application program, the DSP must be guided and loaded.

[0003] A common practice in the prior art is to store the application program in an external non-volatile memory, such as EPROM, FLASH, etc., and the DSP starts bootloading after the system is powered on. According to the type of DSP selected and the size of the application program, it ca...

Examples

Embodiment Construction

[0018] The application program dynamic loading method of the present invention will be further described in detail in conjunction with a specific embodiment below. This embodiment is aimed at the motion control software based on DSP. In order to facilitate the modification and protection of the control algorithm, the above method is used to realize the dynamic loading of the control software.

[0019] Please refer to FIG. 1, which shows the system architecture used in this embodiment. In this embodiment, the SUN workstation 10 running the Solaris operating system communicates with the upper computer PowerPC 30 running the VxWorks operating system through the Ethernet 20 . The PowerPC 30 is interconnected with each motion control card 50 through the VME bus 40 . Wherein, the motion control card 50 includes a DSP, and the model of the DSP may be TMS320C6711, but not limited thereto. In addition, the application program images used by each unit in this embodiment are all stored...