A kind of multi CPU system real-time programming development approachTechnical field
The present invention relates to microcontroller technical field, specifically a kind of multi CPU system real-time programming development approach.
Background technology
The exploitation programming of the various microcontroller of present kind, debugging, download are all by respective microcontroller manufacturer or softwareCompany provides corresponding IDE and developing instrument.Mostly exist with windows application softwaries form, developerWhen doing different Microcontroller Applications, need the software development the integration environment of respective microprocessor is installed on the machine of oneself(IDE).Integrated Simulation development environment is generally bulky, installs loaded down with trivial details, and different microprocessor developings need study different micro-Controller IDE is used and correlation technique, it is impossible to realize that arbitrarily mobile internet device carries out microcontroller whenever and wherever possibleDevice application and development.And microcontroller software IDE (IDE) is all commercial fee software mostly, causes exploit personMember's development cost is high, and different microcontroller IDE diversityes are big, and learning difficulty is big, the program of different microcontrollersIncompatible, between different microcontroller application source codes, reusability is poor.
Simultaneously as the development of Internet of Things, various electronic products all start to access the Internet, various electronic products shouldIt is after corresponding IDE platform development is good, then by way of corresponding upgrading according to the conventional method with program upgradingUpgrading.Electronic product with micro controller system oneself cannot generate source code and then carry out itself upgrading.And it is later various with micro-When the electronic product of controller system is needed with more real intelligent and self adaptations, User Defined application demandWhen, it is necessary to the band micro controller system has self-generating source code ability, then realizes corresponding application and development by the methodAnd upgrading.
The content of the invention
It is an object of the invention to provide a kind of multi CPU system real-time programming development approach of easy to use, reduces cost,To solve the problems, such as to propose in above-mentioned background technology.
For achieving the above object, the present invention provides following technical scheme:
A kind of multi CPU system real-time programming development approach, comprises the following steps that:
(1) microcontroller application program source code is allowed to generate in front-end client;
(2) microcontroller application program source code is sent by network and is submitted to background server;
(3) background server is compiled debugging, compiling Debugging message and compiling debugging to microcontroller application program source codeGood microcontroller application executable file is transmitted back to front-end client again by network;
(4) front-end client is burnt by the download that the application with itself programmable interface carries out microcontroller executable fileWrite.
As further scheme of the invention:The front-end client be the Internet mobile device or itself with programmable interfaceMicro controller system.
As further scheme of the invention:The Internet mobile device by the web browser in B/S frameworks orApplication forms in C/S frameworks, produce microcontroller application program source code, itself micro-control with programmable interfaceDevice system processed is from production microcontroller application program source code.
As further scheme of the invention:The Internet mobile device is user PC, mobile phone or PAD.
As further scheme of the invention:The background server be with the TCP/IP servers in the C/S network architectures,Or the Web server in the B/S network architectures is realized, the compiling debugging software of microcontroller exploitation on background server, is run,And the unified DLL of Microcontroller Application.
As further scheme of the invention:It is described to arrive 32-bit microprocessor for 8 for controller.
Compared with prior art, the invention has the beneficial effects as follows:
The present invention is realized logical to provide most basic method framework with micro controller system adaptive intelligent and self study upgradingArbitrarily mobile internet device is programmed application and development to micro controller system whenever and wherever possible to cross network, realizes to microprocessorSystematic difference real-time upgrading, supports various microcontrollers, realizes that the source code of microprocessor applications program unifies reusability,The learning cost of microcontroller developer is reduced, the upgrade maintenance consumption with microprocessor system product is reduced.
Description of the drawings
Fig. 1 is the interactive block diagram of front-end client of the present invention and background server.
Fig. 2 is the way of realization block diagram of front-end client in the present invention.
Fig. 3 is the way of realization block diagram of background server in the present invention.
Specific embodiment
The technical scheme of this patent is described in more detail with reference to specific embodiment.
Fig. 1-3 are referred to, a kind of multi CPU system real-time programming development approach is comprised the following steps that:
(1) microcontroller application program source code is allowed to generate in front-end client;
(2) microcontroller application program source code is sent by network and is submitted to background server;
(3) background server is compiled debugging, compiling Debugging message and compiling debugging to microcontroller application program source codeGood microcontroller application executable file is transmitted back to front-end client again by network;
(4) front-end client is burnt by the download that the application with itself programmable interface carries out microcontroller executable fileWrite, so as to realize that arbitrarily the Internet mobile device is programmed debugging and band to the application program with microcontroller products whenever and wherever possibleThe intellectuality of micro controller system, self study self-programming, adaptive application upgrade.
The front-end client is the Internet mobile device or itself micro controller system with programmable interface, the InternetMobile device produces microcontroller by web browser or the application forms in C/S frameworks in B/S frameworksApplication program source code, itself micro controller system with programmable interface is from production microcontroller application program source code, instituteThe Internet mobile device is stated for user PC, mobile phone or PAD;The background server is with the TCP/IP in the C/S network architecturesWeb server in server or the B/S network architectures realizes that the compiling that microcontroller exploitation is run on background server is adjustedExamination software, and the unified DLL of Microcontroller Application, it is described to arrive 32-bit microprocessor for 8 for controller.
The present invention can carry out the application programming of micro controller system on user PC, on various mobile internet devices and openSend out, source code compiling debugging is carried out by the background server of Web vector graphic distal end, has broken conventional traditional micro controller systemApplication development method, it is the same to reach different microcontroller application development interfaces, real to realize different microcontrollersApplication program is once write and is run everywhere.Microcontroller software developer is without again locally-installed expensive, various, complicatedExploitation the integration environment (IDE), the code reusability of microcontroller application program greatly improves, it is long-range in real time at any time withGround program downloads, reduce the exploitation maintenance cost of microcontroller products.It is the Internet of Things networking, adaptive using microcontroller productsShould the intelligent technical support provided the foundation with self study upgrading.
The coding environment of microcontroller application development and compiling debugging enironment are separated by the present invention.Various different micro-controls are providedThe unified application programming interface of device processed (8 to 32), realizes that arbitrarily mobile internet device passes through network whenever and wherever possibleRealize developing the application programming with micro controller system, while the method is capable of achieving the microcontroller system with self-programming interfaceCertainly upgrade anywhere or anytime by self study self-programming for system.
The present invention is realized logical to provide most basic method framework with micro controller system adaptive intelligent and self study upgradingArbitrarily mobile internet device is programmed application and development to micro controller system whenever and wherever possible to cross network, realizes to microprocessorSystematic difference real-time upgrading, supports various microcontrollers, realizes that the source code of microprocessor applications program unifies reusability,The learning cost of microcontroller developer is reduced, the upgrade maintenance consumption with microprocessor system product is reduced.
Above the better embodiment of this patent is explained in detail, but this patent is not limited to above-mentioned embodiment,In the ken that one of ordinary skill in the art possesses, can be each to make on the premise of without departing from this patent objectivePlant change.