ARRANGEMENT FOR COMMUNICATING A PROGRAM FROM A HOST COMPUTER TO A TARGET COMPUTER

Abstract: The arrangement concerns developing in a host computer (1, 1') a program for a first microcomputer (3, 3', 3''). The program developed is communicated to the first microcomputer and a fault location in the communicated program is to take place during simultaneous running of the first microcomputer. The latter is connected to a multiprocessor bus (10). A second microcomputer (9, 9') is applied on a board (8) forming or constituting a fault location equipment. The fault location equipment applied on the board is being connected to the multiprocessor bus connection by inserting the board in a used board holder. The second microcomputer is usable to test the program in the first microcomputer when being run.

Description: ARRANGEMENT FOR COMMUNICATING A PROGRAM FROM A HOST COMPUTER TO A TARGET COMPUTER TECHNICAL FIELD The present invention relates to an arrangement for eliminating the need of connecting and utilizing a separate emulator between a host computer and a first microcomputer in connection with developing in the host computer a program intended for the first microcomputer. After programming the host computer the program is communicated to the first microcomputer, whereby a fault location is to be carried out in the communicated program. PRIOR ART In developing microcomputer based real-time systems, a separate emulator has so far been used in connection with programming the microcomputer during a simultaneous test. The emulator has among other things the quality of not inappropriately loading the program during the fault location therein ("test overhead"). A well-known separate emulator has the configuration of a double-process system, in which the system is run with one processor and supervised and tested with the second microcomputer. DESCRIPTION OF THE INVENTION TECHNICAL PROBLEM In developing a program there is a need for any kind of programming test support. The present-day emulator provides such a support. There is, however, a need for providing more technically simple and economic solutions for making possible a program development in a bigger computer of programs for a microcomputer simultaneously as an expedient fault location of the program in question can be effected. THE SOLUTION The present invention has as its main object to provide an arrangement solving the problems stated in the above paragraph. What can thereby be considered characterizing for the new arrangement is that it comprises a multiprocessor bus to which the first microcomputer is connected or connectable and that there is applied on a board an equipment provided with a second microcomputer and executing the fault location, the equipment by inserting the board in a used board holder being connectable with said bus so that the program communicated in the first microprocessor is fault locationable by means of the second microcomputer while running the first microcomputer. In further developments of the inventive idea it is suggested that said equipment in the board should comprise a function for detecting the function course of the first microcomputer so that setting of break points in the program of the first microcomputer can take place. Said break points should, in a way known per se, consist of such entries in the program where the software performance characteristics is not being affected during the run. In a further preferred embodiment it is suggested that the second microcomputer should be arranged to set physical addresses corresponding to the various parts of the program in the hardware of the first microcomputer. However, what can essentially be considered characterizing for the invention appears from the characterizing portion of the subsequent claim 1. ADVANTAGES Due to the invention an established multiprocessor bus system can be utilized. Examples of such systems are the commercially available systems "MULTIBUS" and "VME". The fault location equipment applied on the board is easily connectable to the bus system, like the first microcomputer, and when running the first microcomputer its program developed in the host computer can be fault located by means of the fault location executing equipment on the board. The last-mentioned equipment can be designed in a way known per se with a well-known hardware and a well-known program. DESCRIPTION OF THE DRAWINGS A presently suggested embodiment of an arrangement disclosing the characteristic features of the invention will be described below with reference to the enclosed drawings in which Fig. 1 in a skeleton diagram form discloses the connecting in connection with programming in a host computer a program for a target machine, Fig. 2 in a skeleton diagram form discloses the machine equipment in accordance with the invention, used in connection with the programming, and Fig. 3 in a skeleton diagram form discloses the connection to a multiprocessor bus system of the microcomputer, the program of which is to be fault located and the fault location equipment included on the board characteristic of the invention. THE PREFERRED EMBODIMENT In Fig. 1 a bigger computer, e.g. a computer of the type VAX, is designated 1 and a target computer 2. The latter has the form of or comprises a first microcomputer 3. The target computer and the microcomputer, respectively, can consist of units known per se. Developing a program for the microcomputer 3 is carried out by programming in the computer 1 and the developed program is communicated via a connection 4, 4' to the first microcomputer 3 where it is to be tested with regard to faults. It is essential that the fault location in the program of the first microcomputer can be carried out during running the program in the first microcomputer so that the fault location is not experienced as affecting the run of the program. So far, there has for this purpose been utilized a separate emulator 5, which in a known embodiment comprises two microcomputers 6 and 7. The fault location is carried out in a way known per se and will therefore not be described more closely here. In accordance with the invention and Fig. 2, it should be possible to carry out a programming and a fault location despite the lack of the separate emulator 5. The bigger computer 1 1 is connected to the target computer 2' and the first microcomputer 3', respectively, via the connection 4", correspondingly. In this case, a special board 8 with equipment for the fault location function is included in the target computer 2' . Said equipment is represented by a second microcomputer 9. The fault location equipment comprises the hard ware and the program necessary for carrying out the fault location during running the first microcomputer 3' without the performance characteristics of the program of the first microcomputer being affected inappropriately. In accordance with the invention a multiprocessor bus connection should be used. In Fig. 3 such a connection is designated 10. The connection can consist of a bus connection known per se, e.g. of the type "MULTIBUS", "VME", etc. The first microcomputer 3" is connected to the bus connection 10. This connection can be done in a way known per se, e.g. by inserting a board 3a (see Fig. 2) in a board holder in a way known per se. Also the second microcomputer 9' is correspondingly connected to the connection by its board 8 being correspondingly inserted and connected. The equipment on the board 8 comprises hardware and a program for detecting the function course of the first microcomputer and for setting break points in the program of the first microcomputer. This function and detection can be carried out in a way known per se. In the second microcomputer 9, physical addresses in the program and hardware of the first microcomputer, corresponding to various parts of the program, can be detected on the bus connection also in a way known per se. In this way it is possible to get knowledge of the real appearance and structure of the hardware on the set physical adresses. The invention is not limited to the above exemplifying embodiment, but can be subjected to modifications within the scope of the subsequent claims and the inventive idea.

Claims: CLAIMS 1. Arrangement for eliminating the need of connecting and utilizing between a host computer (1, 1') and a first microcomputer (3, 3', 3") a separate emulator (5) in connection with developing a program in the host computer (1, 1') intended for the first microcomputer (3, 3', 3") and communicating the program to the first microcomputer and fault location in the communicated program, c h a r a c t e r i z e d in that it comprises a multiprocessor bus (10), to which the first microcomputer (3, 3', 3") is connected, and in that there is applied on a board (8) an equipment provided with a second microcomputer and executing the fault location, the equipment by inserting the board in a used board holder being connectable to said bus (10) so that the program communicated in the first microcomputer (3, 3 1 , 3") is fault locationable be means of the second micro computer (9) while running the first microcomputer. 2. Arrangement according to claim 1, c h a r a c t e r i z e d in that said equipment on the board (8) comprises a function for detecting the function course of the first micro computer for setting break points in the program of the first microcomputer, the break points constituting such entries in the program that the software performance characteristics is not being affected during the run. 3. Arrangement according to claims 1 or 2, c h a r a c t e r i z e d in that the second microcomputer (9) is arranged to indicate physical adresses corresponding to the various parts of the program in the hardware of the first microcomputer (3, 3', 3").

Inventors: CONRADI BENGT, CONRADI, BENGT
Applicants: TELEVERKET
Application year: 1987
Main classification: G06F11
IPC codes: G06F11