WO1993025957A1 - Information processing apparatus and additional control device used therefor, and information processing method therefor - Google Patents

Information processing apparatus and additional control device used therefor, and information processing method therefor Download PDF

Info

Publication number
WO1993025957A1
WO1993025957A1 PCT/JP1992/000781 JP9200781W WO9325957A1 WO 1993025957 A1 WO1993025957 A1 WO 1993025957A1 JP 9200781 W JP9200781 W JP 9200781W WO 9325957 A1 WO9325957 A1 WO 9325957A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
processor
processing
control device
information
Prior art date
Application number
PCT/JP1992/000781
Other languages
French (fr)
Japanese (ja)
Inventor
Ken-Ichi Wakabayashi
Chitoshi Takayama
Tadashi Shiozaki
Original Assignee
Seiko Epson Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corporation filed Critical Seiko Epson Corporation
Priority to PCT/JP1992/000781 priority Critical patent/WO1993025957A1/en
Publication of WO1993025957A1 publication Critical patent/WO1993025957A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K2215/00Arrangements for producing a permanent visual presentation of the output data
    • G06K2215/0002Handling the output data
    • G06K2215/0005Accepting output data; Preparing data for the controlling system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K2215/00Arrangements for producing a permanent visual presentation of the output data
    • G06K2215/0002Handling the output data
    • G06K2215/002Generic data access
    • G06K2215/0022Generic data access characterised by the storage means used
    • G06K2215/0025Removable memories, e.g. cartridges

Definitions

  • TECHNICAL FIELD An information processing apparatus, an additional control apparatus used for the same, and an information processing method.
  • the present invention relates to an information processing device including various electronic devices and an additional control device mounted thereon, an additional control device used in the information processing device, and an information processing method thereof. Regarding the configuration to receive well and how to process the received information.
  • Devices based on such digital logical operations are not only capable of more flexible control and data processing than simple feedback control and the like realized only with a window, but also have a soft There is an advantage that the substantial function can be changed by changing the key. Therefore, even in the same door, simply changing the contents of R0M that stores the processing procedure or loading a new program from the external device such as a flexible disk into the main memory can be performed. However, it is possible to realize completely different control. Furthermore, there is an advantage that the purge of functions can be performed only by changing the software.
  • the ability of the processor to actually perform the processing is ultimately determined by the hardware, for example, the number of processings per time, the number of bits that can be handled at one time, and the bus width for transferring data.
  • the software version up is only limited to the improvement of usability at most, The ability of existing electronic devices could not be significantly improved.
  • purging up due to software changes often requires ROM replacement if the software is burned to R0M, which is often difficult in practice. . For this reason,
  • Purging software is difficult except for the model whose ROM is scheduled to be replaced from the beginning of the design, except that the software is supplied on a replaceable medium such as a flexible disk. Was.
  • consumer electronic devices such as printers, facsimiles, electronic notebooks, electronic musical instruments, electronic cookers, and electronic cameras that incorporate microprocessors, or automotive electrical components, robots, and machine tools
  • improvements and changes in functions are not considered at all, and even if an extension connector 4 is provided, only data is read. It is common to provide a connector that is limited to the functions described above. This problem will be explained in detail using a page printer as an example.
  • a printer having a resolution of about 240 to 800 DPI and a printing capability of several pages per minute has been developed.
  • Such a printer uses a zero graph unit using a photosensitive drum as an engine for printing, and is used for charging, Since the processes of exposure, toner application, and transfer are performed continuously in synchronization with the rotation of the photosensitive drum, one page of image is stored in memory and the printing process is started.
  • the memory for image expansion provided in the page printer needs a capacity to store at least one page of images in the memory, and if image data is not compressed.
  • Printers that receive information such as character codes and line and column pitch as print data and develop them as images, or receive programs written in page description language
  • the printer that interprets and expands the image requires processing to calculate and generate bit images based on the print data, which greatly reduces the overall processing speed compared to simple bit image transfer.
  • the processing speed of the printer is mainly determined by the processing capability of the processor and the access time of the memory, etc., greatly increasing the printing capability of the zero graph unit itself. It is below.
  • the image development ability may be less than the capability of the zero graph unit, and with the improvement of microprocessor technology, processors with high image development ability may be used. Enhance functionality later as they become available I wouldn't do that.
  • Some page printers have an expansion slot prepared in advance, and the functions are to be expanded by installing a font or cartridge with a built-in font here. With a certain force, the data bus structure of the slot connector is read-only from the cartridge side, so data can be transferred to the cartridge side for processing. Did not.
  • the additional control device, the information processing device, and the information processing method of the present invention are intended to solve such a problem and to improve, change, and add the overall capability of the electronic device.
  • the present invention relates to a configuration in which an additional control device mounted on an electronic device receives data directly from the outside through communication and performs processing, and an information processing device including the electronic device with the additional control device mounted thereon In this case, there is an effect that the data can be processed on the additional control device side.
  • the additional control device can directly receive and process data that was conventionally processed by the electronic device, and the functions of the electronic device could be improved or added. Or can be changed.
  • This invention made as an information processing device,
  • a first processor capable of performing a logical operation, first storage means for storing processing executed by the processor, and a signal line capable of exchanging data with the first processor.
  • An electronic device having a connector;
  • An additional control device connected to the connector of the electronic device
  • An information processing apparatus comprising:
  • a communication means for receiving data from an external device In the additional control device, A communication means for receiving data from an external device
  • a second processor that performs processing different from that of the first processor, and at least a processing procedure that the second processor executes on data received via the communication means.
  • Second memorized storage means Second memorized storage means
  • Data output means for outputting the data processed by the second processor to the electronic device
  • the gist is to have
  • the additional control device receives data from an external device through the communication means, and the second processor performs the first processing in accordance with the processing procedure stored in the second storage means. Performs processing different from that of the processor and outputs it to the electronic device. Therefore, the information processing device in which the additional control device is added to the electronic device can realize processing different from that of the electronic device. It can also receive and process data that the electronic device could not receive.
  • the data received from the outside by the communication means includes data having a property different from the data that can be processed by the first processor of the electronic device, and the second storage means has the property It is also preferable to store a procedure for processing data having different numbers.
  • data that could not be handled by the electronic device can be processed as an information processing device.
  • the second storage means in the additional control device stores the information for the page description language. Storing the interpreter makes it possible to handle it.
  • the additional control device may include processing information output means for outputting information on the processing of the data to the electronic device while the second processor is performing the processing on the data.
  • the processing information output means may output at least one of the amount of processed data, the name of the data being processed, and the remaining processing time as information relating to the data processing.
  • the electronic device can know information on the processing of the additional control device.
  • the electronic device may include a console panel for displaying predetermined information, and the information output by the processing information output means of the additional control device may be displayed on the console panel of the electronic device. If The user can easily know the information on the processing of the additional control device.
  • Such information may include, for example, operation information of a console panel provided in the electronic device and color information of the electronic device.
  • the signal line connected to the connector of the electronic device includes at least a part of the address signal line of the first processor, and the data bus connected to the connector is the first. If it is configured to be read-only from the perspective of the processor, it is difficult to send data from the electronic device to the additional control device as it is, but the electronic device sends information to be output. It is assumed that the address to be accessed is reflected, the read processing is performed on the address, and in response to the read processing, the additional control device extracts the information contained in the address. For example, data can be sent to the additional control device using a read-only bus.
  • the additional control device includes a RAM for storing the program, program expansion means for expanding the data received by the communication unit into the RAM as a program, and a predetermined address of the expanded program.
  • a control transfer means for transferring control of the second processor can be provided, and a program sent from outside through communication can be executed by the additional control device.
  • Such programs include a program for debugging the additional control device, a program for modifying the processing procedure for data processing stored in the second storage means, and a program for processing higher than the processing procedure for data processing.
  • a program that implements the processing procedure of a function can be considered.
  • the additional control device has a connector capable of adding memory, and the connector has a ROM or a data storing a processing procedure to be executed on the data received through the communication means. It is also preferable to install a memory card provided with a RAM capable of storing evenings.
  • the additional control device is provided with third storage means for storing the processing executed by the first processor of the electronic device, and the electronic device is provided with the third storage means in the additional control device. It is conceivable to provide a means for transferring the control of the first processor to the stored processing at a predetermined timing. In this case, the processing performed by the electronic device can also be prepared on the additional control device side. Can be realized.
  • This invention made as an additional control device,
  • a first processor capable of performing a logical operation, an additional control connected via a connector provided in the electronic device to an electronic device including first storage means storing processing executed by the processor;
  • a second processor that performs processing different from that of the first processor, and at least a processing procedure that the second processor executes on data received via the communication unit is stored.
  • a second storage means
  • Data output means for outputting the data processed by the second processor to the electronic device
  • the gist is to have
  • the additional control device receives data from an external device through communication means, and the second processor performs processing different from that of the first processor according to the processing procedure stored in the second storage means. This is output to the electronic device. Therefore, when this additional control device is added to the electronic device, it is possible to realize a process different from the process realized by the electronic device itself as a whole.
  • the additional control device can have various configurations as described in the section of (1) Invention as information processing device.
  • the invention made as the information processing method
  • a first processor capable of performing a logical operation, an electronic device including first storage means for storing processing executed by the processor, and a first processor connected to the electronic device via a connector; An information processing method performed in cooperation with an additional control device having a second processor that performs processing different from that of the first processor.
  • the second processor performs a process on the data received by the communication according to a processing procedure stored in a second storage means readable from the second 'processor.
  • the additional control device directly receives data from an external device through communication, so that data that cannot be received by the electronic device can be processed.
  • This information processing method can also have the various configurations described in the section “(1) Invention as information processing device”.
  • the information processing device, additional control device, and information processing method described above can be applied to various devices.
  • the electronic device is a printer that expands print data received from the outside and prints the data.
  • the additional control device is a cartridge mounted on the connector of the printer, and the second storage means interprets the print data received via the communication means and expands the image data.
  • a configuration for storing an interpreter in a page description language is possible.
  • the connector of the electronic device which is a printer that expands the print data received from the outside and prints it, in the form of a force trigger
  • the second storage means interprets the print data received via the communication means and interprets the image data.
  • a configuration is possible in which an interpreter in a page description language that develops overnight is stored. Furthermore, as an information processing method,
  • An additional control device mounted in the form of a cartridge on the connector of the electronic device interprets print data received directly from the outside through communication using a page description language interpreter stored internally, and stores image data. And expand
  • the electronic device can be configured to receive image data and perform printing.
  • the present invention can be applied to equipment other than a printer.
  • a communication means for digital communication is provided on the additional control device side, and up to the G3 standard.
  • the facsimile that can only be processed by the G4 is compatible with the G4, and it is applied to the electronic musical instrument. It is possible to apply to other devices.
  • FIG. 1 is a schematic configuration diagram of a printer device according to one embodiment of the present invention.
  • FIG. 2 is a block diagram showing a configuration of the electronic control unit 10 built in the printer main body 1 of the embodiment.
  • FIG. 3 is a perspective view showing an external shape of the cartridge 3 and a state of attachment to the printer main body 1.
  • FIG. 4 is a block diagram schematically showing the internal configuration of the cartridge 3.
  • FIG. 5 is a flowchart showing the processing on the cartridge 3 side.
  • FIG. 6 is a block diagram showing another configuration for performing communication.
  • FIG. 7 is a block diagram showing still another configuration.
  • FIG. 8 is a block diagram showing a modification of the first embodiment.
  • FIG. 9 is a perspective view showing the appearance of the laser printer 500 of the second embodiment.
  • FIG. 10 is a perspective view showing the shape of another laser printer 500.
  • FIG. 11 is a block diagram showing the overall configuration of the second embodiment.
  • FIG. 12 is a perspective view showing the outer shape of a cartridge 503 in the second embodiment.
  • FIG. 13 is an exploded perspective view showing the structure of the cartridge 503. FIG.
  • FIG. 14 is a perspective view showing an array of elements of the cartridge 503 on the substrate.
  • FIG. 15 is an explanatory diagram showing a configuration of a signal line in the connector CN 11.
  • FIG. 16 is an explanatory diagram showing an address map of the cartridge 503 viewed from the electronic control device 501 side.
  • FIG. 17 is an explanatory diagram showing an address map of the cartridge 503 as viewed from the microprocessor 601 side.
  • FIG. 18 is a block diagram showing the internal configuration of the cartridge 503.
  • FIG. 19 is a block diagram illustrating the configuration of the communication control unit 604.
  • FIG. 20 is a circuit diagram showing a configuration example of the interrupt request register 640.
  • FIG. 21 is a circuit diagram showing a configuration example of the polling command register 643.
  • FIG. 22 is an explanatory diagram showing the contents of the status register 645.
  • FIG. 23 is a circuit diagram showing a configuration example of the read control circuit 620.
  • FIG. 24 shows an electronic control unit for realizing data transfer using the read control circuit 620.
  • FIG. 25 shows a cartridge for realizing data transfer using the read control circuit 620.
  • FIG. 26 is a flowchart showing processing on the electronic control device 501 that realizes data transfer using the FIFO control circuit 623.
  • FIG. 27 is a flowchart showing processing on the cartridge 503 side for realizing data transfer using the FIFO control circuit 623.
  • FIG. 28 is a circuit diagram showing a configuration example of the double bank control circuit 624.
  • FIG. 29 is a flowchart showing a process for starting data transfer using the double bank control circuit 624.
  • FIG. 30 is a flowchart showing the response processing on the electronic control device 501 side.
  • FIG. 31 is a flowchart showing a process on the electronic control device 501 that realizes data transfer using the double bank control circuit 624.
  • FIG. 32 is a flowchart showing processing on the cartridge 503 side for realizing data transfer using the double bank control circuit 624.
  • FIG. 33 is a timing chart showing the timing of printing image data performed by controlling the laser engine 505.
  • FIG. 34 is a flowchart showing a processing routine for changing the set value stored in the EEPROM. -
  • FIG. 1 is a block diagram showing a schematic configuration of a printer main body 1 of the present embodiment and a cartridge 3 mounted on the printer main body.
  • the printer main body 1 has a connector 6 for connecting to a computer 5, and normally receives data for printing from the connector 6.
  • the cartridge 3 is provided with a connector 7 for a high-speed oral communication network (LAN), and is connected to a LAN cable 8.
  • LAN high-speed oral communication network
  • Ethernet trademark of Xerox Corporation
  • a work station 9 is connected to the local area network, and the cartridge 3 can receive data directly from the work station 9. The communication between the cartridge 3 and the workstation 9 will be described later.
  • the printer main body 1 is a so-called page printer of a zero graph method, and forms an image on a sheet of paper P by a zero graph method based on print data.
  • the electronic control unit 10 that inputs print data and develops images inside the printer body 1, the connector 11 to which the address bus and data bus of the electronic control unit 10 are connected, and the electronic control unit 10.
  • the Xerographic unit 15 is a charging unit 25 that charges the surface of the photosensitive drum 14 and the toner that has been charged by the laser beam from the semiconductor laser device 12 is coated with the toner itself.
  • the electronic control device 10 drives the semiconductor laser device 12 in synchronization with the rotation of the photosensitive drum 14 and irradiates a portion corresponding to an image to be printed with laser light to form a latent image. Since the charge at the portion irradiated with the laser beam is lost, the toner charged to the same sign as the photosensitive drum 14 is transferred only to the portion where the charge is lost.
  • One sheet of paper P is pulled out of the paper cassette 17 in synchronization with the rotation of the photosensitive drum 14, and is sent to the photosensitive drum 14 by the transport mechanism 19. Since the paper P is conveyed while being sandwiched between the photosensitive drum 14 and the transfer roller 30, most of the toner on the photosensitive drum 14 is transferred onto the paper P. The paper P is sent to the heat fixing roller 21 while holding the toner on the surface, where it is heated to melt the toner and fixed on the paper P.
  • the printing process in the printer main body 1 has been briefly described above, the present invention is not limited to the laser printer. For example, an LED is used for exposing the photosensitive drum 14.
  • the present invention can be applied to various printers, such as those used and those employing an ink jet method for printing.
  • C PU 3 is a process Tsu service that performs overall process It is configured as an arithmetic and logic operation circuit centered on 1 and has a configuration in which the following elements are mutually connected by an address bus 32, a data path 34, a control signal bus 36, and the like. Connected to these paths are the address decoder 41, ROM43, dynamic RAM (hereinafter referred to as DRAM) 45, and memory control unit (hereinafter referred to as MCU). 47, IZO port 49, laser IZF 51, connector 11 and so on.
  • DRAM dynamic RAM
  • MCU memory control unit
  • Each element is connected to each bus in a readable and writable manner.
  • the connector 11 has a bus driver 52 provided between it and the data bus 34, and when viewed from the CPU 31, Force trigger 3 connected to connector 11 is a read-only device.
  • the address decoder 41 decodes an address signal generated by the CPU 31.
  • the ROM decoder 43 decodes the ROM 43, according to the allocation to the memory space. Select signals are output to DRAM 45, I / O port 49, and laser I / F 51.
  • the ROM 43 has a built-in processing program, and the CPU 31 normally operates according to the program stored in the ROM 43.
  • the DRAM 45 is for expanding image data, and since it is necessary to store at least one page of image data, the DRAM 45 has a capacity of 2 megabytes in this embodiment.
  • the MCU 47 analyzes the control signal output from the CPU 31 and outputs a control signal such as R0M43, DRAM45, etc., and reads the memory and I / O port read / write signal. Output and determine the refresh timing of DRAM45.
  • the MCU 47 is connected to a refresh timer 53, which receives a signal from the refresh timer 53 and uses a refreshable timing. If it is determined that there is, the MCU 47 outputs a refresh address and outputs the refresh address to the DRAM 45 via the multiplexer 55.
  • the I / O port 49 receives print data from an external computer 5 and interfaces with a motor (not shown) of the zero graph unit 15.
  • the laser I / F 51 is connected to a cartridge 3 that drives the semiconductor laser device 12 and controls an interface with the semiconductor laser device 12.
  • the electronic control unit 10 further includes a timer 57, which is connected to the connector 11 and the CPU 31.
  • the basic functions of the printer body 1 equipped with the electronic control unit 10 are the print data (pre-developed in the bit image) received from the external computer 5 via the IZO port 49.
  • the printer body 1 of the present embodiment uses the cartridge connected to the connector 11 as an extended function to perform higher-level printing. be able to.
  • a font cartridge in which fonts are stored, is described in an existing cartridge, such as one in which a program for interpreting a page description language is stored.
  • a cartridge 3 with a built-in processor described later can be connected.
  • FIG. 3 shows the external shape of the cartridge 3 of this embodiment.
  • the cartridge 3 is to be mounted on a connector mounting portion 61 provided on the printer body 1, and its appearance is inserted into the connector mounting portion 61.
  • the side of the printer body 1 has a rectangular parallelepiped shape, while the part of the printer body 1 Has become.
  • the connector at the rear end of the cartridge 3 fits into the connector 11 and both are electrically connected. Is done.
  • the step of the cartridge 3 is in a position almost in contact with the housing of the printer body 1.
  • the front part of the cartridge 3 that protrudes out of the housing of the printer body 1 has an inclined upper surface, so that other articles cannot be inadvertently placed on it.
  • FIG. 4 shows the internal configuration of the cartridge 3 as a block diagram.
  • the cartridge 3 includes therein a CPU 71 which is a different processor from the CPU 31 of the electronic control unit 10 of the printer body 1.
  • This CPU 71 is of a RISS type suitable for processing of a page description language and the like.
  • the CPU 71 address bus CAD and control signal bus CCT switch the ROM 73 with a built-in page language processing program, the RAM 75 for storing data, etc., and the address path of the CPU 71. It is connected to a gate array 77, a serial I / O port (SIO) 78 for controlling communication, and a latch 79 for latching data.
  • the output of the latch 79 is connected to the data input D of the first unidirectional buffer 87.
  • the S1078 is connected to the LAN connector 7 via the communication receiver 82 and the driver 84, and is exchanged by the control signal line directly connected to the connector 7.
  • the control data is used to receive data for printing from another device connected to the local area network, for example, the workstation 9.
  • the address bus P of the electronic control unit 10 is attached to the connector 90 of the cartridge 3.
  • AD, read-only data bus PD, interrupt signal line IA, and signal line TB of timer 57 are connected.
  • the address bus PAD is connected to the address decoder 80 and R0M86, and the data bus PD is connected to the first and second unidirectional buses and the data output side of the software 87 and 88. It is connected to the.
  • the output of the first and second buffers 87 and 88 is controlled by a control signal from the address decoder 80.
  • the address decoder 80 analyzes the address from the CPU 31 of the electronic control unit 10 and judges that the access is to the ROM 86, the address of the buffer 88 is determined. Navel edge The control signal is output to the child 0 E to enable the output of the buffer 88, while if it is determined that the access is to the latch 79, the control signal is output to the enable terminal 0 E of the buffer 87. To make the output valid. Therefore, either the contents of the ROM 86 or the data held in the latch 79 are output to the data path PD by the access from the CPU 31 of the electronic control unit 10.
  • the cartridge 3 stores the control of the CPU 31 of the electronic control unit 10 in the ROM 86. Can be transferred to a program. Moreover, by executing the program, the CPU 31 in the cartridge 3 can directly read the data prepared in the RAM 75 by the CPU 31. This point will be further described.
  • the electronic control unit 10 When the cartridge 3 is mounted on the printer body 1 and the power is turned on, the electronic control unit 10 performs a predetermined initialization process, and then performs a predetermined initialization process. Performs processing to read address data. This address is the address that was harmed to the cartridge slot, and if a cartridge is installed, the installed cartridge is The prepared data is read out according to the type (font cartridge or program cartridge). In the case of a program cartridge as in the case of the cartridge 3, the CPU 31 of the electronic control unit 10 recognizes this and controls the R on the cartridge 3 side. 0 ⁇ Move to 86. Specifically, it jumps to a specific address in the address area allocated to R0 ⁇ 86, and executes the program stored at the address and below.
  • the CPU 71 of the cartridge 3 receives data from the local area network by the interrupt processing based on the request from the SI 078 together with the processing shown in FIG. Processing is always being executed.
  • the received data is sequentially stored in a predetermined area of the RAM 75, and is repeatedly executed until data indicating completion of a series of data transfer is received.
  • the data that the cartridge 3 receives from the workstation 9 or the like via the local area network is written in a page description language, for example, a postscript (by Adobe). Trademark) (Script).
  • Completion of data transfer is defined as a command specific to these page description languages (for example, "SH0WPAGE" in postscript).
  • the CPU 71 When detecting the completion of the data transfer, the CPU 71 activates the processing routine shown in FIG. 5, first stores predetermined data in the latch 79, and outputs an interrupt signal IA to perform electronic control. The device 10 is notified that there is data to be transferred (step S91).
  • Electronic control device 10? 31 executes a program stored in the ROM 86, so that an interrupt processing program corresponding to the interrupt signal IA is supplied together with the cartridge 3.
  • an address corresponding to the latch 79 is accessed, and the data prepared by the CPU 71 is read. By analyzing this data, the CPU 31 of the electronic control unit 10 can know that the cartridge 3 is currently developing data in a page description language.
  • the CPU 71 interprets the script stored in the RAM 75 by using a page description language interpreting program (page description language interpreter) stored in the ROM 73, and generates an image image.
  • a generation process is performed (step S92).
  • the developed image image is stored in a predetermined area of the RAM 75.
  • the CPU 71 sets the predetermined data on the latch 79 again, outputs an interrupt signal IA, and outputs the CPU signal of the CPU 10 of the electronic control unit 10 again. 31 notifies the completion of the image image development (step S93).
  • the process of transferring the image image to the electronic control unit 10 is started, and is continued until the transfer of all the image data is completed (steps S94 and S95).
  • the transfer of image data is performed sequentially by setting the data in the latch 79 and outputting the interrupt signal IA.
  • the CPU 71 sets the data indicating the completion of the transfer of the image data to the latch 79 again and outputs the interrupt signal IA (step S96). N EXT ”to end this routine.
  • the electronic control unit 10 accesses the predetermined address every time it receives the interrupt signal IA, and the image held in the latch 79 is The image data is received one byte at a time, and this data is sequentially stored in a predetermined area of the DRAM 45.
  • the image data developed by the cartridge 3 is stored in the DRAM 45 of the electronic control unit 10. ing. Therefore, the electronic control unit 10 drives the zero graph 15 according to the image data, and performs a process of printing an image on the paper P. In this state, since the CPU 31 of the electronic control unit 10 is executing the program stored in the ROM 86 in the cartridge 3, the printer 1 is connected to the connector Normal processing for receiving data from the computer 5 via the printer 6 and performing printing cannot be performed.
  • the connector 11 provided in the electronic control unit 10 includes a processor suitable for image processing.
  • the carts wearing the re Tsu di 3 having, moreover other equipment this carts Li Tsu di 3 connected to Rokarue Li Ane Tsu preparative work, workstation shea s emissions 9 Karabe over di described in here It can receive scripts written in a language and print on paper P. Therefore, the following effects can be obtained.
  • the cartridge 3 is provided with a CPU 71, and the CPU 71 interprets data received via the local area network to develop an image. Therefore, the processing capability of the page description language is significantly improved compared to the case where the processing program of the page description language is simply supplied by the cartridge 3. It is also possible to supply a higher-level page processing language in cartridge 3.
  • the printer main body 1 can be used by connecting to an Ethernet which is not originally provided.
  • the print trigger 3 directly receives the print data from the workstation 9, so there is no need to transfer the data from the printer body 1 to the cartridge 3. It can be used with existing printers that are not going to be equipped with a cartridge with a sensor. Facilities, including the ability to support new communication protocols Can be used effectively.
  • the printer becomes the bottleneck of the system, so it is necessary to replace the entire printer with the improvement of the functions of the computer.
  • FIG. 6 is a block diagram showing the configuration of the communication unit 200 that can also handle high-speed communication.
  • the configuration shown is for the Centronics-compliant interface X—the connector 210 has eight bits of data D1 through D8 and a strobe as input signals.
  • the signal STB is connected to the busy signal BUSY and the error signals Err and ⁇ as output signals.
  • the communication unit 200 includes a latch 211 holding data D1 to D8, and a FIF 0 memory 211 and FIF 0 for storing / reading data in a fast-in / fast-out order.
  • a 16-bit 3-state buffer 217 with the 8-bit output of memory 2 15 connected to the lower 8 bits, and a link to these latches 21 2 It has a gate array 220 that outputs the read signals FR and FW to the touch signals LA and FIF 0 memory 2 15 and the control signal RB to the 3-state buffer 21 ⁇
  • the gate array 220 also outputs an output signal BUSY to the connector 210.
  • the signal FF indicating that the FIF 0 memory 215 is full is sent to the gate array 220, while the FIFO memory 215 is empty.
  • the indicated signal FE is output to a predetermined upper bit of the 3-state buffer 217, respectively.
  • the read side of FIF 0 memory 2 15 The CPU 71 outputs a predetermined address signal via the address bus PAD, so that data is read out and the 3-state buffer 21 7 Output is enabled. Therefore, the CPU 71 can read the data and the signal FE output from the FIF 0 memory 2 15 via the data bus CD.
  • the data sending side refers to the busy signal BUSY of the connector 7, stops the busy signal becoming inactive, outputs the data to be transferred, and outputs the timing when the data is established.
  • the gate array 220 activates the latch signal LA and latches the data D1 to D8.
  • the FIFO write signal FW is activated, and this data is stored in the FIFO memory 215. Write.
  • the gate array 220 When the writing of data to the FIFO memory 215 is completed in this way, the gate array 220 outputs a busy signal unless the FIFO memory 215 is full, that is, unless the signal FF is active. BUSY is inactive. In this way, data is transferred from the external device one after another.
  • the CPU 71 accesses the address assigned for reading the FIF0 memory 215 at a predetermined timing.
  • Gate array 220 receives the address signal and activates FIFO read signal FR and buffer control signal RB.
  • the CPU 71 sets the data in the FIF 0 memory 215 to the lower 8 bits and sets the signal FE to the upper predetermined bit. Since data can be read, if data remains in FIF 0 memory 215, this is determined and the lower 8 bits may be stored in RAM 75 as data.
  • the error signals E rr, PE, etc. which are the outputs of the gate array 220, are also assigned predetermined addresses as viewed from the CPU 71, so that these signals can be controlled as necessary. It is. According to the communication unit 200 described above, data transferred from an external device can be received at high speed. Moreover, since the FIFO memory 215 is used for data transfer, data transfer between the external device and the CPU 71 can be completely cut off. For example, the CPU 71 It is easy to perform complex processing such as receiving the next image script while developing. Note that if the operation of the FIFO memory 2 15 is sufficiently fast, the latch 2 12 can be omitted.
  • the communication unit 200 is realized by wire logic.
  • the communication unit 200 may be realized by using a one-chip micro computer 310 with a built-in ROM, RAM, and the like. Easy.
  • the address signal PAD output from the CPU 71 is analyzed by the address decoder 312, and one of the outputs of the address decoder 312 is The other terminal is connected to the enable terminal of the data buffer 315, and the others are connected to the input terminals of the three sets of R / S flip-flops 317, 318, 319.
  • the RZS flip-flops 317 to 319 are used for controlling the busy signal BUSY and the error signals Err and PE, respectively.
  • one chip microprocessor 310 combines the functions of the gate array 220, the latch 212, and the FIF 0 memory 215 of the communication unit 200 shown in FIG. It takes in the signal from the connector 330 connected to its input port, and converts this data into a 3-state data according to the address signal PAD and control signal CCT given by the CPU 71. The data is output to the data bus CD via the file 315. The signal FE indicating that the communication data is valid is output to a specific upper bit of the data output to the data bus CD, and the lower 8 bits at that time are valid data as shown in FIG.
  • the configuration is the same. It should be noted that a configuration may be adopted in which 2-byte data is synthesized inside the one-chip micro-channel opening sensor and output as one-word data.
  • the display configuration (display section 400) shown in FIG. includes a dual-port memory 410, a display control device 420, and a liquid crystal display 430.
  • the dual-port memory 410 replaces part or all of the RAM 75 in the configuration of FIG. 6, and is used for storing image memory.
  • the CPU 71 interprets the image data generated and interpreted according to the page description language interface, and outputs necessary signals via an address bus CAD, a data bus CD, and a control signal bus CCT to form a dual port. Store in a predetermined area of memory 410.
  • the display control device 420 outputs an address signal IA for reading data serially from the dual port memory 410, and outputs serial data output from the dual port memory 410.
  • the ID is input, converted to a video signal VD, and output to the liquid crystal display 430 together with the synchronization signal SYF.
  • various types of display devices such as an EL panel, a plasma display, and a small CRT can be used.
  • the cartridge 3 is provided with the liquid crystal display 430 so that the image data generated by the CPU 71 can be checked before printing using the printer body 1. Therefore, before printing on paper P, it is possible to check the image to be printed from now on, and if it is possible to cancel the printing at that point in time, if there is a wasteful mistake due to the description mistake of the page description language, etc. Printing of images can be prevented. Note that a small thermal transfer printer or the like can be used as the display device. In this case, it is possible to obtain an overview of the image by printing at a high density at a high speed before printing the fine image by the printer body 1.
  • a display device for displaying a video signal is widely used in the world, it is preferable to adopt a configuration including a connector for outputting a video signal to the outside. In this case, the display of the cartridge 3 can be omitted. Further, it is conceivable that the image data read by the display control device 420 from the memory 410 is output to an external computer using a communication line or directly, and is displayed on the display device.
  • FIGS. 9 and 10 are perspective views respectively showing a state where the cartridge 503 is inserted into the first and second types of printer main bodies 500a and 500b.
  • the printer body is simply referred to as a laser printer 500.
  • the cartridge 503 is provided with a connector 508, and print data from an external workstation 507 is directly input to the cartridge 503.
  • the laser printer 500 uses a zero graph unit similarly to the printer main body of the first embodiment. As shown in FIG. 11, a portion where printing is performed using a photosensitive drum is a laser engine 505. And independent.
  • the electronic control unit 501 which controls the entire laser printer 500, sends commands to the laser engine 505 via the connector CN10 and transfers image data to a predetermined buffer to perform printing. You can do it.
  • a well-known CPU (MC 68000 manufactured by Motorola in the present embodiment) 510 and a ROM 501 storing programs to be executed by the CPU 501 are provided inside the electronic control unit 501 as shown in the figure.
  • the console panel 518 has six operation switches 518a operated by the user and a liquid crystal display 518b capable of displaying 16 characters (8 characters x 2 lines). It is provided.
  • the double buffer circuit 520 has eight lines for printing by the laser engine 505, In other words, two RAMs 520 A and 520 B having a storage capacity of 4 Kbytes are provided, and image data is alternately sent from the CPU 510 through the memory writing controller 520 C. Write. On the other hand, the laser engine 505 alternately reads out the two RAMs 520A and 520B via the memory readout controller 520D, so that the image data is video-synchronized with the rotation of the photosensitive drum. It can be converted to signals and printed. The reason why the two RAMs 520A and 520B are provided to write and read data alternately is that access from the CPU 510 and access from the laser engine 505 side must be performed independently.
  • the CPU 510 After writing data to one RAM, the CPU 510 flags a predetermined bit of the register 517. In response, the laser engine 505 checks this flag and reads out the image data stored in the RAM on which the data is written. During a read, another bit is set in register 517 to inform CPU 510 which RAM is being read. At this time, since the other RAM is not accessed from the laser engine 505, the CPU 510 writes the next eight lines of image data into the other RAM during this time. When reading from one of the RAMs is completed, the laser engine 505 resets the flag and switches to reading from the other RAM. The speed at which data is written from the CPU 510 is faster than the speed at which data is read from the laser engine 505, ie, the speed at which printing is performed. The transfer of image data for the page and evening is reliably and easily realized.
  • a cartridge 503 is mounted on the connector CN 11 of the electronic control device 501.
  • the relationship between the laser printer 500 and the cartridge 503 mounted thereon is the same as in the first embodiment. It is determined whether or not it is mounted on connector CN11, and if it is determined that it is mounted, reset the inside of electronic control unit 501, etc. Jump to a predetermined address of the ROM (described later) prepared in the 503, and thereafter execute the processes prepared in the cartridge 503 in order.
  • the cartridge 503 interprets the program written in the page description language output from the workstation 507, converts the program into image data, transfers the image data to the electronic control unit 501, and transmits the image data to the laser engine.
  • the point that printing is performed by 505 is the same as in the first embodiment.
  • FIG. 12 is a perspective view showing the structure of a printer cartridge according to one embodiment of the present invention
  • FIG. 13 is an exploded perspective view thereof.
  • the cartridge 503 is designed as a cartridge to be inserted into the font cartridge insertion slot of the printer body.
  • the cartridge 503 is provided with a connector 508 on the side opposite to the side where the cartridge is inserted into the cartridge insertion slot, and print data is directly transmitted from the workstation 507 connected to the connector 508. It has a function of receiving print data and expanding the received print data into image data.
  • the cartridge 503 is a multilayer printed circuit board 550 (hereinafter simply referred to as a “printed board”) between an upper case 100 having a concave interior and a lower case 120 having a plate shape.
  • the lower cap 140 and the upper cap 150 are attached to the connector side of the cartridge 503.
  • the upper case 100, the upper cap 140 and the lower cap 150 are made of ABS resin, and the lower case 120 is made of aluminum.
  • a conductive layer is formed on the inner surface of upper case 100, and forms a frame ground together with lower case 120.
  • the conductive layer on the inner surface of the upper case 100 is formed by electroless copper / metal plating.
  • the conductive layer may be formed by using other well-known methods such as coating of a conductive paint and vacuum deposition of aluminum.
  • the upper case 100 may be manufactured by molding a conductive plastic.
  • the side with the caps 140 and 150 is called the front of the cartridge, and the side with the microprocessor 601 is called the back of the cartridge.
  • a plug portion 551 is formed in front of the printed circuit board 550, and a circuit element such as a microprocessor 601 is mounted behind.
  • a circuit element such as a microprocessor 601 is mounted behind.
  • Four ground panel members 104 are fixed to the periphery of the printed circuit board 550, two of which are located at the center of the cartridge in the insertion direction, and the other two are attached to the cartridge. It is provided behind the lid.
  • Panel member 104 has a role of electrically connecting the ground wiring of print substrate 550 to the conductive layer on the inner surface of upper case 100.
  • two earth panel members 122 for securing an earth connection with the printer body are fixed.
  • the grounding panel member 122 has a shape in which a bird spreads its wings, and the first bent portion 122a corresponding to the left and right wing portions is bent upward and corresponds to a bird leg portion.
  • the second bent portion is bent downward in a semi-arc shape.
  • the first bent portion 122a has a role of electrically connecting the lower case 120 and the ground wiring of the printed board 550.
  • the second bent portion projects out of the cartridge 503 from the opening 132 provided in the lower case 120, and electrically connects the ground portion of the printer body to the lower case 120.
  • a fitting portion 124 having a wall shape protruding from the flat plate portion 121 is provided on a peripheral edge of the lower case 120.
  • the fitting portion 124 is fitted to the side surface of the upper case 100 to form a main structure of a substantially rectangular parallelepiped housing.
  • a cylindrical pressing silicone rubber 126 for pressing the printed circuit board 550 upward is fitted into a rubber holding portion 128 on the inner surface of the lower case.
  • the pressing silicone rubber 126 has a role of pressing the print substrate 550 directly below the microprocessor 601 upward.
  • a sheet-like heat-dissipating silicone rubber 102 is inserted to improve the adhesion and thermal conductivity. Be mounted. Further, an aluminum heat sink 110 is fixed to the lower case 120 with screws so as to cover the upper part of the micro processor 601.
  • the micro processor 601 When the pressing silicone rubber 126 presses the printed circuit board 550 upward, the micro processor 601 is also pressed upward, and the micro processor 601 and the heat radiating silicone are pressed. The adhesiveness between the corn rubber 102 and the radiating silicon rubber 102 and the radiating plate 110 is increased. As a result, the heat generated in the micro-channel sensor 601 is conducted to the lower case 120 via the heat sink 110, and is radiated to the outside from the lower case 120.
  • ground panel members 122 are fixed to the lower case 120, and then the pressing silicone rubber 126 is fitted into the rubber holding portion 128.
  • various circuit elements are mounted on the printed circuit board 550, and four grounding panel members 104 are inserted into predetermined holes of the printed circuit board 550, and each of them is soldered. Fix with.
  • the printed circuit board 550 is placed on the lower case 120, and the rear side (micro Secure the corners of processor 60 1) with screws.
  • the heat sink 110 is fixed to the # 1 surface of the fitting portion 124 of the lower case 120 with a screw.
  • the upper case 100 is fitted to the lower case 120, and the lower cap 140 is inserted.
  • the through holes 1 41 of the two screws provided in the lower cap 140 are inserted under the corresponding portions of the upper case 100, and the through holes 1 of the lower cap 140 are inserted.
  • the plug portion 55 1 penetrates through 42.
  • the upper case 100 is fixed with screws at three places on the front side. Finally, by inserting the upper cap 150 into the upper case 100, a cartridge 503 as shown in FIG. 1 is completed.
  • buttons openings 154 each containing a spring 152 therein.
  • the button lock 154 is urged outward by the panel 154.When the two button locks 154 are pressed inward, the button lock 154 engages with the upper case When the button lock 154 is released, it engages with the engaging part.
  • FIG. 13 also shows the IC card 502.
  • the IC card 502 is an extension memory having a large number of dynamic RAMs, and can be inserted into the cartridge 503 as needed.
  • first remove the upper cap 150 and insert the IC card 502 into the expansion memory slot 106 provided in the upper case 100.
  • the IC card 502 is inserted into the IC card connector 210 in the print substrate 550.
  • the upper cap 150 is attached, it returns to the original shape shown in FIG.
  • the removable upper cap 150 is removed so that the IC card 502 can be inserted, the memory can be easily expanded.
  • the IC card 502 cannot be inserted when the cartridge 503 is inserted into the laser printer body. It is ingenious.
  • FIG. 14 is a perspective view showing the print substrate 550 in an enlarged manner.
  • a connector 508 is attached to the rear end of the upper surface of the printed circuit board 550 so as to be adjacent to the micro processor 601, and the other end is connected to the connector of the printer main body.
  • An insertion plug portion 551 for connection is formed.
  • the microprocessor 601 four ROMs 606 to 609, which store control programs for the microprocessor 601, etc., four address buffers 61, 17, and a clock Oscillators 66 1 and 665 are arranged respectively.
  • an IC card connector 502a is provided slightly forward from the center of the print substrate 550.
  • an ASIC application-specific LSI
  • R0M processing memory
  • the microprocessor 601 is a device of the type of a pin grid array (PGA), and the others are devices of the SOJ type, the SOP type or the QFP type.
  • the microphone opening processor 601 for example, Am 29030 (clock frequency 25 MHz) manufactured by AMD, which is a RISC processor, is used.
  • the cartridge 503 is inserted into the font cartridge insertion slot of the printer body.
  • a normal font cartridge is simply a type that contains a ROM that stores font data.
  • the cartridge 503 of this embodiment includes a microprocessor 601 and ROMs 606 to 609 storing a processing program of the microprocessor 601. It is characterized by having a ROM for the printer body, a control circuit including an AS IC, and a communication circuit. Details of the communication circuit will be described later.
  • the connector on the printer main body side into which the cartridge 503 is inserted is configured to be connected to the font cartridge, so data is stored in the cartridge.
  • a read-only line is provided to read data from the printer to the printer main unit, but there is no signal line for transferring data from the printer to the cartridge.
  • the print data is received from the external workstation 507 via the connector 508, and the print data is received by the microprocessor 601.
  • the data is expanded to data and transferred to the electronic control unit 501 of the printer main unit, but has a function of receiving some data from the electronic control unit 501 as well. At this time, specific data is printed using the read-only line of the connector. It is necessary to transfer the data from the main unit to the cartridge. For this reason, special processing is performed by the micro processor of the main unit as shown below.
  • the processor inside the printer will start the printer when the printer starts up, and the identification data stored in the printer ROM in the cartridge 503.
  • the CPU 510 in the printer main body performs processing according to the processing program in the printer main body ROM 606 to 609 in accordance with the identification data.
  • the CPU 510 in the main body of the printer executes a special process according to the processing program in the ROM 606 to 609 for the main body of the printer.
  • This special processing is to generate an address that substantially contains data for one hundred and one address, put this address on the address path, and print the cartridge from the printer body. This is the process of notifying the 503.
  • the power ASIC receives the address and decodes it to extract one word of data contained in the address.
  • the microprocessor 601 can know various information of the electronic control device 501 based on the data stored in the RAM. For example, the operation information of the console panel 518 needs to be known by the microprocessor 601 of the cartridge 503, and by receiving such data, the cartridge 503 becomes necessary. Processing can be performed.
  • the microprocessor 601 it is preferable to use a processor that is faster than the printer itself. In this way, the image processing to be executed by the printer main body is performed by the high-speed micro processor 601, so that the processing speed of the printer can be substantially improved.
  • the circuit in the cartridge 503 and details of its operation will be further described later.
  • the cartridge of this embodiment has the following measures against electromagnetic noise.
  • a conductive layer was formed on the inner surface of the upper case 100 made of plastic, and the lower case 120 was made of aluminum. As a result, a conductive layer is formed over the entire inner surface of the housing of the cartridge, and electromagnetic noise is blocked.
  • a wall-shaped fitting portion 124 is provided on the periphery of the lower case 120, and the upper case 100 was fitted. As a result, the outer peripheral surface of the fitting portion 124 and the conductive layer on the inner surface of the upper case 100 were overlapped to prevent electromagnetic noise.
  • the signal ground and frame ground are connected at both ends and the center of the plug 551, and are emitted from the through hole 142.
  • the wavelength of the electromagnetic noise was reduced (the frequency was increased). This has reduced electromagnetic noise in harmful wavelength ranges that are subject to regulation.
  • the cartridge 503 also uses the following general measures against electromagnetic noise.
  • a decoupling capacitor was installed near the GND pin and power supply pin of each circuit element.
  • FIG. 15 shows signal names corresponding to each terminal of the plug section 55 1. Note that the symbol r / j added before the signal name indicates that the signal is low-active. The meaning of each signal is as follows.
  • Signal / AS B Address strobe signal output from CPU 510 (MC 68000 manufactured by Motorola).
  • Signal ZUDS Upper data strobe signal output by CPU510.
  • the address strobe auxiliary signal ZADS behaves differently for different types of printers when the printer is started (initialized).
  • Signal ZOD TAC K An output signal for transferring data from the cartridge 503 to the electronic control unit 501 side.
  • Signal / CTR GSEL The cartridge selection when the CPU 510 selects the cartridge 503 and accesses the ROM 56, register, etc. allocated to the internal address space. Signal.
  • Signals A1 to A20 Address signals output by CPU510.
  • Signals D1 to D15 Output signals from the cartridge 503 side.
  • Signal SCLK Clock signal output from an oscillator (not shown) built into laser printer 500.
  • the signal / CTRGS applied to the laser printer 500 is lowered to the L level when the cartridge 503 is inserted, and the CPU 510 causes the cartridge 503 to Detects that it is inserted into connector CN11.
  • the CPU 510 specifies the word address using the 23-bit address signals A1 to A23, and uses the signals / UDS and / LDS to specify the upper byte and lower byte of each word. Specify the As a result, the CPU 510 can handle a 16-Mbyte address space from OOOOOOOH to FFFFFFh. Here, the symbol "h" added after the address indicates that the value is represented in hexadecimal.
  • the cartridge 503 is allocated to a part of an address space handled by the CPU 510 of the electronic control device 501.
  • the CPU 510 is capable of handling a 16 Mbyte address space from OOOOO Oh to FFFFF Fh; a part of it is allocated for ROM cartridges.
  • the space allocated to the cartridge 503 depends on the model of the laser printer, but it does not depend on the laser printer. In the case of a laser printer manufactured by Auckard Co., Ltd., as shown in the left column of FIG. 16, a 2 MB space such as 200,000h to 3FFFF Fh or 40,000 Oh to 5FFFFFh is usually used.
  • the microprocessor 601 installed inside the example power trigger 503 is AMD 29030—25 MHz manufactured by AMD, and the addressable The space is 4G bytes from OOOOOOO Oh to FFFFFFF Fh.
  • this address space not only R0M and RAM but also various registers and the like used for exchanging data with the electronic control device 501 on the printer side are allocated. This is shown in Figure 16.
  • the electrical configuration inside the cartridge 503 will be described together with the allocation of the address space for both microprocessors.
  • Fig. 18 shows the internal configuration of the cartridge 503.
  • the cartridge 503 is mainly composed of a micro processor 601 which controls the entire system, and is roughly divided into a memory section 602 comprising ROM, RAM and its peripheral circuits.
  • a data transfer control unit 603 that controls all data exchange with the electronic control unit 501; a communication control unit 604 that performs data communication with an external workstation 507; and other circuits. ing.
  • the memory unit 602 includes a 2M-Pit ROM 606 to 609 for storing a program to be executed by the micro processor 601 and a selector 6 for using the ROM 606 to 609 for puncturing switching.
  • 10 2M bytes of RAM 61 1 to 61 4 for storing print data received from the electronic control unit 501 and for storing image data after expansion.
  • the ROMs 606 and 607 and the ROMs 608 and 609 each constitute a bank, and one set of two banks constitutes a 32-bit data pass each.
  • the ROMs 606 to 609 and the microprocessor 601 are connected by an address bus AAB and a control signal bus. Further, the data bus IDB of the ROM 606 to 609 is connected to the data bus DB 29 via the data selector 610, through which the microprocessor 601 can read data from the ROM 606 to 609. It can be.
  • the data is read from ROMs 606 to 609 at the same time, and if the data is actually read continuously, the bank to which the ROM belongs is sequentially switched by the data selector 610 and the data is read continuously. is there. As a result, data reading for two consecutive words is extremely fast.
  • an additional 2 Mbytes of memory can be added, and an extended RAM interface 615 is provided for this purpose.
  • the extended RAM interface 615 is allocated from 20200000h to 203FFFFFFh in the address space.
  • a maximum of 2 Mbytes of IC card type RAM can be installed via the IC card connector 502 a.
  • the data lines of the RAM 61 1 to 61 4 and the extended RAM interface 615 are directly connected to the data bus DB 29 of the microprocessor 601, and the address lines control the data transfer. It is connected to the address bus AAB of the micro processor 601 via the unit 603.
  • the I / O of various registers, etc., described later, is allocated from 80000000h in the address space.
  • the communication control unit 604 mainly includes a communication control LSI 604a, and is connected between the data bus DB29 and the data terminals D0 to D7 of the communication control LSI 604a.
  • the controller 604c which controls the timing of data transfer with the server 601, and the line buffers 604e, f, and the 25MHz operation clock connected to the communication input / output of the communication control LSI 604a. From the D-type flip-flop 604 h that generates the operation clock PCLK of the communication control LSI by dividing the clock CLK, and the crystal oscillator 604 i that generates the basic clock RTXCA for communication It is configured.
  • the communication control LSI 604a is 85C30 manufactured by Zilog.
  • the controller 604c is configured using a programmable logic array, receives a signal from the micro processor 61 as an input signal, and controls the communication control LSI 604a and the bidirectional buffer 604c.
  • the control signal to b is an output signal.
  • the controller 604c receives, as input signals, address signals A11 and A31 from the address bus AAB and a request signal for the memory space to which the communication control unit 604 is assigned.
  • the output signals include an output direction instruction signal for the bidirectional buffer 604b, an enable signal ZC E for the bidirectional buffer 604b and the communication control LSI 604a, and a communication control LSI 604.
  • a read signal / RD for a, a write signal / WR similarly, and a ready signal RDY to the microprocessor 601 are generated.
  • the ready signal RDY of the communication control unit 604 is logically ORed with the ready signal of another circuit by the NOR gate 6 16, and this is taken as the ready signal ZR DY and the micro processor 60 1 Is output to
  • the ready signal is a signal for notifying the micro processor 601 that the communication control unit 604 has established data on the data bus DB 29 in response to access from the micro processor 601.
  • the address signal A3 of the address path AAB is used as a signal AZB that specifies the two-channel communication port built in the communication control LSI 604a, and is also used as the address signal A3.
  • the dress A2 is used as a signal C / D indicating whether the data on the data bus is communication data or a command to the 85C30.
  • the register SCCCTLB is a control register on the B channel side of the communication control LSI 604a
  • the register SCCDABT is a data register for the B channel.
  • the register SCCCT LA is a control register on the A channel side of the communication control LS1604a
  • the register SCCDATA is a data register for the B channel.
  • Each of the channels A and B is internally treated as a plurality of registers by the data written in the control registers SCCCT LA and B, and the data registers SCC DATA and B is treated as both an input and output data register according to the value written to the control register.
  • one byte of data is output from the microprocessor 601 to the data path DB 29, and when the output port of the channel A is designated and a write operation is performed, the bidirectional communication is performed.
  • This data is received via the buffer 604b, and is output to the outside via the line buffer 604f as serial data.
  • serial data is received from the outside via the line buffer 604 e, a read operation in which the input port of the A channel is specified from the microprocessor 601 is received. Then, the received data is output as a parallel signal to the data bus DB 29 via the bidirectional buffer 604b.
  • the print data transferred from the external work station 507 by the communication control block 604 is stored in a predetermined area of the RAM 611 to 614 of the data transfer control unit 603, and is processed by the microprocessor 601. wait.
  • the micro processor 601 starts the program stored in the ROM 606 to 609, and executes a predetermined process in the RAM 611 to 614.
  • the print data stored in the area is processed.
  • the image is developed by such processing, and the developed result is stored as image data in a predetermined area of the RAMs 611 to 614.
  • the cartridge 503 of this embodiment is connected to the electronic control unit 50 of the printer 500.
  • the first 512 Kbytes are assigned a ROM (ROM6 18 shown in FIG. 18): ⁇ . That is, the cartridge 503 also includes a program executed by the CPU 501 of the electronic control device 501, and the CPU 510 of the electronic control device 501 includes the cartridge 503. If is mounted, after the initialization processing is completed, a jump instruction to a predetermined address of the ROM 618 is executed. Thereafter, the CPU 510 operates according to the processing procedure stored in the ROM 618.
  • the CPU 510 accesses the 512 MB space from the beginning of this 2 MB space allocated to the cartridge 503, the cartridge 503's connector evening address bus
  • the ROM 618 is accessed by an address signal output via the address buffer 617 provided in the CAB, and the instructions and data stored in the ROM 618 are transferred to the data bus CDB on the connector side.
  • the data is sent to the CPU 510 of the electronic control unit 501 via the data buffer 610 provided in the CPU.
  • “X” indicates the value of the four most significant bits of the head address of the allocated space.
  • addresses other than those to which R0M and RAM are assigned contain various control registers and status registers. I have. Since these registers are realized by the data transfer control unit 603, the data transfer control unit 603 will be described next. Although the explanation of the circuit is the main, refer to the address map (Figs. 16 and 17) as appropriate.
  • the data transfer control unit 603 shown in FIG. 18 is an ASIC realized by a gate array having about 29,000 gates. This device is a gate array of model number SLA929S, manufactured by Seiko Epson, and is a low power consumption device made by the CMOS process.
  • the data transfer control unit 603 was designed using a CAD system ASIC design system “LAD SNET” manufactured by Secepson. This CAD system uses a library of elements such as latches, flip-flops, counters, and programmable logic arrays used in logic circuit design. After the necessary logic circuit is designed using these, patterns for AS IC can be automatically generated.
  • the data transfer control unit 603 implemented as an AS IC includes a cartridge 503 mounted on the connector CN 11 of the printer 500 and a CPU of the electronic control unit 501 of the printer 500. It controls data exchange between the microprocessor 501 and the microprocessor 601 of the cartridge 503. Data exchange between the two is performed by a read control circuit 620 for transmitting data from the electronic control device 501 to the cartridge 503 via a read-only data bus, as in the FIFO memory. This is realized by a FIFO control circuit 623 that transfers data via the 621 and a double-bank control circuit 624 that enables data prepared by the cartridge 503 to be read from the electronic control device 501 side.
  • the FIF0 memory 621 is a RAM for storing and reading data in a fast-in-first-out procedure, and in this embodiment, HM 63921 manufactured by Hitachi, Ltd. was used. It is also possible to use other FIFO memories such as Mitsubishi Electric M66 252 FP.
  • the data transfer control unit 603 has an address bus CAB as a signal line with the electronic control unit 501 via an address buffer 6 17, and a data bus CDB with a data buffer. Each is connected via 6 19.
  • the data transfer control unit 603 receives the signal of the address bus CAB and the signal CSEL of the cartridge select, and outputs a selection signal to each unit in the data transfer control unit 603. 631 are configured.
  • the address bus AAB and the control signal CCC from the micro processor 601 are also connected to the data transfer control section 603, and the address path is provided in the data transfer control section 603.
  • a second decoder 632 that receives the AAB and outputs a selection signal to each internal circuit is configured. Further, upon receiving the address path AAB and the control signal CCC, the address is transferred to the ROM 606 to 609, the RAM 611 to 614 and the extended RAM interface 615.
  • a bus control unit 635 that outputs signals and control signals is also configured.
  • various registers are configured in the data transfer control unit 603, and reading and writing to the registers are performed by a special read / write operation in addition to the normal read / write operation. Not a few are automatically written when certain processing is performed. The configuration of these special registers will be described later.
  • a register that can be written from the electronic control device 501 side is a predetermined register. The data is written by reading from the address. That is, by specifying a predetermined address, a selection signal is output from the first decoder 631, and data is written to the register by this signal. Reading from the register is performed in a normal read cycle.
  • registers are depicted connected to a readable bus, and write operations are indicated by simple arrows.
  • Such registers include an interrupt request register 640, a polling and command register ( Figure 16, POLL) 643, and a status register ( Figure 16).
  • the interrupt request register 640 includes the registers AMDINTO, 1,2 and the register AMDCLO, 1,2 shown in FIGS. Further, the polling command register 643 includes a register POLL and a register MCONTCS. To the PROM control register 649, registers EEPSCS, EEPSK, and EEPDI belong.
  • the control register 650 is a register that does not belong to the read control circuit 620, the FIFO control circuit 623, or the double bank control circuit 624, and all registers not mentioned in the above description belong to the control register 650. These are the registers ADDMUX A, ADDMUXB, CLKDIV, RTCCAL, RTCON, and RTCSEL shown in FIGS. 16 and 17.
  • the area WR 0 and EWWR 1 are areas used for writing from the electronic control unit 501 side to the first and second word latches 65 1 and 652 of the read control circuit 620, respectively.
  • the registers EWRD O and EWRD 1 shown in the map correspond to the latches 65 1 and 652 as viewed from the side of the micro processor 601 with 1 as each mode.
  • the register FIF OR ST, FIF OWR corresponds to the FIFO register 653 of the FIFO control circuit 623, and the registers FIRC LK, FIF 0 RD correspond to the FIFO read register 655 of the FIF 0 control circuit 623.
  • the FIFO control circuit 623 also includes a latch 657 for holding data to be written to the FIF 0 memory 621.
  • the area indicated by the symbols D PRAMA and DP RAMB in FIG. 16 is a buffer having a capacity of 256 bytes (128 words), and the first and second buffers of the double bank control circuit 624.
  • the keys 658 and 659 correspond to those viewed from the electronic control unit 501 side.
  • the punctures DPWROA and DPWROB shown in Fig. 17 are seen from the microprocessor 601 side of the buffers 658 and 659.
  • the predetermined bits d1 and d2 of the status register 645 are also used for data exchange via the double bank control circuit 624, the details of which will be described later.
  • the interrupt request register 640 is a register that generates a request for an interrupt from the electronic control unit 501 to the microprocessor 601, and holds the request. There are three levels of interrupts from the electronic control unit 501 to the microprocessor 601. As shown in Fig. 16, three registers (AMD INT 0, 1, 2) are provided. Yes ⁇ By reading any of the interrupt request registers 640 from the electronic control unit 501 side, an interrupt request to the micro processor 601 is generated. The setting of this register is performed by a read operation from the electronic control unit 501, but the data to be read has no meaning and is not related to the generation of the interrupt request.
  • FIG. 20 shows a specific configuration example of the interrupt request register 640.
  • This register consists of three D-type flip-flops. Each flip-flop is hereinafter referred to as an interrupt request register 640a, b, or c.
  • the output terminals Q of the interrupt request registers 640 a, b, and c are set to the active blow by the signals ZAMD INT 0, 1, and 2 output from the first decoder 631 by the register reading operation. Set and the interrupt signals / INTO, 1, 2 are output.
  • the registers that clear the outputs of these interrupt request registers 640a, b, and c are, as shown in Figure 17, three read-only registers (AMD CLRO, 1, 2). Assigned to a given address. Therefore, when a read operation is performed from the microprocessor 601 to each address to which this register is assigned, the second decoder 632 outputs signals / INTC LR 0, 1, 2 respectively, The flip flops that are activated are preset.
  • any one of the interrupt request registers 640 may be accessed, and the micro processor 601 determines the priority and determines the interrupt request. Perform processing corresponding to. In this case, the microprocessor 601 clears the corresponding interrupt request register 640a, b, c.
  • a signal starting with the symbol “P UP”, such as the signal P UP 2 is a signal output from the reset signal output circuit 637 and is a signal that goes low at the time of reset or the like.
  • Signal PUP 2 shown in FIG. 18 is a signal for clearing three interrupt requests at once.
  • the polling command register 643 is a register that transfers a command from the microprocessor 601 to the electronic control unit 501, and is writable from the microprocessor 601 and is an electronic control unit. 50 Register evening that can be read from the 1st side.
  • Figure 21 shows an example of the configuration of this register on the hard disk.
  • the polling command register 643 comprises two octal D-type flip-flops 643a, b, and 1 that form a 16-bit wide data latch. D-type flip-flops 643c.
  • the data bus DB 29 (bus width 16 bits) from the micro processor 601 is connected to the data input terminals 1 D to 8 D of the octal D-type flip-flops 643 a and b.
  • the output terminals 1Q to 8Q are connected to a data bus DB 68 (path width 16 bits) from the electronic control unit 501 side.
  • the access to the polling command register 643 from the micro processor 601 side is connected to the clock terminal CK of the D-shaped flip-flop 643 a, b.
  • the signal / MC 0 NTCS and the signal / P 0 LL are connected to the clock terminal C and the preset terminal PR of the D-type flip-flop 643c, and the output terminal
  • the signal CMD RD from Q is set to a high level when data is latched by octal D-type flip-flops 643 a and b (signal ZMC 0NT CS is low).
  • this data is read from the electronic control unit 501 (the signal ZPLL is low), it is reset to a low level.
  • CMDRD which is the output signal of the D-type flip-flop 643c
  • d3 hereinafter, also referred to as a flag CMDRD
  • the electronic control unit 501 sets the command to the polling command register 643 from the micro processor 601. I can know that.
  • the electronic control unit 501 uses a normal read cycle to set the polling command register.
  • the contents of the command include an instruction to start transfer of print data to the data transfer control unit 603, an instruction to start printing, and a message to be displayed on the console panel 518.
  • the electronic control unit 501 reads the contents of the polling command register 643, as shown in FIG.
  • the output signal CMDRD of the D-type flip-flop 643c is inverted to a high level by the signal ZP0LL. Therefore, the my mouth processor 601 monitors the predetermined bit d2 of the transfer flag register 647 to determine whether or not the command output by itself is read by the electronic control device 501. You can know.
  • the status register 645 is a register that holds the information shown in FIG. 22 in addition to the information indicating whether the command has been set from the microprocessor 601 or not. The contents of each bit will be described.
  • the bit d0 is a signal EWRDY generated in the read control circuit 620 when data is written from the electronic control unit 501 to the first word latch 651 of the read control circuit 620 described later. Is set to low level, and when the data is read by the microprocessor 601 side, it is reset to high level by a signal from the second decoder 632. This bit is called the flag EWRDY 0.
  • the bit d4 is set to a low level by a signal EWRY1 generated in the read control circuit 620 when data is written from the electronic control device 501 to the second lead latch 652.
  • EWRY1 generated in the read control circuit 620 when data is written from the electronic control device 501 to the second lead latch 652.
  • the data is read by the micro processor 601, it is reset to a high level by a signal from the second decoder 632. This bit is called flag EWRDY 1.
  • Bits dl and d 2 indicate whether the double bank control circuit 624 is accessible from the electronic control unit 501 side or the micro processor 60 1 side, and the flags ADDMUXA, Called ADDMUXB.
  • the two bits correspond to each of the two transfer banks included in the double bank control circuit 624.
  • These bits d1 and d2 are the bits of the registers AD DMUXA and ADDMUXAB that the microprocessor 601 uses, as shown in FIG. 16, the registers included in the control register 650. Set / reset by writing data to dO. Therefore, the micro processor 601 sets this flag to low level before writing data to one puncture of the double bank control circuit 624, and resets it to high level after writing is completed. If the electronic control unit 501 reads data from the bank on the side where this flag is at a high level, it is necessary to write and read data alternately in the two banks. Microprocessor 60 Data can be continuously transferred from one side to the electronic control unit 50 1 side.
  • Bit d3 (flag CMDRD) has already been described.
  • Bit d5 is a flag CLKDIV set based on the operation clock of microprocessor 601.
  • the operation clock of the microprocessor 601 uses the clock CLK output from the first oscillator 661 using the external crystal oscillator CRC1, but the microclock is used.
  • the operation clock CLK of the microprocessor 601 becomes 25 MHz, Writing a value of 1 to bit dO results in an operating clock of 12.5 MHz.
  • Electronic control unit 50 Status register viewed from the 1st side Flag at 645 CL KD IV is set to low level when this clock CLK is 25 MHz, and is set to high level when 12.5 MHz. Is set to If the electronic control device 501 needs to know the operating clock frequency, that is, the operating speed of the micro-processor 601 in order to match the timing of data transfer, etc. Check this bit of the register 645.
  • Bit d6 is a flag ADM0N that is set high when microprocessor 601 is operating and is set low when sleep mode is entered.
  • the microprocessor 601 receives the page description language from the electronic control unit 501 and performs processing for developing the page description language into image data. If a predetermined time has elapsed without sending a page description language, the microprocessor 601 sets the operating frequency to 1/2, that is, 12.5 MHz in order to save power. If more time passes, it stops its operation and enters the so-called sleep mode. At this time, the microprocessor 601 writes the value 0 to the register ADM0N of the control register 650. As a result, when viewed from the electronic control unit 501 side, this bit d6 of the status register 645 becomes a low level, and by checking this bit from the electronic control unit 501 side, the micro processor It is possible to know the 60 operation modes.
  • a real time clock incorporated in the data transfer control unit 603 is used for such time measurement and the like.
  • Clock RC for this real-time clock As the LK, a clock from a second oscillation circuit 667 configured using an external crystal oscillator 665 is used.
  • the rear time clock is configured in the bus control unit 635, and measures an elapse of a predetermined time in response to an instruction from the micro processor 601.
  • the two sets of crystal oscillators and oscillators are provided so that the operation clock CLK of the microprocessor 601 can be changed independently of the real-time clock operation clock RCLK. That's why.
  • the real-time clock can specify four types of inter-part timers by setting the dl bit of the registers RT CVAL and RTCSEL belonging to the control register 650 to low or high.
  • the timer can be started by writing a value of 1 to the predetermined bit d0 of the register RTCON.
  • the started timer outputs an interrupt request signal to the micro processor 601 at a predetermined interval until a value of 0 is written to the bit dO of the register RTCON and the timer is stopped. I do.
  • the microprocessor 601 Upon receiving this interrupt request signal, the microprocessor 601 reads the register RTCCLR and clears the interrupt request. The output of these interval timers is used for counting user time in page description language processing.
  • the PROM control register 649 includes the three registers EEPCS, EEPSK, and EEPD I shown in FIG. 17, and these registers are memories stored in the cartridge 503. This is used for exchanging data with EEPROM 670, which is electrically erasable and rewritable.
  • the cartridge 503 of this embodiment stores various variables (configuration) necessary for the operation of the laser printer 500 in the EE PROM 670.
  • the EE PROM 670 is of a type in which data is read, erased, and written by serial transfer. In this embodiment, the NM C 93 C 66 X manufactured by National Semiconductor Co., Ltd. You are using 3.
  • the EEPROM 670 has a storage capacity of 16 bits x 256 bits (the number of registers), and can read, erase, and write the contents of any specified register. When the EE PROM 670 is selected by the chip select signal CS, it is sent to the serial data input terminal Din “0”.
  • the data of ⁇ 1 is fetched in synchronization with the serial data clock SL, but the first three bits of the data transfer are interpreted as an instruction to EEPR 0 ⁇ , and the next eight bits are transferred. Is interpreted as the register number where data is read, erased or written. In the case of writing data, following these instructions and register designation, data to be stored is given to the data input terminal Din in synchronization with the serial data clock SL. Become.
  • the register EEPCS switches the chip select signal.
  • the register EEPSK is a register that generates a serial data clock SK.
  • the microprocessor 601 writes the value 0 and the value 1 to this register alternately, Generate serial data clock for EPROM670.
  • the register EEPDI is a register that holds 1-bit data to be written to the EE PROM 670.
  • the micro processor 601 rewrites the register EEPSK and rewrites the serial data clock SK. In synchronization with the generation of the data, the predetermined bit d0 of the register EEPD I is rewritten according to the data to be written.
  • the data output terminal D 0 ut of the EEPROM 670 is the predetermined bit d O of the transfer flag register 647 described above, and the micro processor 601 reads data to the EE PROM 670. After outputting the instruction and the register number to be read, read the bit dO of the transfer flag register 647 in synchronization with the serial data clock SK to read the contents of the specified register. Can be.
  • the data stored in the EE PROM670 because also be saved as the power is turned off immediately after turning on the power to Rezapuri te 500, Read out the contents of the EE PROM670, the co-Nfu I Gureshi 3 down It can return to the state immediately before the power was turned off.
  • the read control circuit 620 includes a first word latch 651, consisting of 8 bits ⁇ 2 latches 651a and 651b, and an 8bit ⁇ 2 latches 652a, As shown in Figure 23, with a second latch 652 consisting of 652b.
  • the data input terminals 1D to 8D of the latches 651a, b and the latches 652a, b constituting the first and second word latches 651, 652 are connected to the connector side. 16 bits (AC1 to AC16) of the address line from the address bus CAB are connected, and the output terminals 1Q to 8Q are connected to the data bus DB29. Lines DO or D15 are connected.
  • the output of OR gate 672 is connected to the clock terminals CK of latches 651a and b, and the output of OR gate 673 is connected to the clock terminal CK of latches 652a and b. Each is connected.
  • the outputs of these gates 672 and 673 are also connected to clock terminal C of D-type flip-flops 674 and 675, respectively.
  • the output enable terminal 0 E of each latch 65 1 a, b has a signal E WR DO, and the output enable terminal 0 E of latches 652 a, b has a signal / E WRD 1 Are connected to each other.
  • These signals ZEWRD 0 and EWRD 1 are connected to the preset terminals PR of the D-type latches 674 and 675.
  • the signal / EWWR 0 and signal ZAD S are connected to each input terminal of the 2-input OR gate 672, and the signal ZEWWR 1 and signal ZAD S are connected to each input terminal of the 2-input OR gate 673, respectively.
  • the signal / ADS is an address strobe auxiliary signal generated based on the address strobe signal ZASB.
  • the signal ZEWWR 0 is a signal that goes low when transfer of one word is specified by the read control circuit 620
  • the signal ZEWWR 1 is a signal 1 that is different from the one in the previous word. This signal goes low when a code transfer is specified.
  • the signal obtained by ANDing the signal ZEWWR 0 and the signal ZEWWR 1 with the signal / ADS with negative logic is the clock of the first word latch 65 1 and the second word latch 65 2, respectively. Since these signals are activated since they are input to the terminal CK, the address AC1 or AC1 output to the address bus CAD when these signals are activated 6 is retained in the first word latch 651 or the second word latch 652.
  • the output of OR gates 672 and 673 is D-type flip-flop 674,
  • the outputs EWRDY 0 and EWRDY 1 are bits dO and d4 of the status register 645 described above, and bits dl and d4 of the transfer flag register 647, ie, the flags EWRDY O and EWRDY 1 Is treated as
  • the first and second latches 65 1 and 652 When the readout control circuit 620 is viewed from the electronic control unit 501 side, the first and second latches 65 1 and 652 occupy an area of 128 KB each as shown in FIG. It corresponds to two registers E WWR 0 and EWWR 1. Accessing the specified addresses in these areas results in the transfer of 1 word and 16 bits of data, respectively.
  • the first and second word latches 65 1 and 652 correspond to the one-word registers EWRD O and EWRD 1 shown in FIG. 17 when viewed from the microprocessor 601 side. Both the word latches 65 1 and 652 are accessed as one word from both the CPU 510 and the microprocessor 601 via the data bus DB 68 or the data bus DB 290. be able to.
  • the first word latch 65 1 and the second word latch 652 are treated as the registers EWRD O and EWRD 1 from the microprocessor 601 side, so the first word latch 65 1 and the second word latch 652 are treated as the first word latch 651.
  • microprocessor 601 performs a read operation on register EWRD0 or EWRD1.
  • the signal ZEWRD0 or EWRD1 becomes reactive, and this signal is the first or second word latch 651, which is connected to the output enable terminal OE.
  • the previously held address (actually, data) is output to the output side of the 652, that is, the data bus DB 29.
  • These signals ZEWRD O and ZEWRD 1 are D-type flip-flops 674 and 674.
  • the data of the first word latch 65 1 and the second word latch 652 are read from the micro processor 60 1 side, and
  • the signal EWR which is the Q output of the type flip-flops 674 and 675 DY 0 and EWRDY 1 are inverted to high level. That is, the bits d0 and d4 of the status register 645 and the flags EWRDY O and EWRDY1 of the bits d1 and d4 of the transfer flag register 647 are set to the value 1.
  • the electronic control unit 501 and the microprocessor 601 transfer data from the electronic control unit 501 to the microprocessor 61 in the following procedure.
  • the data transferred from the electronic control unit 50 1 to the -microprocessor 60 1 side is limited information such as operation information of the console panel 518. If a computer different from the workstation 507 is connected to the data input port 5 14 of 1, information such as print data received from this computer can also be provided. In this case, the print data is a program of a page description language, and is processed by the micro processor 601 on the cartridge 503 side.
  • the data transfer by the read control circuit 620 includes a data transfer processing routine to the cartridge (FIG.
  • the CPU 510 activates the processing shown in the flowchart of FIG. 24, and firstly, the flag EWRD YO ( A process of reading bit dO) is performed (step S700).
  • This flag EWRDYO has a value of 0 when data is set in the first word latch 651 of the read control circuit 620, and has a value of 0 when the data is read by the microprocessor 601. Since the flag is set to 1, it is determined whether or not the flag EWRDYO has a value of 1 (step S705).
  • step S710 perform the process of reading the address of (start address of area EWWR 0 + data DX 2 to be transferred) (step S710).
  • the start address of the area E WWR 0 is 500000 h.
  • the address signals AC 1 to AC 16 of the address subjected to the above operation are held in the first word latch 65 1 as data as they are. Since the lower 16 bits are latched except for the address bit LDS corresponding to the least significant bit, if the read processing is performed for an address separated by DX2 from the beginning of the area E WWR 0, Data D is latched to the first word latch 651.
  • the CPU 510 performs processing to set one of the interrupt request registers (in this embodiment, AMDINTO) (step S720).
  • the CPU 510 continues to repeatedly execute the transfer processing routine shown in FIG. 24. However, when data is held by the first word latch 651, the flag EWRDY is output as shown in FIG. Since O is set to low level, the next data transfer processing is not performed until this flag EWRDY0 becomes high level (value 1) (steps S700, 705).
  • the microprocessor 601 receives the interrupt request and sets the data read interrupt shown in FIG. Starts the load processing routine. That is, this interrupt request is treated as a notification of overnight transfer to the cartridge 3. This process is activated immediately after data is held in the first word latch 651 (or the second word latch 652) of the read control circuit 620, and By reading the register EWRD 0 (or EWRD 1), the cyclo processor 601 reads the data of one mode prepared by the electronic control unit 501 side (step P S 730). Thereafter, the microprocessor 601 transfers the read data to a predetermined area of the RAMs 61 1 to 614 (step S735).
  • the electronic control device 501 can transfer data to the cartridge 503 which is merely connected by the data path CDB which is a read-only line. .
  • the microprocessor 601 of the cartridge 3 does not need to continuously monitor the data transfer by the electronic control unit 501, and waits for the next data write by the electronic control unit 501. None even.
  • the fact that the data has been transferred from the electronic control unit 501 is determined by the bit dl or d4 of the transfer flag register 647, that is, by the flag EWRDYO or EWRDYl. , You can know. Therefore, even if multiple conditions are assigned to the interrupt request register AMD INT 0, the micro processor 601 checks the flag EWRDY O or EWRD Y 1 when accepting this interrupt request. This ensures that data transfer requests can be distinguished from other requests.
  • the microprocessor 601 can efficiently take in data.
  • the FIFO control circuit 623 is a latch 657 for latching data to be written to the FIFO memory 621, and controls writing of data to the FIFO memory 621. It has a FIFO write register 653 and a FIF 0 read register 655 that controls reading as well.
  • the FIFO memory 621 can store 1152 bytes of data, and internally has a write address counter and a read counter.
  • the FIFO memory 621 has a reset terminal on the write side, a reset terminal on the read side for resetting these counters, an 8-bit data bus on the write side, and a reset terminal on the read side. A bit data bus, a clock terminal for writing, and a clock terminal for reading are provided.
  • the data to the latch 657 is provided via a trial state * * 671 shown in FIG.
  • the output of the buffer 671 becomes valid when the signal / FIFOWR input to the gate terminals 1G and 2G becomes low level.
  • This signal ZFIF OWR becomes low level when data transfer by the FIFO control circuit 623 is specified.
  • the CPU 510 of the electronic control unit 501 is shown in FIG.
  • the microprocessor 601 of the cartridge 503 executes the transfer processing routine, and executes the processing routine shown in FIG. 27, respectively.
  • the CPU 510 of the electronic control device 501 can perform a plurality of bytes of data transfer using the FIF 0 control circuit 623 by executing the processing shown in FIG.
  • a process of reading the register FIF ORST belonging to the FIFO writing circuit 654 of the FIFO control circuit 623 is performed.
  • a process is performed to reset the write and read side address counters (step S750).
  • the variable N is reset to a value of 0 in order to count the number of data to be sent out (step S755).
  • the process of reading the address (the start address of the register FIF OWR + the data to be transferred DX2) is performed (step S760).
  • the start address of the register FIFOWR in this embodiment is 5D00000h as shown in FIG.
  • the address of the read address is output as data as in the case of the read control circuit 620, which is latched via the bus Z0 or Z7 shown in FIG. It is latched to.
  • a write clock is output to the clock terminal on the write side of the FIFO memory 621 after a predetermined delay time, and the data held in the latch 657 is output.
  • D is written to the address indicated by the write-side address counter in FIF 0 memory 621.
  • the contents of the write address counter in the FIFO memory 621 are incremented by a value of one.
  • the variable N indicating the number of transferred data is incremented by 1 (step S770), and the variable N indicates the total number of bytes to be transferred. Then, it is determined whether or not the number is equal to the number X (step S775). Therefore, the processes in steps S760 to S775 described above are repeated until the number N of bytes of the transferred data matches the total number X of data.
  • the CPU 510 sets one of the interrupt request registers (A MDINT 1) is set, and the completion of the data transfer is notified to the micro processor 601 (step S780), and the process exits from " ⁇ ⁇ ⁇ " and ends this processing routine. I do.
  • the microprocessor 601 receives the interrupt request AMD I I1 and starts a data reception interrupt routine showing a flow chart in FIG.
  • the microprocessor 601 first performs a process of setting a value 0 to a variable M for counting the number of received data (step S805).
  • step S810 a process of reading the register FIRCLK belonging to the FIFO read register 655 is performed (step S810), and the read data is transferred to a predetermined area of the RAM 611 to 614. Processing is performed (step S815).
  • register FIRCLK When register FIRCLK is read, the read clock is output to the read-side clock terminal of FIFO memory 621, and the data D at the address indicated by the read-side address counter at that time is read. At the same time, the content of the read-side address counter in the FIFO memory 621 is incremented by a value of one.
  • step S820 When one byte of data is received, the variable M is incremented by 1 (step S820), and it is determined whether or not this variable M is equal to the total number of bytes X of the data to be transferred. A decision is made (step S825). Therefore, the processing of steps S810 to S825 described above is repeated until the number of bytes M of the received data matches the total number X of data.
  • the microprocessor 601 When it is determined that the reception of all data has been completed, the microprocessor 601 performs a process of writing a command indicating completion of reading of the data into the polling command register 643 (step S630). . By reading the contents of the polling command register 643, the CPU 510 of the electronic control device 501 can know the completion of data reception by the FIF0 control circuit 623. After that, the microphone processor 601 exits to “RNT” and ends this processing routine. By the processing described above, a large amount of data can be efficiently transferred from the electronic control device 501 to the microprocessor 601. In addition, immediately after the transfer of a plurality of bytes of data, the interrupt request signal AMD INT 1 notifies the cartridge 3 that the data has been transferred to the cartridge 3.
  • Control device 50 While 1 is performing data transfer the microprocessor 601 of the cartridge 3 does not need to continuously monitor the data transfer by the electronic control unit 501 and performs other processing. This can increase the overall processing efficiency. Originally, there is no need to wait for writing of the next data by the electronic control unit 501.
  • the print data received from the workstation 507 by the communication control unit 604 is interpreted by the page description language interpreter stored in the ROMs 606 to 609, developed as an image, and temporarily stored in the RAM 61 1 to 6 Stored in 14 predetermined areas.
  • the image data thus obtained is then transferred to the electronic control unit 501 side, stored in its RAM 512, and printed by the laser engine 505 at a predetermined timing. .
  • the double bank control circuit 624 transfers such image data.
  • the double bank control circuit 624 transfers the data from the microprocessor 601 to the electronic control unit 501, and includes two sets of banks for storing 256 bytes of data. These are called A bank and B bank, but both are exactly the same as the hardware, and only the configuration example on the A bank side is shown in Fig. 28.
  • Each of these banks is configured so that its address and data bus can be switched between the microprocessor 601 side and the electronic control unit 501 side, and as shown in FIG.
  • Select data selectors 681, 682, 683 two sets used to select the data bus (16-bit width), two sets total four octal liners, * ⁇ files 684 to 687, It is composed of RAMs 691 and 692 with a storage capacity of 128 bytes, and other configuration gates, or gates 694 and 695 and an inverter 696.
  • Fig. 28 two memories with 128 bytes of storage capacity are used, but this is realized by switching the upper address of a single memory. No problem.
  • the data selectors 68 1 and 683 are the lower 7 bits (AC 1 to AC 7) of the address path CAB of the electronic control unit 501 and the lower address bus AAB of the micro processor 601. Select 7 bits (A2 to A8) and output The address bus is selected by the signal ADDMU XA (bit ADO of register ADDMUXA) connected to the select terminal S.
  • the data selector 682 switches the read / write signals of the RAM691 and 692 according to the selection of the address bus.
  • the signal ADDMUXA connected to the select terminal S It switches which signal is connected to the chip select terminals CE 1, 2 of the RAM 691, 692 and the input enable terminal OE.
  • Octal line buffers 684 and 685 are 3-state type buffer interposed in the data bus DB 29.
  • the My line buffers 684 and 685 Connect the data bus DB 29 of the microprocessor 601 to the data bus of the RAMs 691, 692 to enable the microprocessor 601 to write data to the RAMs 691, 692.
  • the output of the OR gate 694 which receives the signal / DPWR 0A and the signal AD DMUXA is connected to the gate terminals 1G and 2G of the octal line buffers 684 and 685.
  • the signal / DPWR0A is a signal that goes low when the microprocessor 601 attempts to write data to bank A.
  • the bit dO of the register ADDMUXA is set to a low level in advance as the data is written to the bank A, the data is written from the microprocessor 601 side to the bank A. Then, the gates of the octal line buffers 684 and 685 are opened, and the data output to the data bus DB 29 is output to the data buses of the RAM 691 and 692, and is damaged.
  • the octal line buffers 686 and 687 have the data paths DB 68 and RAM 69 1 and 692 on the electronic control unit 501 side when the gate terminals 1 G and 2 G are at the low level. And the data buses of the RAMs 69 1, 692 can be read out to the electronic control unit 501.
  • the gate terminals 1 G and 2 G of the octal line buffers 686 and 687 are connected to the OR gate 695 which receives the signal ZD P 0 E 1 A and the signal obtained by inverting the signal AD DMU XA by the inverter 696. Output is connected.
  • the signal ZDPOE1A is a signal that goes low when the electronic control device 501 attempts to read A-punk data.
  • FIG. 29 is a flowchart showing the image data transfer start processing routine performed by the micro processor 601. As shown in the figure, the microprocessor 601 sets a transfer start command in the polling command register 643 prior to the transfer of the image data (step S850).
  • the CPU 510 of the electronic control unit 501 reads the command of the polling command register 643 and executes the response processing routine shown in FIG. That is, the electronic control unit 501 determines whether or not the laser printer 500 is in a printable state (step S860). If the electronic control unit 501 determines that the laser printer 500 is in a printable state, it issues an interrupt request. One of the registers (AMDINT2) is set (step S865), and "Exit to NEXTJ and finish this routine. A process for notifying the microprocessor 601 of the cartridge 503 is performed (step S870).
  • the state in which printing cannot be performed includes, for example, a state in which the laser engine 505 has not been warmed up, a paper jam, and the like. This means that printing cannot be performed even when image data is transferred, such as when the image data has occurred.
  • the microphone opening processor 601 Upon receiving an interrupt request signal AMDINT2 from the electronic control unit 501, the microphone opening processor 601 starts an image data transfer interrupt processing routine shown in FIG. When this process is started, the microprocessor 601 first performs a process of writing a value 1 to bit d0 of the register ADDMUX A (Step S900) ⁇ bit d0 of this register ADDMUXA. If O has the value 1, the data path of RAMs 69 1 and 692 that make up bank A is connected to the data bus DB 29 of processor 601 as shown in Figure 28. As a result, access from the electronic control unit 501 cannot be performed.
  • the microprocessor 60 1 is connected to the A bank DPWR 0 A by 128 words.
  • a process of transferring (256 bytes) data is performed (step S902).
  • the signal / DPWR OA shown in FIG. 28 goes low, and the data is written to the RAMs 691 and 692 via the octal line buffers 684 and 685.
  • the microprocessor 601 writes the value 1 to the bit dO of the register ADD MUXA (step S904), and the RAM 691, which configures the bank A, 6 Connect the 92 data bus to the data bus DB 68 of the electronic control unit 501.
  • the microprocessor 601 performs a process of writing command data notifying the completion of the transfer to the A bank to the polling command register 643 (step S906).
  • the data transfer processing to the A bank is completed, and the micro processor 601 continues to execute the same processing as that described above for the B bank (step S910).
  • the microprocessor 601 writes command data to the polling command register 643 to notify the completion of the data transfer. In this way, the transfer of 256 words (512 bytes) of data from banks A and B of cartridge 503 is completed.
  • the CPU 510 of the electronic control unit 501 executes an image data receiving processing routine shown in FIG. That is, the CPU 510 first reads bit d3 of the status register 645, ie, the flag CMDRD (step S920), and determines whether or not this value is 0 (step S920). S 925). When command data is written to the polling command register 643 from the microprocessor 601, the flag CMDRD is set to the value 0. The command data of the command register 643 is read (step S930).
  • the read command data is checked, and it is determined whether or not the command data indicates that the A puncture data overnight transfer has been completed (step S935). (Step S940).
  • the electronic control unit 501 controls the A bank DPRAMA (see Fig. 16).
  • the process reads the 128 words of the memory (step S945), and transfers the read data to the RAM 512 (step S950).
  • the microprocessor 601 executes the interrupt processing routine shown in FIG. 31 again, so that the microprocessor 601 and the CPU 510 are both Execution of the routine (Figs. 31 and 32) completes the transfer of all image data.
  • the microprocessor 601 stores the new print data in the register C LKD IV of the control register 650 after a predetermined time has elapsed. Write a value of 1 and switch its own operating frequency to half, 12.5 MHz, to reduce the yellowing power and thus the heat generation.
  • the cartridge 503 can efficiently transfer the developed image data to the electronic control unit 501 by using the interrupt and the flag CMDRD of the register. .
  • the image data is simultaneously sent to the laser engine 505 for printing, so that the transfer of the image data from the cartridge 503 is performed efficiently. It is extremely important.
  • the electronic control device 501 that has received the transfer of all the image data performs printing with the image data while exchanging signals with the laser engine 505 using the double buffer circuit 520 and the register 517 described above.
  • Electronic control unit 50 1 and laser The exchange of signals with the engine 505 is shown schematically in FIG. The outline of printing will be described with reference to this figure.
  • the electronic control unit 501 Upon receiving the image data after the development from the cartridge 503, the electronic control unit 501 inquires whether or not the laser engine 505 is in a printable state. If it is determined that the printer is in a printable state, a print signal shown in FIG. 33 is output to the laser engine 505 via the register 517. Upon receiving this signal, the laser engine 505 immediately activates the paper transport motor. In synchronization with this, the rotation of the photosensitive drum, the charging process and the like are started.
  • the laser engine 505 detects the leading edge of the paper and sends a signal VREQ to the electronic control unit 501 via the register 5 17. Output.
  • the electronic control unit 501 waits for a predetermined time, that is, the time required for the photosensitive drum to rotate to a position where the formation of a latent image by the laser beam is started, and then issues the signal VS YNC is output via register 517.
  • Laser engine 505 receives this signal V SYNC and outputs a horizontal synchronizing signal H SYNC of the laser beam via register 517.
  • this signal H SYNC is equivalent to a signal instructing the start of reading of one line of image data
  • the laser engine 505 synchronizes the image data with the RAM 520A of one of the double buffer circuits 520 in synchronization with this signal. Or read from 520B.
  • control is performed to ignore signal V SYNC by the number of lines corresponding to the top margin. This control is the same when forming bottom margins.
  • the CPU 510 counts this signal and transfers necessary image data to the RAM 520A or the RAM 520B of the double buffer circuit 520. If a predetermined time has elapsed since the laser engine 505 detected the trailing edge of the paper, or if the count value of the horizontal synchronization signal becomes equal to a value set in advance according to the paper size, C The PU 510 terminates the transfer of the image data to the double buffer circuit 520. Through the above processing, one page of image data is transferred to the laser engine 505, and the image is printed on a sheet. The transfer and printing of the image data are as described above. Lastly, the process of changing the set values stored in the EE PRO M 670 will be described.
  • the CPU 510 of the electronic control unit 501 executes the set value change processing routine shown in FIG. 34 at a predetermined timing, and determines whether or not a request for changing the set value has occurred ( Step S1200).
  • the request for changing the set value is made when it is determined whether or not the cartridge 503 is mounted immediately after the power is turned on, or when the switch 5 18 a of the console panel 5 18 is operated. Alternatively, it occurs when a change is instructed from the workstation 507 via the cartridge 503.
  • a change instruction from the console panel 5 18 or the workstation 507 may be configured to be accepted only when image development is completed, except for communication. It is suitable. This is because, in many cases, it is not possible to change the setting values relating to the image development during the image development according to the predetermined page description language.
  • Step S the process for determining the set value is performed (Step S). 1 2 10).
  • the judgment of the set value is performed, for example, according to the operation procedure of the switch 518 a of the console panel 518 or transmitted from the work station 507 via the cartridge 503. It means a process of analyzing the command that has been specified and specifying which item of the communication condition is set to what.
  • options are displayed on the display display 518b, and one of them is operated by operating the switch 518a. In many cases, an effort to select an item is taken. The method and result of setting value determination are determined according to these specifications.
  • the electronic control unit 501 After determining the set value, the electronic control unit 501 performs a process of transferring the set value to the cartridge 503 via the read control circuit 620 (step S 1220). Upon receiving this data, the data is stored in the EEPROM 670 by the processing described above. After that, the CPU 510 displays on the LCD panel 518b of the console panel 518 that the setting is completed, and ends this routine. Since the EEPROM 670 stores data by serial transfer, when data is transferred from the electronic control unit 2, the R The data expanded in a predetermined area of AM611 is rewritten, and rewritten collectively at a predetermined timing. The data of these setting values may be rewritten each time a predetermined time elapses, or may be rewritten after an instruction from the console panel 518. Furthermore, a battery may be provided on the cartridge 503 side to perform the operation immediately after the power of the laser printer 1 is turned off or immediately after the cartridge 503 is disconnected from the connector CN 11. No problem.
  • Such a change in the set value may simply involve a change in conditions such as the number of prints, or may involve a complete change in the operation mode of the laser printer 500.
  • the processing by the page description language in the cartridge 503 may be stopped, and the processing may be switched to processing by a control command unique to the laser printer 500, or the reverse may be performed.
  • the cartridge 503 since the set values that determine various conditions for operating the laser printer 500 are stored in the EE PROM 670 of the cartridge 503, the cartridge 503 is attached to the connector CN11. This makes it possible to easily switch the operating conditions of the laser printer 500 to those suitable for developing the image data by the cartridge 503. Moreover, since the contents of the EE PROM 513 of the electronic control unit 501 are not rewritten, when the cartridge 503 is removed, the operating conditions of the laser printer 500 can be immediately returned to the original state. it can. Therefore, even when the force trigger 503 is added to the laser printer 500 to change its function, not only the setup but also the release can be easily performed.
  • the number of prints using the laser engine 505 is also normally stored, this means that the data in the EEPROM 513 is rewritten even when printing is performed with the cartridge 503 installed. . Originally, this value may be stored in the EEPROM 670 of the cartridge 503. Also, the number of sheets printed with the cartridge 503 mounted may not be counted.
  • the processing program of the page description language is simply provided by the cartridge. It can significantly improve the processing power of the page description language as compared with the case where it is supplied. Also, since the cartridge 503 has a communication function, it can be connected to another workstation 507 without disconnecting the laser printer 500 from the computer. It has become. Further, since the print data from the work station 507 is directly received by the cartridge 503, there is no need to transfer the data from the laser printer 500 to the cartridge 3.
  • data can be transferred to the cartridge 503 via the read-only data bus DB 68 when viewed from the electronic control device 501 side. Therefore, information on the printer body 1 such as the operation status of the console panel 5 18 can be notified to the cartridge 503 without delay.
  • the interrupt is used for the notification of the data transfer, and the process on the cartridge 503 side is activated by the interrupt request. Therefore, the micro processor 601 of the cartridge 503 is There is no need to constantly monitor the operation of the electronic control unit 501, and the microprocessor 601 of the cartridge 503 can be used efficiently. That is, the processing overhead can be reduced, and the overall efficiency can be improved. Further, in this embodiment, since the ASIC is used, the circuit can be reduced in size and simplified.
  • the read control circuit 620 and the FIFO control circuit 623 can be used depending on the type of data to be transferred. Data transfer can be performed efficiently. Also, if one system fails, the other system can compensate for it.
  • the communication control unit 604 transmits a new page description language such as an interface.
  • the data can be loaded to a predetermined area of the RAMs 611 to 614 through the RAM. Then, if control is transferred to this program, processing can be performed using a new page description language. Therefore, it is possible to easily update the page description language, perform a purge ⁇ upload, and the like.
  • the desired display can be performed on the console panel 518.
  • the data transfer control unit 603 interprets the program of the page description language and develops the image
  • the printer main body 1 appears to the user as if it were stopped.
  • the LCD panel on the sole panel 518 displays not only ⁇ Data is being developed, '' but also the name of the module currently being deployed, and the percentage of modules that have already been deployed for all modules. When the is displayed as a percentage, a configuration that can be considered.
  • the error code and its contents are displayed on the LCD panel of the console panel 518. It is also suitable to display on a display panel.
  • the operation mode of the microprocessor 601 of the cartridge 503, such as the operating frequency / sleeving mode, is displayed, and the memo is displayed when the cartridge 503 is attached.
  • the power capacity is insufficient due to the capacity of the power supply, etc., it is also effective to display the message or the message to instruct to remove the additional memory of the laser printer 500. is there.
  • the present invention is not limited to application to a printer.
  • a word processor, a personal computer, or a workstation may be used. It can also be applied to such applications.
  • such computer-related equipment has often been equipped with a cartridge-type expansion device such as an IC card, as well as an expansion slot.
  • the additional control device of the present invention is mounted here, and the processing of the processor on the main body side is performed by a monitor command or the like.
  • the processing is shifted to the processing stored in the memory built in the additional control device and the information is processed together with the processor provided in the additional control device, it is easy to improve, add or change the information processing function. It is. Furthermore, if control is transferred to the additional control device side, the content of the processing can be changed in any way, so the functions of already sold devices can be changed or improved, and software for various dedicated machines such as word processors can be used. Purging up can be realized.
  • the present invention relates to an apparatus using a processor, which is an apparatus that receives data and operates externally, such as a printer, an on-board electrical device, a facsimile, a telephone, an electronic notebook, and an electronic musical instrument.
  • a processor which is an apparatus that receives data and operates externally, such as a printer, an on-board electrical device, a facsimile, a telephone, an electronic notebook, and an electronic musical instrument.
  • the present invention can be applied to any information processing device to which an additional control device can be connected by a connector, such as a translator, a cache dispenser, and a remote control device.

Abstract

Conventionally, information is processed by an additional controller added to an electronic device, which receives external data, unlike this processing method, an additional control device is provided with a configuration capable of communicating, and the additional control device receives the data from the outside, the data is processed through a processor in the additional control device, and thereafter, the processed data is sent out to the electronic apparatus. An electronic apparatus for processing data, e.g., an electronic controller in the body of a printer receives ordinarily the data to be printed through the data input port. However, in the present apparatus, a cartridge (503) has a communication control section (604), and receives the data to be printed which is described by a page description language from the outside, and further, develops this data as a picture data by the processing of a microprocessor (601). Thereafter, the microprocessor (601), via a double bank control circuit (624), outputs this picture data to the electronic control apparatus of a laser printer, and makes the laser printer print the data.

Description

明細書 情報処理装置およびこれに用いる付加制御装置ならびに情報処理方法 【技術分野】  TECHNICAL FIELD An information processing apparatus, an additional control apparatus used for the same, and an information processing method.
本発明は、 各種電子装置と これに装着された付加制御装置とからなる情報処理 装置、 この情報処理装置に用いる付加制御装置およびその情報処理方法に関し、 詳し く は電子装置が外部から情報を効率よ く受け取る構成、 および受け取った情 報の処理方法に関する。  The present invention relates to an information processing device including various electronic devices and an additional control device mounted thereon, an additional control device used in the information processing device, and an information processing method thereof. Regarding the configuration to receive well and how to process the received information.
[背景技術】 [Background Art]
近年、 パーソナルコン ピュータ, ワー ドプロセ ッサ, ワークステーシ ョ ンなど のディ ジ タル演算に基礎を置く電子装置、 あるいはマイ クロプロセ ッサを組み込 んだプリ ンタ, フ ァ クシ ミ リ, 電子手帳, 電子楽器, 電子調理器, 電子カメ ラな どが、 社会の広範な領域で用いられている。 また、 自動車, ロボッ ト, 工作機械, あるいは各種電化製品においても、 マイ クロプロセ ッサを利用したものが、 広く 実用に供されている。  In recent years, electronic devices based on digital operations such as personal computers, word processors, workstations, etc., or printers, facsimiles, electronic notebooks incorporating microprocessors, Electronic musical instruments, electronic cookers, and electronic cameras are used in a wide range of society. Also, automobiles, robots, machine tools, and various electric appliances that use microprocessors are widely used in practice.
こ う したディ ジタルな論理演算に基礎を置く機器は、 ドウ ァのみで実現 された単純なフ ィー ドバッ ク制御等と比べて柔軟な制御ゃデータの処理が可能で あるこ との他、 ソフ ト ゥ ヱァの変更により実質的な機能を変更するこ とができる という利点を有する。 従って、 同一の ドウ ユアであっても、 処理手順を記憶 した R 0 Mの中身を変更するだけで、 あるいは主記憶にフ レキシブルディ スク等 の外部機器から新たなプロ グラムをロー ドするだけで、 全く異なった制御を実現 するこ とも可能である。 更に、 機能のパージ s ンアッ プについても、 ソフ ト ゥ ェ ァの変更のみで可能である という利点も有するのである。  Devices based on such digital logical operations are not only capable of more flexible control and data processing than simple feedback control and the like realized only with a window, but also have a soft There is an advantage that the substantial function can be changed by changing the key. Therefore, even in the same door, simply changing the contents of R0M that stores the processing procedure or loading a new program from the external device such as a flexible disk into the main memory can be performed. However, it is possible to realize completely different control. Furthermore, there is an advantage that the purge of functions can be performed only by changing the software.
しかしながら、 実際に処理を行なう プロセ ッ サの能力は、 最終的には、 ハー ド ウェ ア、 例えば時間当たりの処理回数, 一度に取り扱える ビッ ト数, データの転 送を行なうバス幅などにより決まるから、 ソフ ト ウ -ァのバージ ョ ンアッ プによ つて改善されるのは、 たかだか使い勝手の向上など限定されたものに過ぎず、 既 存の電子装置の能力を大幅に向上させることはできなかった。 また、 ソフ ト ゥ ェ ァの変更によるパージ ョ ンァ ッ プも、 ソフ ト ウ ェアが R 0 Mに焼き付けられてい れば R O Mの交換作業が必要となって、 現実には困難な場合が多い。 このため、 However, the ability of the processor to actually perform the processing is ultimately determined by the hardware, for example, the number of processings per time, the number of bits that can be handled at one time, and the bus width for transferring data. However, what is improved by the software version up is only limited to the improvement of usability at most, The ability of existing electronic devices could not be significantly improved. Also, purging up due to software changes often requires ROM replacement if the software is burned to R0M, which is often difficult in practice. . For this reason,
ソ フ ト ウ ァのパージ ヨ ンア ッ プは、 設計当初から R O M交換を予定している機 種ゃソフ トウ エアをフ レキシブルデ ィ ス クなど交換可能な媒体で供給するもの以 外では困難であつた。 Purging software is difficult except for the model whose ROM is scheduled to be replaced from the beginning of the design, except that the software is supplied on a replaceable medium such as a flexible disk. Was.
も とより、 パーソナルコンピュータなどにおいて、 マイ クロプロセ ッサなどを そつ く り入れ替えて、 コ ンピュータ全体の機能を向上しょう とするいわゆるァク セラ レータなども存在するが、 マザ一ボー ド上の C P Uの交換が必要になるなど、 誰にでも簡単に行なえる というものではなかつた。 パーソナルコ ン ピュータを初 めとする電子装置において、 R O Mカー ドゃフ オ ン ト カー ト リ ヅ ジなどの装着を 前提と したコネク タが設けられている場合があ 。 かかる コネク タに付加制御装 置を装着できれば、 電子装置の機能の向上, 追加あるいは変更を実現するこ とが できるが、 こ う したコネク タのデータ転送用のパスの構成を検討する と、 内部の  Originally, there are so-called accelerators that try to improve the functions of the entire computer by completely replacing microprocessors in personal computers, etc., but there are CPUs on the motherboard. It was not something that anyone could easily do, such as having to exchange it. Electronic devices, such as personal computers, may be provided with connectors that require the installation of ROM card-on cartridges and the like. If an additional control device can be mounted on such a connector, the functions of the electronic device can be improved, added, or changed. However, considering the configuration of the data transfer path of such a connector, the internal of
プロセ ッ サから見て読出専用の信号線となっているこ とが多く、 この場合、 電子 装置側のプロセ ッサからデータを受け取るこ とができないから、 このコネク タに ァクセラ レータを装着するこ とはできなかった。 In many cases, it is a read-only signal line from the viewpoint of the processor. In this case, data cannot be received from the processor on the electronic device side. Therefore, it is necessary to attach an accelerator to this connector. And could not.
一方、 マイ クロプロセ ッサを組み込んだプリ ンタ, フ ァ ク シ ミ リ, 電子手帳, 電子楽器, 電子調理器, 電子カメ ラなどの民生用電子装置、 あるいは自動車の電 装品, ロボッ ト, 工作機械などの産業用電子装置, 更には各種電化製品では、 こ う した機能の向上、 変更については、 何等考慮されておらず、 拡張用のコネクタ 4 , を備える と しても、 データを読み出すだけの機能に限定されたコネク タを用意し ているのが一般的である。 かかる問題を、 ページプリ ン タを例にとって詳細に説 明する。  On the other hand, consumer electronic devices such as printers, facsimiles, electronic notebooks, electronic musical instruments, electronic cookers, and electronic cameras that incorporate microprocessors, or automotive electrical components, robots, and machine tools In industrial electronic devices such as machinery, and various electric appliances, such improvements and changes in functions are not considered at all, and even if an extension connector 4 is provided, only data is read. It is common to provide a connector that is limited to the functions described above. This problem will be explained in detail using a page printer as an example.
近年、 レーザプリ ン タ等のページプリ ン タの普及にはめざましいものがあり、 コ ン ピュータからのデータの高速な出力機器の主流になろう と している。 レーザ プリ ン タの場合、 2 4 0から 8 0 0 D P I程度の解像度を持ち、 1 分当たり数ぺ —ジの印字能力を持つものが開発されている。 こ う したプリンタは、 印刷用のェ ンジンと して感光ドラムを用いたゼロ グラフ ィ ュニッ トを使用しており、 帯電、 露光、 トナー塗布、 転写の各工程を感光ドラムの回転に同期して連続的に行なう こ とから、 1 ページ分の画像をメモ リ に蓄えた後、 印刷処理を起動する。 In recent years, the spread of page printers such as laser printers has been remarkable, and they are about to become the mainstream of high-speed output devices for data from computers. In the case of a laser printer, a printer having a resolution of about 240 to 800 DPI and a printing capability of several pages per minute has been developed. Such a printer uses a zero graph unit using a photosensitive drum as an engine for printing, and is used for charging, Since the processes of exposure, toner application, and transfer are performed continuously in synchronization with the rotation of the photosensitive drum, one page of image is stored in memory and the printing process is started.
従って、 ページプリ ン タに備えられた画像展開用のメ モ リ は、 少な く とも 1 ぺ ージ分の画像をメ モ リ に蓄える容量が必要となり、 画像データの圧縮を行なって いないならば、 その容量は解像度と処理可能な用紙の大き さ とから決まる。 例え ば、 解像度 3 0 0 D P I 、 用紙の大き さを横 8 イ ンチ、 縦 1 0イ ンチの場合を考 えてみると、 全部で 8 X 1 0 X 3 0 0 X 3 0 0 = 7 , 2 0 0 , 0 0 0 ドッ トの画 素を取り扱う こ とになり、 少なく とも 0 . 9 メ ガバイ トのメ モ リ を用意するこ と になる。  Therefore, the memory for image expansion provided in the page printer needs a capacity to store at least one page of images in the memory, and if image data is not compressed. However, the capacity is determined by the resolution and the size of paper that can be processed. For example, if the resolution is 300 DPI and the paper size is 8 inches wide and 10 inches high, a total of 8 X 10 X 3 0 X 3 00 = 7, 2 This means that pixels of 0,000 dots will be handled, and at least 0.9 megabytes of memory will be prepared.
印字データ と して文字のコー ドと行および桁ピッチなどの情報を受け取り これ を画像と して展開する機能を備えたプリ ンタでは、 あるいはページ記述言語で記 述されたプロ グラムを受け取つてこれを解釈して展開するプリ ンタでは、 印字デ 一タに基づいてビッ トイ メージを演算 ·生成する処理が必要となり、 単純なビッ トィ メージの転送と較べて全体の処理速度が大き く低下するという問題があった < 即ち、 プリ ン タの処理速度が、 主に処理を行なう プロセ ッサの能力およびメモ リ のアクセス タ イ ム等により決まるこ とになり、 ゼログラフ ィュニッ ト 自体の印刷 能力を大幅に下回ってしまうのである。  Printers that receive information such as character codes and line and column pitch as print data and develop them as images, or receive programs written in page description language The printer that interprets and expands the image requires processing to calculate and generate bit images based on the print data, which greatly reduces the overall processing speed compared to simple bit image transfer. There was a problem. That is, the processing speed of the printer is mainly determined by the processing capability of the processor and the access time of the memory, etc., greatly increasing the printing capability of the zero graph unit itself. It is below.
例えば、 1 分間に 1 0枚印刷可能なページプリ ンタを考えてみると、 1 枚の印 刷物用の画像データを準備するのに許された時間はわずか 6秒しかな く、 この時 間に 0 . 9 メ ガバイ トのデータを総て展開しょう とすれば、 1 バイ ト当たりに許 容される処理時間は、 わずか 6 . 6 7マイ クロセカン ドに過ぎない ( 6秒/ 0 . 9 メガバイ ト ) 。 この処理速度は、 現在市場に供給されている高速の R I S C 夕 ィ プのプロセ ッサで実現可能かどうかという程度である。 これに対してゼログラ フ ィユニ ッ ト は、 1 0枚 Z分程度の印刷能力を既に備えているこ とが多い。 従つ て、 現状では、 印字データを処理する制御部の処理能力が、 全体の印字速度を向 上する上でのネ ッ ク となっている。  For example, if you consider a page printer that can print 10 pages per minute, the time allowed to prepare image data for a single print is only 6 seconds. To expand all 0.9 megabytes of data per second, the processing time allowed per byte is only 6.67 microseconds (6 seconds / 0.9 megabytes). G). This processing speed is only feasible with the high-speed RISC evening processor currently on the market. On the other hand, a zero-graph unit often already has a printing capacity of about 10 sheets Z. Therefore, at present, the processing capacity of the control unit that processes print data is the key to improving the overall printing speed.
このため、 従来のレーザプリ ンタ等では、 画像の展開能力がゼログラフ ィュニ ッ トの能力以下でしかない場合があ り、 マイ ク ロプロセ ッ サ技術の向上に伴い、 画像展開能力の高いプロ セ ッ サが入手可能となっても、 後から機能を向上させる こ とはできなかった。 ページプリ ン タの中には、 予め拡張スロ ッ トを用意し、 こ こにフ ォ ン トやプログラムを内蔵したカー ト リ ッ ジなどを装着するこ とにより機 能を拡張しょう とするものがある力 、 ス ロ ッ トのコネクタのデータバスの構造は カー ト リ ッ ジ側からの読出専用となっており、 カー ト リ ッ ジ側にデータを転送し て処理を行なわせることはできなかった。 For this reason, in conventional laser printers, etc., the image development ability may be less than the capability of the zero graph unit, and with the improvement of microprocessor technology, processors with high image development ability may be used. Enhance functionality later as they become available I couldn't do that. Some page printers have an expansion slot prepared in advance, and the functions are to be expanded by installing a font or cartridge with a built-in font here. With a certain force, the data bus structure of the slot connector is read-only from the cartridge side, so data can be transferred to the cartridge side for processing. Did not.
更に、 こう したプリ ン タ と コ ン ピ ュータ との通信の手法について検討する と、 通常セン ト ロニクス社規格準拠のィ ンタフ ェースを備えるプリ ンタに対して、 コ ン ピ ュ ータ側が、 例えばイーサネ ッ ト等の高速イ ンタフ —スを用意しても、 プ リ ン タ側ではこれを受け付けるこ とができず、 低速のデータ転送しか行なえない ため、 ここがシ ス テ ムのボ トルネ ッ ク となってしまう場合が考えられた。  Furthermore, when examining the method of communication between the printer and the computer, it is found that, for example, a computer having an interface compliant with the Centronics standard, for example, has a computer side. Even if a high-speed interface such as an Ethernet is prepared, the printer cannot accept it and can only perform low-speed data transfer, so this is the system bottleneck. It was thought that it would be a hike.
本発明の付加制御装置、 情報処理装置および情報処理方法は、 こ う した問題を 解決し、 電子装置の全体的な能力を向上、 変更、 追加可能とすることを目的と し ている。  The additional control device, the information processing device, and the information processing method of the present invention are intended to solve such a problem and to improve, change, and add the overall capability of the electronic device.
【発明の開示】 DISCLOSURE OF THE INVENTION
本発明は、 電子装置に装着される付加制御装置が、 通信により外部から直接デ 一夕を受け取って処理を行なう構成に関するものであり、 電子装置に付加制御装 置を装着してなる情報処理装置において、 付加制御装置側でデータを処理し得る という作用 · 効果を生じ る。 装置全体と してみれば、 従来であれば電子装置が処 理していたデータを付加制御装置が直接受け取つて処理することができ、 電子装 置が有していた機能を向上, 追加も し く は変更するこ とができる。  The present invention relates to a configuration in which an additional control device mounted on an electronic device receives data directly from the outside through communication and performs processing, and an information processing device including the electronic device with the additional control device mounted thereon In this case, there is an effect that the data can be processed on the additional control device side. As a whole, the additional control device can directly receive and process data that was conventionally processed by the electronic device, and the functions of the electronic device could be improved or added. Or can be changed.
( 1 ) 情報処理装置と しての発明  (1) Invention as an information processing device
情報処理装置と してなされたこの発明は、  This invention made as an information processing device,
論理演算可能な第 1 のプロセ ッサ、 該プロセ ッサが実行する処理を記憶した第 1 の記憶手段、 および該第 1 のプロセ ッサに対してデータのやり取り可能な信号 線が接続されたコネクタを備えた電子装置と、  A first processor capable of performing a logical operation, first storage means for storing processing executed by the processor, and a signal line capable of exchanging data with the first processor. An electronic device having a connector;
該電子装置の該コ ネ ク タ に接続される付加制御装置と  An additional control device connected to the connector of the electronic device;
からなる情報処理装置であつて、  An information processing apparatus comprising:
前記付加制御装置には、 外部の機器からデータを受け取る通信手段と、 In the additional control device, A communication means for receiving data from an external device;
前記第 1 のプロセ ッ サとは異なる処理を行なう第 2のプロセ ッサと、 該第 2のプロセ ッサが、 前記通信手段を介して受け取ったデータに対して実 行する処理手順を少なく とも記憶した第 2の記憶手段と、  A second processor that performs processing different from that of the first processor, and at least a processing procedure that the second processor executes on data received via the communication means. Second memorized storage means,
該第 2のプロセ ッサにより処理された後のデータを、 前記電子装置に出力す るデータ出力手段と  Data output means for outputting the data processed by the second processor to the electronic device;
を備えたこ とを要旨とする。  The gist is to have
この情報処理装置では、 付加制御装置が、 通信手段により外部の機器からデー タを受け取り、 第 2のプロセ ッサが、 第 2の記憶手段に記憶した処理手顒に従つ て、 第 1 のプロセ ッサとは異なる処理を行ない、 これを電子装置に出力する。 従 つて、 付加制御装置が電子装置に付加された情報処理装置は、 電子装置とは異な る処理を実現するこ とができる。 また、 電子装置が受け取ることのできなかった データを受け取って処理するこ とができ る。  In this information processing device, the additional control device receives data from an external device through the communication means, and the second processor performs the first processing in accordance with the processing procedure stored in the second storage means. Performs processing different from that of the processor and outputs it to the electronic device. Therefore, the information processing device in which the additional control device is added to the electronic device can realize processing different from that of the electronic device. It can also receive and process data that the electronic device could not receive.
こ こで、 通信手段が外部から受け取るデータに、 電子装置の第 1 のプロセ ッサ が処理可能なデータと性質を異にするデータが含まれるものとし、 第 2の記憶手 段には、 性質を異にするデータを処理する手順を記憶するこ とも好適である。 こ の場合には、 電子装置が取り扱えなかったデータを情報処理装置として処理可能 となる。 例えば、 電子装置がプリ ン タである場合、 プリ ン タ本体がページ記述言 語をにより記述されたプログラムを扱えない場合でも、 付加制御装置内の第 2の 記憶手段にページ記述言語用のィ ン タープリ タを記憶するこ とにより、 これを扱 う こ とが可能となる。  Here, it is assumed that the data received from the outside by the communication means includes data having a property different from the data that can be processed by the first processor of the electronic device, and the second storage means has the property It is also preferable to store a procedure for processing data having different numbers. In this case, data that could not be handled by the electronic device can be processed as an information processing device. For example, when the electronic device is a printer, even if the printer itself cannot handle the program described by the page description language, the second storage means in the additional control device stores the information for the page description language. Storing the interpreter makes it possible to handle it.
更に、 付加制御装置には、 第 2のプロセッサが前記データに対する処理を行な つている間に、 このデー タの処理に関する情報を、 電子装置に出力する処理情報 出力手段を備えるこ とも可能である。 処理情報出力手段は、 データ処理に関する 情報と して、 処理されたデータ量、 処理中のデータの名称、 残存処理時間のうち の少な く とも一つを出力するものとすることができ、 この場合、 付加制御装置の 処理に関する情報を電子装置が知る こ とができ る。 加えて、 電子装置が、 所定の 情報を表示するコ ン ソールパネルを備え、 付加制御装置の処理情報出力手段が出 力するこれらの情報を、 電子装置のコ ン ソールパネルに表示するものとすれば、 付加制御装置の処理に関する情報を、 使用者が容易に知る こ とができ る。 Further, the additional control device may include processing information output means for outputting information on the processing of the data to the electronic device while the second processor is performing the processing on the data. . The processing information output means may output at least one of the amount of processed data, the name of the data being processed, and the remaining processing time as information relating to the data processing. In addition, the electronic device can know information on the processing of the additional control device. In addition, the electronic device may include a console panel for displaying predetermined information, and the information output by the processing information output means of the additional control device may be displayed on the console panel of the electronic device. If The user can easily know the information on the processing of the additional control device.
これとは逆に、 電子装置側の情報を、 前記付加制御装置に出力する構成をとる こ とも好適である。 こう した情報と しては、 電子装置に設けられたコ ンソールパ ネルの操作情報や電子装置の ラー情報などが考えられる。  Conversely, it is also preferable to adopt a configuration in which information on the electronic device side is output to the additional control device. Such information may include, for example, operation information of a console panel provided in the electronic device and color information of the electronic device.
なお、 電子装置のコネ ク タに接続された信号線が、 第 1 のプロセ ッ サのァ ドレ ス信号線の少な く とも一部を含み、 かつコネク タに接続されたデータバスが第 1 のプロセ ッサからみて読出専用に構成されている場合には、 そのままでは、 電子 装置側から付加制御装置側にデータを送るこ とは困難であるが、 電子装置が、 出 力しょう とする情報をア クセス しょ う とするア ドレスに反映させ、 該ア ドレスに 対して読出処理を行ない、 この読出処理を応答して、 付加制御装置で、 そのア ド レスに含まれる情報を抽出するものとすれば、 読出専用のバスを用いてデータを 付加制御装置側に送るこ とができる。  The signal line connected to the connector of the electronic device includes at least a part of the address signal line of the first processor, and the data bus connected to the connector is the first. If it is configured to be read-only from the perspective of the processor, it is difficult to send data from the electronic device to the additional control device as it is, but the electronic device sends information to be output. It is assumed that the address to be accessed is reflected, the read processing is performed on the address, and in response to the read processing, the additional control device extracts the information contained in the address. For example, data can be sent to the additional control device using a read-only bus.
付加制御装置には、 プロ グラムを記憶する R A Mと、 通信部が受け取ったデー タをプロ グラ ムと して R A Mに展開するプロ グラム展開手段と、 展開されたプロ グラムの所定の番地に、 前記第 2のプロセ ッサの制御を移管する制御移管手段と を設けるこ とができ、 外部から通信により送ったプロ グラ ムを付加制御装置に実 行させることができる。  The additional control device includes a RAM for storing the program, program expansion means for expanding the data received by the communication unit into the RAM as a program, and a predetermined address of the expanded program. A control transfer means for transferring control of the second processor can be provided, and a program sent from outside through communication can be executed by the additional control device.
こ う したプログラムと しては、 付加制御装置のデバッ グ用プロ グラ ム、 第 2の 記憶手段に記憶されたデータ処理用の処理手順を修正するプロ グラム、 データ処 理用の処理手順より高機能の処理手順を実現するプロ グラ ム等が考えられる。 更に、 付加制御装置は、 メ モ リを増設可能なコネク タを備え、 こ.のコネク タに、 通信手段を介して受け取ったデータに対して実行する処理手順を記憶した R O M も し く はデー夕を記憶可能な R A Mなどを備えたメモ リ カー ドを装着するこ とも 好適である。  Such programs include a program for debugging the additional control device, a program for modifying the processing procedure for data processing stored in the second storage means, and a program for processing higher than the processing procedure for data processing. A program that implements the processing procedure of a function can be considered. Further, the additional control device has a connector capable of adding memory, and the connector has a ROM or a data storing a processing procedure to be executed on the data received through the communication means. It is also preferable to install a memory card provided with a RAM capable of storing evenings.
このほか、 付加制御装置に、 電子装置の第 1 のプロセ ッサが実行する処理を記 憶する第 3の記憶手段を備えると共に、 電子装置に、 付加制御装置内の第 3の記 億手段に記憶された処理に、 所定のタイ ミ ン グで、 第 1 のプロセ ッ サの制御を移 管する手段を設けるこ とが考えられる。 この場合、 電子装置の行なう処理も付加 制御装置側で用意できるので、 両者一体となって実現する情報処理装置を容易に 実現することができる。 In addition, the additional control device is provided with third storage means for storing the processing executed by the first processor of the electronic device, and the electronic device is provided with the third storage means in the additional control device. It is conceivable to provide a means for transferring the control of the first processor to the stored processing at a predetermined timing. In this case, the processing performed by the electronic device can also be prepared on the additional control device side. Can be realized.
( 2 ) 付加制御装置と しての発明 (2) Invention as additional control device
付加制御装置と してなされたこの発明は、  This invention made as an additional control device,
論理演算可能な第 1 のプロセッサ、 該プロセ ッサが実行する処理を記憶した第 1 の記憶手段を備えた電子装置に、 該電子装置に設けられたコネク タを介して接 続される付加制御装置であって、  A first processor capable of performing a logical operation, an additional control connected via a connector provided in the electronic device to an electronic device including first storage means storing processing executed by the processor; A device,
外部の機器からデータを受け取る通信手段と、  A communication means for receiving data from an external device;
前記第 1 のプロセ ッサとは異なる処理を行なう第 2のプロセッサと、 該第 2のプロセ ッサが、 前記通信手段を介して受け取ったデータに対して実行 する処理手順を少な く とも記憶した第 2の記憶手段と、  A second processor that performs processing different from that of the first processor, and at least a processing procedure that the second processor executes on data received via the communication unit is stored. A second storage means,
該第 2のプロセ ッサにより処理された後のデータを、 前記電子装置に出力する データ出力手段と  Data output means for outputting the data processed by the second processor to the electronic device;
を備えたこ とを要旨とする。  The gist is to have
この付加制御装置は、 通信手段により外部の機器からデータを受け取り、 第 2 のプロセ ッサが、 第 2の記憶手段に記憶した処理手順に従って、 第 1 のプロセ ッ サとは異なる処理を行ない、 これを電子装置に出力する。 従って、 この付加制御 装置は、 電子装置に付加されたと き、 全体と して電子装置自体が実現する処理と は異なる処理を実現する こ とができ る。  The additional control device receives data from an external device through communication means, and the second processor performs processing different from that of the first processor according to the processing procedure stored in the second storage means. This is output to the electronic device. Therefore, when this additional control device is added to the electronic device, it is possible to realize a process different from the process realized by the electronic device itself as a whole.
この付加制御装置は、 Γ ( 1 ) 情報処理装置と しての発明」 の項で説明した種 々の構成が可能である。  The additional control device can have various configurations as described in the section of (1) Invention as information processing device.
( 3 ) 情報処理方法と しての発明 (3) Invention as an information processing method
情報処理方法と してなされた発明は、  The invention made as the information processing method,
論理演算可能な第 1 のプロセ ッサ、 該プロセ ッザが実行する処理を記憶した第 1 の記憶手段を備えた電子装置と、 該電子装置にコネク タを介して接続され、 前 記第 1 のプロセ ッサとは別個の処理を行なう第 2のプロセ ッサを備えた付加制御 装置とが共働して行なう情報処理方法であつて'、  A first processor capable of performing a logical operation, an electronic device including first storage means for storing processing executed by the processor, and a first processor connected to the electronic device via a connector; An information processing method performed in cooperation with an additional control device having a second processor that performs processing different from that of the first processor.
前記付加制御装置では、 外部の機器から通信により直接デ一タを受け取り、 In the additional control device, Receives data directly from external devices by communication,
前記第 2のプロセ ッザが、 該第 2 'のプロセ ッサから読出可能に設けられた第 2の記憶手段に記憶された処理手順により、 前記通信によ り受け取ったデータに 対して処理を行ない、  The second processor performs a process on the data received by the communication according to a processing procedure stored in a second storage means readable from the second 'processor. Do,
該第 2のプロセ ッサにより処理された後のデータを、 前記電子装置に出力す る  Outputting the data processed by the second processor to the electronic device;
こ とを要旨とする。  This is the gist.
この情報処理方法では、 付加制御装置が直接外部の機器から通信よりデータを 受け取るので、 電子装置が受け取る こ とのできなかったデータの処理が可能とな 。  In this information processing method, the additional control device directly receives data from an external device through communication, so that data that cannot be received by the electronic device can be processed.
この情報処理方法も、 「 ( 1 ) 情報処理装置と しての発明」 の項で説明した種 々の構成が可能である。  This information processing method can also have the various configurations described in the section “(1) Invention as information processing device”.
( 4 ) プ リ ン タに適用された発明 (4) Invention applied to the printer
以上説明した情報処理装置、 付加制御装置、 情報処理方法は、 種々の機器に適 用可能である  The information processing device, additional control device, and information processing method described above can be applied to various devices.
例えば、 情報処理装置と して、  For example, as an information processing device,
電子装置は、 外部から受け取った印字データを展開して印刷を行なうプリ ン タ であり、  The electronic device is a printer that expands print data received from the outside and prints the data.
付加制御装置は、 このプリ ン タのコネクタに装着されたカー ト リ ッ ジであり、 その第 2の記憶手段は、 通信手段を介して受け取った印字データを解釈して画 像データを展開するべ一ジ記述言語のィ ンタープリ タを記憶する構成が可能であ る。  The additional control device is a cartridge mounted on the connector of the printer, and the second storage means interprets the print data received via the communication means and expands the image data. A configuration for storing an interpreter in a page description language is possible.
この場合、 ページ記述言語を処理できなかったプリ ン タに処理機能を付加する こ と、 ページ記述言語の処理能力を変更または向上するこ とが容易に実現できる < 一方、 付加制御装置と して、  In this case, it is possible to easily add a processing function to the printer that could not process the page description language, and to easily change or improve the processing capability of the page description language. ,
外部から受け取った印字データを展開して印刷を行なう プリ ン タである電子装 置のコネクタに力一 ト リ ッ ジの形態で装着され、  It is attached to the connector of the electronic device, which is a printer that expands the print data received from the outside and prints it, in the form of a force trigger,
第 2の記憶手段は、 通信手段を介して受け取った印字データを解釈して画像デ 一夕を展開するページ記述言語のィ ンタープリ タを記憶する構成が可能である。 更に、 情報処理方法と して、 The second storage means interprets the print data received via the communication means and interprets the image data. A configuration is possible in which an interpreter in a page description language that develops overnight is stored. Furthermore, as an information processing method,
電子装置のコネク タにカー ト リ ツ ジの形態で装着された付加制御装置が、 内部 に記憶したページ記述言語のィ ンタープリ タにより、 通信によって外部から直接 受け取った印字データを解釈して画像データを展開し、  An additional control device mounted in the form of a cartridge on the connector of the electronic device interprets print data received directly from the outside through communication using a page description language interpreter stored internally, and stores image data. And expand
電子装置は、 画像データを受け取って印刷を行なう構成が可能である。  The electronic device can be configured to receive image data and perform printing.
なお、 本発明は、 プリ ン タ以外の機器にも適用可能であり、 例えばフ ァ ク シ ミ リに応用して、 付加制御装置側にディ ジタル通信用の通信手段を設け、 G 3規格 までしか処理できないフ ァ ク シ ミ リ を G 4対応と したり、 電子楽器に適用して、 付加制御装置側に M I D I 対応のコ ネク タを設け、 電子楽器に M I D I の機能を 付加するなど、 種々の機器への応用が可能である。  The present invention can be applied to equipment other than a printer. For example, by applying to a facsimile, a communication means for digital communication is provided on the additional control device side, and up to the G3 standard. For example, the facsimile that can only be processed by the G4 is compatible with the G4, and it is applied to the electronic musical instrument. It is possible to apply to other devices.
【図面の簡単な説明】 [Brief description of the drawings]
図 1 は、 本発明の一実施例であるプリ ンタ装置の概略構成図である。  FIG. 1 is a schematic configuration diagram of a printer device according to one embodiment of the present invention.
図 2は、 実施例のプリ ン タ本体 1 に内蔵された電子制御装置 1 0の構成を示 すブロ ッ ク図である。  FIG. 2 is a block diagram showing a configuration of the electronic control unit 10 built in the printer main body 1 of the embodiment.
図 3は、 カー ト リ ッ ジ 3の外観形状とプリ ンタ本体 1 への取付の状態を示す 斜視図である。  FIG. 3 is a perspective view showing an external shape of the cartridge 3 and a state of attachment to the printer main body 1.
図 4は、 カー ト リ ッ ジ 3の内部構成の概略を示すプロ ッ ク図である。  FIG. 4 is a block diagram schematically showing the internal configuration of the cartridge 3.
図 5は、 カー ト リ ッ ジ 3側の処理を示すフ ローチ ヤ一トである。  FIG. 5 is a flowchart showing the processing on the cartridge 3 side.
図 6は、 通信を行なう他の構成を示すプロ ッ ク図である。  FIG. 6 is a block diagram showing another configuration for performing communication.
図 7は、 更に他の構成を示すブロ ッ ク図である。  FIG. 7 is a block diagram showing still another configuration.
図 8は、 第 1 実施例の変形例を示すブロ ッ ク図である。  FIG. 8 is a block diagram showing a modification of the first embodiment.
図 9は、 第 2実施例のレーザプリ ンタ 5 0 0の外観を示す斜視図である。 図 1 0は、 同じ くいま一つのレーザプリ ン タ 5 0 0の形状を示す斜視図であ る。  FIG. 9 is a perspective view showing the appearance of the laser printer 500 of the second embodiment. FIG. 10 is a perspective view showing the shape of another laser printer 500.
図 1 1 は、 第 2実施例の全体構成を示すブロ ッ ク図である。  FIG. 11 is a block diagram showing the overall configuration of the second embodiment.
図 1 2は、 第 2実施例における カー ト リ ッ ジ 5 0 3の外形を示す斜視図であ る。 図 1 3は、 カー ト リ ッ ジ 503の構造を示す分解斜視図である。 FIG. 12 is a perspective view showing the outer shape of a cartridge 503 in the second embodiment. FIG. 13 is an exploded perspective view showing the structure of the cartridge 503. FIG.
図 1 4は、 カー ト リ ッ ジ 503の基板上の素子配列を示す斜視図である。 図 1 5は、 コネクタ C N 1 1における信号線の構成を示す説明図である。 図 1 6は、 電子制御装置 50 1側からみたカー ト リ ッ ジ 503のア ド レ スマ ッ プを示す説明図である。  FIG. 14 is a perspective view showing an array of elements of the cartridge 503 on the substrate. FIG. 15 is an explanatory diagram showing a configuration of a signal line in the connector CN 11. FIG. 16 is an explanatory diagram showing an address map of the cartridge 503 viewed from the electronic control device 501 side.
図 1 7は、 マイ クロ プロセッサ 60 1側からみたカー ト リ ッ ジ 503のア ド レ スマッ プを示す説明図である。  FIG. 17 is an explanatory diagram showing an address map of the cartridge 503 as viewed from the microprocessor 601 side.
図 1 8は、 カー ト リ ッ ジ 503の内部構成を示すブロ ッ ク図である。  FIG. 18 is a block diagram showing the internal configuration of the cartridge 503.
図 1 9は、 通信制御部 604の構成を示すブロ ッ ク図である。  FIG. 19 is a block diagram illustrating the configuration of the communication control unit 604.
図 20は、 割込要求レ ジ ス タ 640の構成例を示す回路図である。  FIG. 20 is a circuit diagram showing a configuration example of the interrupt request register 640.
図 2 1は、 ポー リ ン グ · コ マ ン ド レ ジス タ 643の構成例を示す回路図であ る。  FIG. 21 is a circuit diagram showing a configuration example of the polling command register 643.
図 22は、 ス テー タ ス レ ジス タ 645の内容を示す説明図である。  FIG. 22 is an explanatory diagram showing the contents of the status register 645.
図 23は、 読出制御回路 620の構成例を示す回路図である。  FIG. 23 is a circuit diagram showing a configuration example of the read control circuit 620.
図 24は、 読出制御回路 620を用いたデータ転送を実現する電子制御装置 FIG. 24 shows an electronic control unit for realizing data transfer using the read control circuit 620.
50 1側の処理を示すフ ローチ ヤ一トである。 50 This is a flowchart showing the processing on the 1 side.
図 25は、 読出制御回路 620を用いたデータ転送を実現する カー ト リ ッ ジ FIG. 25 shows a cartridge for realizing data transfer using the read control circuit 620.
503側の処理を示すフ ローチ ャ ー トである。 This is a flowchart showing the processing on the 503 side.
図 26は、 F I F O制御回路 623を用いたデータ転送を実現する電子制御 装置 50 1側の処理を示すフローチ ャー トである。  FIG. 26 is a flowchart showing processing on the electronic control device 501 that realizes data transfer using the FIFO control circuit 623.
図 27は、 F I F O制御回路 623を用いたデータ転送を実現するカー ト リ ッ ジ 503側の処理を示すフローチ ヤ ー トである。  FIG. 27 is a flowchart showing processing on the cartridge 503 side for realizing data transfer using the FIFO control circuit 623.
図 28は、 ダブルバ ン ク制御回路 624の構成例を示す回路図である。 図 29は、 ダブルバ ン ク制御回路 624を用いたデータ転送の開始のための 処理を示すフ ローチ ヤ一トである。  FIG. 28 is a circuit diagram showing a configuration example of the double bank control circuit 624. FIG. 29 is a flowchart showing a process for starting data transfer using the double bank control circuit 624.
図 30は、 同じ く電子制御装置 50 1側におけるその応答処理を示すフ口一 チ ヤ一ト であ る。  FIG. 30 is a flowchart showing the response processing on the electronic control device 501 side.
図 3 1は、 ダブルバ ン ク制御回路 624を用いたデータ転送を実現する電子 制御装置 50 1側の処理を示すフ ロ ーチ ャー トである。 図 32は、 ダブルバンク制御回路 624を用いたデータ転送を実現する カー ト リ ッ ジ 503側の処理を示すフローチ ヤ一トである。 FIG. 31 is a flowchart showing a process on the electronic control device 501 that realizes data transfer using the double bank control circuit 624. FIG. 32 is a flowchart showing processing on the cartridge 503 side for realizing data transfer using the double bank control circuit 624.
図 33は、 レーザエ ン ジ ン 505.を制御して行なわれる画像デーダの印刷の タイ ミ ン グを示すタイ ミ ン グチ ヤ一トである。  FIG. 33 is a timing chart showing the timing of printing image data performed by controlling the laser engine 505.
図 34は、 E E PROMに記憶される設定値の変更を行なう処理ルーチンを 示すフ ローチ ャー トである。 -  FIG. 34 is a flowchart showing a processing routine for changing the set value stored in the EEPROM. -
【符号の説明】 [Explanation of symbols]
1 プ リ ン タ本体  1 Printer body
3 カー ト リ ッ ジ  3 Cartridge
5 コ ン ピュータ  5 Computer
1 0 電子制御装置  1 0 Electronic control unit
1 1 コ ネ ク タ  1 1 Connector
1 2 半導体レーザ装置  1 2 Semiconductor laser device
1 5 ゼロ グラ フ ィ ユエ ッ ト  1 5 Zero Graph Unit
3 1 C PU  3 1 C PU
32 ア ドレスバス  32 A Dress Bath
34 データバス  34 Data bus
36 制御信号バス  36 Control signal bus
4 1 ア ドレスデコーダ  4 1 Address decoder
43 R OM  43 R OM
45 D RAM  45 D RAM
7 1 C PU  7 1 C PU
73 R OM  73 R OM
75 RAM  75 RAM
77 ゲー ト ア レイ  77 Gate Array
95 RAM  95 RAM
500 レーザプリ ン タ  500 laser printer
50 1 電子制御装置 503 カー ト リ ッ ジ 50 1 Electronic control unit 503 Cartridge
505 レーザエ ン ジ ン  505 Laser engine
507 ワ ー ク ス テー シ ョ ン  507 Workstation
5 1 0 C PU  5 1 0 C PU
5 1 4 デー タ入力ポー ト  5 1 4 Data input port
5 1 7 レ ジ ス タ  5 1 7 Register
5 1 8 コ ン ソ ールパネル  5 1 8 Console panel
5 1 9 コ ン ソールパネ ル I / F 5 1 9 Console panel I / F
520 ダブルバ ッ フ ァ回路 520 Double buffer circuit
550 プ リ ン ト基板  550 printed circuit board
60 1 マイ ク ロ プロセ ッ サ  60 1 Micro processor
602 メ モ リ部 602 Memory section
603 データ転送制御部  603 Data transfer control unit
604 通信制御部  604 Communication control unit
620 読出制御回路  620 Read control circuit
62 1 F I F Oメ モ リ  62 1 F I F O Memory
623 F I F O制御回路  623 F I F O control circuit
624 ダブルバッ フ ァ制御回路  624 Double buffer control circuit
635 バス制御部  635 Bus control unit
640 割込要求レ ジ ス タ  640 Interrupt request register
643 コ マ ン ド レ ジ ス タ  643 Command register
645 ス テー タ ス レ ジ ス タ  645 Status register
647 転送フ ラ グレ ジ ス タ  647 Transfer flag register
649 P ROMコ ン ト ロール レ ジ ス タ 649 P ROM control register
650 コ ン ト ロール レ ジ ス 夕 650 Control Register Evening
653 F I F O書込レ ジ ス タ  653 F I F O write register
655 F I F O読出レ ジ ス タ  655 F I F O read register
670 E E PR0M [発明を実施するための最良の形態】 670 EE PR0M [Best Mode for Carrying Out the Invention]
以下、 実施例について説明するが、 説明が多岐に亘るため、 次の各項に分けて 説明する。  Hereinafter, the embodiment will be described. However, since the description is diversified, the description is divided into the following sections.
[ i ] 第 1の実施例  [i] First embodiment
A. ハ ー ドウ ヱァの全体の構成  A. Overall configuration of hardware
B. 電子制御装置 1 0の構成と働き  B. Configuration and function of electronic control unit 10
C . カー ト リ ッ ジ 3の構成  C. Configuration of Cartridge 3
D . コネク タ 7からのデータの転送と展開  D. Data transfer and expansion from connector 7
E . 電子制御装置 1 0の動作  E. Operation of electronic control unit 10
F. 第 1実施例の効果  F. Effects of the first embodiment
G. 第 1実施例の変形例一その 1  G. Modified Example of First Embodiment Part 1
H. 第 1実施例の変形例一その 2  H. Modification Example 1 of First Embodiment Part 2
[ i i ] 第 2の実施例 [ii] Second Embodiment
A. 全体構成の説明  A. Description of overall configuration
B . カー ト リ ッ ジの構造  B. Cartridge structure
C . カー ト リ ッ ジのア ドレス空間  C. Cartridge address space
D. カー ト リ ッ ジ内部の概略構成と通信制御部の構成  D. Schematic configuration inside the cartridge and configuration of the communication controller
E . データ転送制御部 603の説明  E. Explanation of data transfer control unit 603
F . 各レジス タの説明  F. Description of each register
G. 読出制御回路 620の構成と働き  G. Configuration and Function of Readout Control Circuit 620
H. F I F 0制御回路 623の構成と働き  Configuration and function of H.FIFO control circuit 623
I . ダブルバン ク制御回路 624の構成と働き  I. Configuration and Function of Double Bank Control Circuit 624
J . 画像データの印刷  J. Printing image data
K. 第 2実施例の効果  K. Effect of the second embodiment
L. その他の実施例  L. Other examples
[ i ] 第 1の実施例 . [i] First embodiment.
A. ハ ー ドウ ヱァの全体の構成 以上説明した本発明の構成 ·作用を一層明らかにするために、 以下本発明の好 適な実施例について説明する。 最初に、 本発明をプリ ン タ に適用した実施例を説 明する。 図 1 は、 本実施例のプリ ン タ本体 1 と これに装着されたカー ト リ ッ ジ 3 の概略構成を示すブロ ッ ク図である。 図示するように、 プ リ ンタ本体 1 は、 コ ン ピュータ 5に接続するためのコネク タ 6を有し、 通常は、 このコネク タ 6から印 字のためのデータを受け取る。 一方、 カー ト リ ッ ジ 3には、 高速の口一カルエ リ ァネ ッ ト ワーク ( L A N ) 用のコネク タ 7が設けられており、 L A Nケーブル 8 に接続されている。 ロー カルエ リ アネ ッ ト ワーク と しては、 イーサネ ッ ト (ゼロ ッ クス社の商標) 等が用いられる。 このローカルエ リ アネ ッ ト ワークには、 ヮー クステーシ ョ ン 9が接続されており、 カー ト リ ッ ジ 3は、 ワークステーシ ョ ン 9 から直接データを受け取るこ とができる。 カー ト リ ッ ジ 3 と ワークステー シ ョ ン 9 との通信については、 後述する。 A. Overall configuration of hardware Preferred embodiments of the present invention will be described below to further clarify the configuration and operation of the present invention described above. First, an embodiment in which the present invention is applied to a printer will be described. FIG. 1 is a block diagram showing a schematic configuration of a printer main body 1 of the present embodiment and a cartridge 3 mounted on the printer main body. As shown in the figure, the printer main body 1 has a connector 6 for connecting to a computer 5, and normally receives data for printing from the connector 6. On the other hand, the cartridge 3 is provided with a connector 7 for a high-speed oral communication network (LAN), and is connected to a LAN cable 8. As the local area network, Ethernet (trademark of Xerox Corporation) or the like is used. A work station 9 is connected to the local area network, and the cartridge 3 can receive data directly from the work station 9. The communication between the cartridge 3 and the workstation 9 will be described later.
プリ ン タ本体 1 は、 図示するよう に、 ゼログラフ ィ法のいわゆるページプリ ン 夕であって、 印字データに基づいて、 ゼログラ フ ィの手法により、 用紙 Pに画像 を形成する。 プリ ン タ本体 1 の内部には、 印字データを入力して画像を展開する 電子制御装置 1 0、 電子制御装置 1 0のア ドレスバス, データバスな どが接続さ れたコネクタ 1 1、 電子制御装置 1 0により駆動される半導体レーザ装置 1 2、 感光ドラム 1 4を中心に構成されたゼログラフ ィュニ ッ ト 1 5、 用紙 Pを収納す る用紙カセ ッ ト 1 7、 用紙 Pを感光 ドラム 1 4の周面に接するように搬送する搬 送機構 1 9、 トナーが転写された用紙 Pを加熱して トナーを定着する熱定着ロー ラ 2 1、 印刷された用紙 Pが排紙される ト レイ 2 3を備える。  As shown in the figure, the printer main body 1 is a so-called page printer of a zero graph method, and forms an image on a sheet of paper P by a zero graph method based on print data. The electronic control unit 10 that inputs print data and develops images inside the printer body 1, the connector 11 to which the address bus and data bus of the electronic control unit 10 are connected, and the electronic control unit 10. Semiconductor laser device 12 driven by controller 10, zero graph unit 15 composed mainly of photosensitive drum 14, paper cassette 17 for storing paper P, photosensitive drum 1 for paper P A transport mechanism 19 that transports the paper so that it contacts the peripheral surface of 4, a heat fixing roller 21 that heats the toner-transferred paper P to fix the toner 21 and a tray where the printed paper P is discharged 2 and 3 are provided.
ゼログラフ ィユニ ッ ト 1 5は、 感光ドラム 1 4の表面を帯電させる帯電ュニッ ト 2 5、 半導体レーザ装置 1 2からのレーザ光により電荷が逃がされた部位にそ れ自身帯電された トナーを塗布する トナーュニ ッ ト 2 7、 用紙 Pへの転写後に感 光ド ラム 1 4上に残った トナーを除去する トナー除去ュニッ ト 2 9から構成され ている。 電子制御装置 1 0は、 感光 ドラム 1 4の回転に同期して、 半導体レーザ 装置 1 2を駆動し、 印刷しょう とする画像に対応した部位にレーザ光を照射して、 潜像を形成する。 レーザ光の照射を受けた部位の電荷は失われるから、 感光ドラ ム 1 4 と同じ符号に帯電された トナーは、 電荷の失われた部位にのみ転写される。 感光ド ラ ム 1 4の回転に同期して、 用紙カセ ッ ト 1 7からは、 用紙 Pが 1枚引 き出され、 搬送機構 1 9により、 感光ド ラ ム 1 4へと送られる。 用紙 Pは、 感光 ド ラ ム 1 4と転写ロ ーラ 30との間に挟持されて搬送されるので、 感光ド ラ ム 1 4上の トナーの大部分は、 用紙 P上に転写される。 用紙 Pは、 トナーを表面に担 持したまま、 熱定着ローラ 2 1に送られ、 こ こで加熱されて トナーが溶け、 用紙 Pに定着される。 以上、 簡単にプリ ンタ本体 1内での印刷の工程について説明し たが、 本発明は、 レーザ プ リ ン タ に限定されるものではな く、 例えば感光ド ラ ム 1 4の露光に L E Dを用いたもの、 印刷にイ ン クジヱ ッ ト方式を採用したものな ど、 種々のプリ ンタに適用するこ とができる。 The Xerographic unit 15 is a charging unit 25 that charges the surface of the photosensitive drum 14 and the toner that has been charged by the laser beam from the semiconductor laser device 12 is coated with the toner itself. Yes Toner unit 27, composed of toner removal unit 29 for removing toner remaining on photosensitive drum 14 after transfer to paper P. The electronic control device 10 drives the semiconductor laser device 12 in synchronization with the rotation of the photosensitive drum 14 and irradiates a portion corresponding to an image to be printed with laser light to form a latent image. Since the charge at the portion irradiated with the laser beam is lost, the toner charged to the same sign as the photosensitive drum 14 is transferred only to the portion where the charge is lost. One sheet of paper P is pulled out of the paper cassette 17 in synchronization with the rotation of the photosensitive drum 14, and is sent to the photosensitive drum 14 by the transport mechanism 19. Since the paper P is conveyed while being sandwiched between the photosensitive drum 14 and the transfer roller 30, most of the toner on the photosensitive drum 14 is transferred onto the paper P. The paper P is sent to the heat fixing roller 21 while holding the toner on the surface, where it is heated to melt the toner and fixed on the paper P. Although the printing process in the printer main body 1 has been briefly described above, the present invention is not limited to the laser printer. For example, an LED is used for exposing the photosensitive drum 14. The present invention can be applied to various printers, such as those used and those employing an ink jet method for printing.
B. 電子制御装置 1 0の構成と働き B. Configuration and function of electronic control unit 10
次に、 プリ ンタ本体 1 に内蔵された電子制御装置 1 0の構成について説明する c 図 2に示すように、 電子制御装置 1 0は、 処理全体を司るプロセ ッサである周知 の C PU 3 1を中心とする算術論理演算回路と して構成されており、 以下の各素 子をア ド レス バス 32、 データパス 34、 制御信号バス 36などで相互に接続し た構成となっている。 これらのパスに接続されているのは、 ア ド レ スデコーダ 4 1、 ROM43、 ダイナ ミ ッ ク RAM (以下、 DRAMと呼ぶ) 45、 メ モ リ コ ン ト ロールユニッ ト (以下、 MC Uと呼ぶ) 47、 I ZOポー ト 49、 レーザ I ZF 5 1、 コ ネク タ 1 1などである。 各素子は、 各バス に対して読み書き可能に 接続されているが、 コネク タ 1 1だけは、 データバス 34との間にバス ドライバ 52が設けられており、 C PU 3 1から見た場合、 コネク タ 1 1に接続された力 一ト リ ッ ジ 3は、 読み出し専用のデバイ スとなっている。 Next, as shown in c Figure 2 illustrating a configuration of the electronic control unit 1 0 built in printer main body 1, the electronic control unit 1 0 is known C PU 3 is a process Tsu service that performs overall process It is configured as an arithmetic and logic operation circuit centered on 1 and has a configuration in which the following elements are mutually connected by an address bus 32, a data path 34, a control signal bus 36, and the like. Connected to these paths are the address decoder 41, ROM43, dynamic RAM (hereinafter referred to as DRAM) 45, and memory control unit (hereinafter referred to as MCU). 47, IZO port 49, laser IZF 51, connector 11 and so on. Each element is connected to each bus in a readable and writable manner. However, only the connector 11 has a bus driver 52 provided between it and the data bus 34, and when viewed from the CPU 31, Force trigger 3 connected to connector 11 is a read-only device.
ア ド レ スデコーダ 41 は、 CPU 3 1が生成するァ ド レ ス信号をデコー ドする ものであり、 あるア ド レ ス が指定される と、 メ モ リ空間への割当に従って、 RO M 43 , D R AM 45 , I /Oポー ト 49, レーザ Iノ F 5 1にセ レ ク ト信号を 出力する。 R OM43は、 処理プロ グラ ムを内蔵するも のであり、 通常 C P U 3 1は、 R OM 43に記憶されたプロ グラムに従って動作する。 DRAM 45は、 画像データを展開するためのものであり、 少な く とも 1ページ分の画像データを 記憶する必要がある ことから、 本実施例では、 2メガバイ トの容量を有する。 MCU 47は、 C PU 3 1の出力する制御信号を解析して R0M43, DRA M 45などの制御信号を出力するもの'であり、 メ モ リや I 0ポー トの リー ド · ラ ィ ト信号を出力したり、 D RAM45の リ フ レ ッ シュ タイ ミ ングなどを決定する。 なお、 M C U 47には、 リ フ レ ッ シ ュ タイ マ 53が接続されており、 リ フ レ ツ シ ユ タイ マ 53からの信号を受けて、 リ フ レ ッ シ ュ可能なタイ ミ ングである と判断 する と、 MC U 47は、 リ フ レ ッ シ ュ ア ド レ スを出力し、 マルチプレ ツ クサ 55 を介して、 D RAM45に リ フ レ ッ シ ュ ア ド レ スを出力する。 I /Oポー ト 49 は、 外部のコ ン ピ ュータ 5から印字データを受け取ったりゼログラフ ィュニ ッ ト 1 5の図示しないモータ等とのイ ン タフ ヱースを司るものでる。 また、 レーザ I /F 5 1は、 半導体レーザ装置 1 2を駆動する カー ト リ ッ ジ 3に接続され、 半導 体レーザ装置 1 2とのイ ンタフェースを司るものである。 電子制御装置 1 0には、 このほか、 タイ マ 57が設けられており、 コネク タ 1 1 と C PU 3 1 とに接続さ れている。 The address decoder 41 decodes an address signal generated by the CPU 31. When a certain address is designated, the ROM decoder 43 decodes the ROM 43, according to the allocation to the memory space. Select signals are output to DRAM 45, I / O port 49, and laser I / F 51. The ROM 43 has a built-in processing program, and the CPU 31 normally operates according to the program stored in the ROM 43. The DRAM 45 is for expanding image data, and since it is necessary to store at least one page of image data, the DRAM 45 has a capacity of 2 megabytes in this embodiment. The MCU 47 analyzes the control signal output from the CPU 31 and outputs a control signal such as R0M43, DRAM45, etc., and reads the memory and I / O port read / write signal. Output and determine the refresh timing of DRAM45. The MCU 47 is connected to a refresh timer 53, which receives a signal from the refresh timer 53 and uses a refreshable timing. If it is determined that there is, the MCU 47 outputs a refresh address and outputs the refresh address to the DRAM 45 via the multiplexer 55. The I / O port 49 receives print data from an external computer 5 and interfaces with a motor (not shown) of the zero graph unit 15. The laser I / F 51 is connected to a cartridge 3 that drives the semiconductor laser device 12 and controls an interface with the semiconductor laser device 12. The electronic control unit 10 further includes a timer 57, which is connected to the connector 11 and the CPU 31.
この電子制御装置 1 0を備えたプリ ンタ本体 1の基本的な機能は、 I ZOポー ト 49を介して外部のコ ン ピ ュータ 5から受け取った印字データ (ビッ トイ メー ジに予め展開されたデータ) を、 内部の D R AM 45に展開し、 1ページ分のデ 一夕が用意できたところでゼログラ フ ィュニッ ト 1 5を制御すると共に半導体レ 一ザ装置 1 2を駆動し、 画像データをそのまま印刷するものである。 この基本機 能に加えて、 本実施例のプリ ン タ本体 1は、 拡張機能と して、 コネク タ 1 1に接 続したカー ト リ ッ ジを利用して、 よ り高度の印刷を行なう こ とができ る。 このプ リ ン タ本体 1の場合、 フ ォ ン 卜が記憶されたフ オ ン ト カー ト リ ッ ジゃページ記述 言語を解釈するプロ グラムを記憶したもの等の既存のカー ト リ ッ ジに加えて、 後 述するプロセ ッサ内蔵のカー ト リ ヅ ジ 3が接続可能である。  The basic functions of the printer body 1 equipped with the electronic control unit 10 are the print data (pre-developed in the bit image) received from the external computer 5 via the IZO port 49. The data) into the internal DRAM 45, and when the data for one page has been prepared, control the zero graph unit 15 and drive the semiconductor laser device 12 so that the image data remains as it is. It is to be printed. In addition to this basic function, the printer body 1 of the present embodiment uses the cartridge connected to the connector 11 as an extended function to perform higher-level printing. be able to. In the case of the printer main body 1, a font cartridge, in which fonts are stored, is described in an existing cartridge, such as one in which a program for interpreting a page description language is stored. In addition, a cartridge 3 with a built-in processor described later can be connected.
C . カー ト リ ッ ジ 3の構成 C. Configuration of Cartridge 3
本実施例のカー ト リ ッ ジ 3の外観形状を、 図 3に示す。 このカー ト リ ッ ジ 3は. 図示するよう に、 プリ ン タ本体 1に設けられたコネク タ取付部 6 1に装着される ものであり、 その外観は、 コネク タ取付部 6 1 に挿入される側が直方体形状をし ているのに対し、 プリ ン タ本体 1の筐体外側に飛び出す部分が縦断面台形形状と なっている。 カー ト リ ッ ジ 3をコネ ク タ取付部 6 1に差し込んで押し入れると、 カー ト リ ッ ジ 3後端のコ ネク タがコ ネク タ 1 1に嵌まつて、 両者は電気的に接続 される。 この状態では、 カー ト リ ッ ジ 3の段差部がプリ ンタ本体 1の筐体にほぼ 接する位置となる。 プリ ンタ本体 1の筐体外側に飛び出したカー ト リ ッ ジ 3の前 方部分は、 その上面が傾斜しており、 不注意に、 他の物品をその上に載せたりす ることがない。 FIG. 3 shows the external shape of the cartridge 3 of this embodiment. As shown in the figure, the cartridge 3 is to be mounted on a connector mounting portion 61 provided on the printer body 1, and its appearance is inserted into the connector mounting portion 61. The side of the printer body 1 has a rectangular parallelepiped shape, while the part of the printer body 1 Has become. When the cartridge 3 is inserted into the connector mounting part 61 and pushed in, the connector at the rear end of the cartridge 3 fits into the connector 11 and both are electrically connected. Is done. In this state, the step of the cartridge 3 is in a position almost in contact with the housing of the printer body 1. The front part of the cartridge 3 that protrudes out of the housing of the printer body 1 has an inclined upper surface, so that other articles cannot be inadvertently placed on it.
次に、 カー ト リ ッ ジ 3の内部構成について説明する。 図 4に、 カー ト リ ッ ジ 3 の内部構成をブロ ッ ク図と して示す。 カー ト リ ッ ジ 3は、 その内部に、 プリ ンタ 本体 1の電子制御装置 1 0の C P U 3 1 とは異なるプロセ ッサである C P U 7 1 を備える。 こ の C PU7 1は、 ページ記述言語の処理等に適した R I S Cタイ プ のものである。 こ の C P U 7 1のア ド レ スバス CADおよび制御信号バス C C T は、 ページ言語処理プロ グラムを内蔵した ROM 73、 データ等を記憶する R A M75、 C P U 7 1のア ド レ スパス等の切換を行なうゲー ト ア レ イ 77、 通信を 制御するシ リ アル I /Oポー ト (S I O) 78、 データをラ ッチする ラ ッチ 79 に接続されている。 ラ ッ チ 79の出力は、 一方向性の第 1のバッ フ ァ 87のデー タ入力側 Dに接続されている。  Next, the internal configuration of the cartridge 3 will be described. Figure 4 shows the internal configuration of the cartridge 3 as a block diagram. The cartridge 3 includes therein a CPU 71 which is a different processor from the CPU 31 of the electronic control unit 10 of the printer body 1. This CPU 71 is of a RISS type suitable for processing of a page description language and the like. The CPU 71 address bus CAD and control signal bus CCT switch the ROM 73 with a built-in page language processing program, the RAM 75 for storing data, etc., and the address path of the CPU 71. It is connected to a gate array 77, a serial I / O port (SIO) 78 for controlling communication, and a latch 79 for latching data. The output of the latch 79 is connected to the data input D of the first unidirectional buffer 87.
S 1 078は、 通信用のレ シーバ 82, ドライバ 84を介して LAN用のコネ ク タ 7に接続されており、 直接コ ネ ク タ 7に接続された制御用の信号線によりや り取りする制御データを用いて、 ローカルエ リ アネ ッ ト ワークに接続された他の 機器、 例えばワー ク ステー シ ョ ン 9から印字用のデータを受け取る。  The S1078 is connected to the LAN connector 7 via the communication receiver 82 and the driver 84, and is exchanged by the control signal line directly connected to the connector 7. The control data is used to receive data for printing from another device connected to the local area network, for example, the workstation 9.
一方、 カー ト リ ッ ジ 3のコネク タ 90には、 カー ト リ ッ ジ 3がプ リ ン タ本体 1 のコネク タ 1 1に装着される と、 電子制御装置 1 0のア ド レ スバス P AD , 読み 出し専用のデータバス P D, 割込信号線 I Aおよびタイ マ 57の信号線 TBが接 続される。 このア ド レ スバス PADは、 ア ド レ スデコーダ 80と R0M86に接 続されており、 データバス P Dは、 一方向性の第 1, 第 2のバ、ソ フ ァ 87, 88 のデータ出力側 0に接続されている。 第 1, 第 2のバッ フ ァ 87, 88は、 ア ド レ スデコーダ 80からの制御信号により、 その出力がコ ン ト ロールされる。 即ち、 ァ ド レ スデコーダ 80が電子制御装置 1 0の C PU 3 1からのァ ド レ スを解析し、 R 0 M 86に対するア ク セ スである と判断すれば、 バッ フ ァ 88のィ ネー ブル端 子 0 Eに制御信号を出力してバッ フ ァ 88の出力を有効と し、 一方、 ラ ッ チ 79 に対するァクセスである と判断すれば、 制御信号をパッ フ ァ 87のィ ネーブル端 子 0 Eに与え、 その出力を有効とする。 従って、 データパス PDには、 電子制御 装置 1 0の C PU 3 1からのアクセスによって、 ROM86の内容も し く はラ ッ チ 79に保持されたデータのいずれか一方が出力される。 On the other hand, when the cartridge 3 is attached to the connector 11 of the printer body 1, the address bus P of the electronic control unit 10 is attached to the connector 90 of the cartridge 3. AD, read-only data bus PD, interrupt signal line IA, and signal line TB of timer 57 are connected. The address bus PAD is connected to the address decoder 80 and R0M86, and the data bus PD is connected to the first and second unidirectional buses and the data output side of the software 87 and 88. It is connected to the. The output of the first and second buffers 87 and 88 is controlled by a control signal from the address decoder 80. That is, if the address decoder 80 analyzes the address from the CPU 31 of the electronic control unit 10 and judges that the access is to the ROM 86, the address of the buffer 88 is determined. Navel edge The control signal is output to the child 0 E to enable the output of the buffer 88, while if it is determined that the access is to the latch 79, the control signal is output to the enable terminal 0 E of the buffer 87. To make the output valid. Therefore, either the contents of the ROM 86 or the data held in the latch 79 are output to the data path PD by the access from the CPU 31 of the electronic control unit 10.
このように、 ROM86の内容を C PU 3 1から直接読み出すこ とができるた め、 このカー ト リ ッ ジ 3は、 電子制御装置 1 0の C P U 3 1の制御を R OM 86 に格納されたプロ グラムに移すこ とができる。 しかも、 そのプログラムを実行す るこ とで、 カー ト リ ッ ジ 3内部の C PU 7 1が RAM 75に用意したデータを、 C PU 3 1が直接読み取れることもできる。 この点を、 更に説明する。  As described above, since the contents of the ROM 86 can be read directly from the CPU 31, the cartridge 3 stores the control of the CPU 31 of the electronic control unit 10 in the ROM 86. Can be transferred to a program. Moreover, by executing the program, the CPU 31 in the cartridge 3 can directly read the data prepared in the RAM 75 by the CPU 31. This point will be further described.
D. コネク タ 7からのデータの転送と展開 D. Data transfer and expansion from connector 7
プリ ン タ本体 1にカー ト リ ッ ジ 3を装着して電源を投入すると、 電子制御装置 1 0の〇 1; 3 1は、 所定の初期化処理を行なった後、 予め定められた特定のァ ドレスのデータを読み出す処理を行なう。 このア ドレスは、 カー ト リ ッ ジ用のス 口 ッ トに害 ϋり当てられた番地であり、 カー ト リ ツ ジが装着されていれば、 装着さ れたカー ト リ ヅ ジがその種類 (フ ォ ン ト カー ト リ ッ ジか、 プログラム カー ト リ ッ ジか) に応じて用意するデータが読み出される。 本カー ト リ ッ ジ 3のように、 プ ロ グラ ムカー ト リ ッ ジであれば、 電子制御装置 1 0の C P U 3 1はこれを認識し て、 制御をカー ト リ ッ ジ 3側の R 0 Μ 86に移す。 具体的には、 R 0 Μ 86に割 り当てられたア ドレス領域の特定の番地に、 ジ ャ ンプして、 その番地以下に格納 されたプログラムを実行するのである。  When the cartridge 3 is mounted on the printer body 1 and the power is turned on, the electronic control unit 10 performs a predetermined initialization process, and then performs a predetermined initialization process. Performs processing to read address data. This address is the address that was harmed to the cartridge slot, and if a cartridge is installed, the installed cartridge is The prepared data is read out according to the type (font cartridge or program cartridge). In the case of a program cartridge as in the case of the cartridge 3, the CPU 31 of the electronic control unit 10 recognizes this and controls the R on the cartridge 3 side. 0 Μ Move to 86. Specifically, it jumps to a specific address in the address area allocated to R0Μ86, and executes the program stored at the address and below.
一方、 カー ト リ ッ ジ 3の C P U 7 1は、 電源投入後、 図 5に示す処理と共に、 S I 078からの要求をに基づく割込処理によ り、 ローカルエ リ アネ ッ ト ワーク からデータを受け取る処理を常時実行している。 受け取ったデータは、 RAM7 5の所定のエ リ アに順次保存され、 一連のデータの転送の完了を示すデータを受 け取るまで繰り返し実行される。 こ こで、 カー ト リ ッ ジ 3がローカルエ リ アネ ッ ト ワークを介してワークステーシ ョ ン 9などから'受け取るデータは、 ぺ一ジ記述 言語、 例えばポス ト スク リ プ ト (ア ドビ社の商標) により記述されたプロ グラム (スク リ プト) である。 データ転送の完了は、 これらのページ記述言語に固有の コ マ ン ド (例えば、 ポス ト ス ク リ プ トでは、 「 S H 0 W P A G E」 など) と し て定義されている。 On the other hand, after the power is turned on, the CPU 71 of the cartridge 3 receives data from the local area network by the interrupt processing based on the request from the SI 078 together with the processing shown in FIG. Processing is always being executed. The received data is sequentially stored in a predetermined area of the RAM 75, and is repeatedly executed until data indicating completion of a series of data transfer is received. Here, the data that the cartridge 3 receives from the workstation 9 or the like via the local area network is written in a page description language, for example, a postscript (by Adobe). Trademark) (Script). Completion of data transfer is defined as a command specific to these page description languages (for example, "SH0WPAGE" in postscript).
C P U 7 1は、 このデータ転送の完了を検出すると、 図 5に示す処理ルーチ ン を起動し、 まずラ ッチ 79に所定のデータを記憶させると共に、 割込信号 I Aを 出力して、 電子制御装置 1 0に転送するデータがあることを通知する (ステ ッ プ S 9 1 ) 。 電子制御装置 1 0のじ? ; 3 1は、 ROM86に格納されたプロダラ ムを実行しているから、 割込信号 I Aに対応した割込処理プロ グラムも、 カー ト リ ッ ジ 3と共に供給されている。 その割込処理では、 ラ ッチ 79に対応したア ド レスをア クセス し、 C P U 7 1が用意したデータを読み取る。 このデータを解析 するこ とによ り、 電子制御装置 1 0の C P U 3 1は、 現在カー ト リ ッ ジ 3がぺー ジ記述言語によるデータを展開中であることを.知るこ とができる。  When detecting the completion of the data transfer, the CPU 71 activates the processing routine shown in FIG. 5, first stores predetermined data in the latch 79, and outputs an interrupt signal IA to perform electronic control. The device 10 is notified that there is data to be transferred (step S91). Electronic control device 10? 31 executes a program stored in the ROM 86, so that an interrupt processing program corresponding to the interrupt signal IA is supplied together with the cartridge 3. In the interrupt processing, an address corresponding to the latch 79 is accessed, and the data prepared by the CPU 71 is read. By analyzing this data, the CPU 31 of the electronic control unit 10 can know that the cartridge 3 is currently developing data in a page description language.
C P U 7 1は、 R OM 73内に記憶しているページ記述言語の解釈用プロダラ ム (ページ記述言語用ィ ンタープリ タ) により、 RAM75内に格納したスク リ ブ トを解釈し、 画像イ メージを生成する処理を行なう (ステ ッ プ S 92) 。 展開 された画像イ メージは、 R AM 75の所定の領域に保存される。 画像イ メージの 展開が完了すると、 C PU 7 1は、 再び、 ラ ッ チ 79に所定のデータをセ ッ トす ると共に、 割込信号 I Aを出力して、 電子制御装置 1 0の C PU 3 1に画像ィ メ ージの展開の完了を通知する (ステ ッ プ S 93 ) 。 続いて、 画像イ メージを電子 制御装置 1 0に転送する処理を開始し、 全画像データの転送が完了するまで継続 する (ステ ッ プ S 94, 95) 。 画像データの転送は、 ラ ッチ 79にデータをセ ッ ト しては、 割込信号 I Aを出力するこ とによ り、 順次行なわれる。  The CPU 71 interprets the script stored in the RAM 75 by using a page description language interpreting program (page description language interpreter) stored in the ROM 73, and generates an image image. A generation process is performed (step S92). The developed image image is stored in a predetermined area of the RAM 75. When the development of the image image is completed, the CPU 71 sets the predetermined data on the latch 79 again, outputs an interrupt signal IA, and outputs the CPU signal of the CPU 10 of the electronic control unit 10 again. 31 notifies the completion of the image image development (step S93). Subsequently, the process of transferring the image image to the electronic control unit 10 is started, and is continued until the transfer of all the image data is completed (steps S94 and S95). The transfer of image data is performed sequentially by setting the data in the latch 79 and outputting the interrupt signal IA.
全画像データの転送が完了する と、 C P U 7 1は、 再び画像データの転送完了 を示すデータをラ ツチ 79にセ ッ ト して割込信号 I Aを出力し (ステッ プ S 96) - 一旦 「N EX T」 に抜けて、 本ルーチ ンを終了する。  When the transfer of all the image data is completed, the CPU 71 sets the data indicating the completion of the transfer of the image data to the latch 79 again and outputs the interrupt signal IA (step S96). N EXT ”to end this routine.
E. 電子制御装置 1 0の働き E. Function of electronic control unit 10
以上説明したカー ト リ ッ ジ 3の処理を受けて、 電子制御装置 1 0は、 '割込信号 I Aを受けるたびに、 所定のァ ドレスをアクセス してラ ツ チ 79に保持された画 像データを 1 バイ トずつ受け取る処理を行ない、 このデータを順次 D R A M 4 5 の所定領域に保存してゆ く。 総ての画像データの転送完了の通知をカー ト リ ッ ジ 3から受け取つた時点では、 電子制御装置 1 0の D R A M 4 5には、 カー ト リ ツ ジ 3で展開された画像データが保存されている。 そこで、 電子制御装置 1 0は、 この画像データに従って、 ゼログラ フ ィュュッ ト 1 5を駆動し、 用紙 Pに画像を 印刷する処理を行なう。 なお、 この状態では、 電子制御装置 1 0の C P U 3 1 は、 カー ト リ ッ ジ 3内の R O M 8 6に記憶されたプロ グラムを実行しているので、 プ リ ンタ本体 1 は、 コネク タ 6を介してコ ンピュータ 5からデータを受け取つて印 字を行なう通常の処理を実行するこ とはできない。 In response to the processing of the cartridge 3 described above, the electronic control unit 10 accesses the predetermined address every time it receives the interrupt signal IA, and the image held in the latch 79 is The image data is received one byte at a time, and this data is sequentially stored in a predetermined area of the DRAM 45. When the notification of completion of transfer of all the image data is received from the cartridge 3, the image data developed by the cartridge 3 is stored in the DRAM 45 of the electronic control unit 10. ing. Therefore, the electronic control unit 10 drives the zero graph 15 according to the image data, and performs a process of printing an image on the paper P. In this state, since the CPU 31 of the electronic control unit 10 is executing the program stored in the ROM 86 in the cartridge 3, the printer 1 is connected to the connector Normal processing for receiving data from the computer 5 via the printer 6 and performing printing cannot be performed.
F . 第 1実施例の効果 F. Effects of the first embodiment
以上説明したように、 本実施例のプリ ンタ本体 1 およびカー ト リ ッ ジ 3によれ ば、 電子制御装置 1 0に設けられたコ ネ ク タ 1 1 に、 画像処理に適したプロセ ッ サを備えたカー ト リ ッ ジ 3を装着して、 しかもこのカー ト リ ッ ジ 3がローカルェ リ アネ ッ ト ワークに接続された他の機器、 こ こではワークステーシ s ン 9からべ ージ記述言語で記述されたスク リ プ トを受け取り、 用紙 Pへの印刷を行なう こと ができる。 従って、 以下の効果が得られる。 As described above, according to the printer main body 1 and the cartridge 3 of the present embodiment, the connector 11 provided in the electronic control unit 10 includes a processor suitable for image processing. the carts wearing the re Tsu di 3 having, moreover other equipment this carts Li Tsu di 3 connected to Rokarue Li Ane Tsu preparative work, workstation shea s emissions 9 Karabe over di described in here It can receive scripts written in a language and print on paper P. Therefore, the following effects can be obtained.
①カー ト リ ッ ジ 3には C P U 7 1 が備えられており、 ローカルエ リ アネ ッ ト ヮ ークを介して受け取ったデータを、 この C P U 7 1 が解釈して画像の展開を行な う。 従って、 単にページ記述言語の処理プログラムをカー ト リ ッ ジ 3で供給する 場合と較べて、 ページ記述言語の処理能力は格段に向上する。 また、 より高次の ページ処理言語をカー ト リ ツ ジ 3にて供給する ことも可能である。  (1) The cartridge 3 is provided with a CPU 71, and the CPU 71 interprets data received via the local area network to develop an image. Therefore, the processing capability of the page description language is significantly improved compared to the case where the processing program of the page description language is simply supplied by the cartridge 3. It is also possible to supply a higher-level page processing language in cartridge 3.
②カー ト リ ッ ジ 3側に通信機能を備えるので、 プリ ンタ本体 1 が備えていない 通信プロ ト コルに対応するこ とができる。 本実施例では、 プリ ンタ本体 1 は本来 備えていないイーサネ ッ トに接続して使用する こ とが可能となっている。  (2) Since the communication function is provided on the cartridge 3 side, it is possible to support communication protocols that the printer body 1 does not have. In this embodiment, the printer main body 1 can be used by connecting to an Ethernet which is not originally provided.
③ワークステーシ ョ ン 9からの印字データを力一 ト リ ッ ジ 3が直接受け取って いるので、 プリ ン タ本体 1側から カー ト リ ッ ジ 3にデータを移す必要がな く、 プ 口セ ッサを備えたカー ト リ ッ ジを装着するこ とを予定していない既存のプリ ンタ に使用するこ とができる。 新たな通信プロ ト コルに対応できる点も含めて、 設備 の有効利用を図るこ とができる。 (3) The print trigger 3 directly receives the print data from the workstation 9, so there is no need to transfer the data from the printer body 1 to the cartridge 3. It can be used with existing printers that are not going to be equipped with a cartridge with a sensor. Facilities, including the ability to support new communication protocols Can be used effectively.
通常、 コン ピュータ本体の機能が向上するにつれて、 プリ ン タがシステムのボ トルネ ッ クとなってしま うので、 コ ンピュータ本体の機能の向上に合わせてプリ ン タ本体全体を交換するこ とが多いが、 本実施例によれば、 こう した場合に機能 の高いプロセ ッサを有する カー ト リ ッ ジをプリ ン タ本体 1に装着するだけでよ く、 コス ト的にも極めて有利である。  Normally, as the functions of the computer improve, the printer becomes the bottleneck of the system, so it is necessary to replace the entire printer with the improvement of the functions of the computer. In many cases, according to the present embodiment, in this case, it is only necessary to attach a cartridge having a high-performance processor to the printer main body 1, which is extremely advantageous in terms of cost. .
G. 第 1実施例の変形例一その 1 G. Modified Example of First Embodiment Part 1
以上説明した本実施例では、 ローカルエリ アネ ッ ト ワーク との通信は、 通常の S 1 078により行なったが、 高速のローカルエ リ アネ ッ ト ワークあるいはセン ト ロ -クス社準拠のイ ン タフ ユース等の並列転送のようにデータ転送が高速にな ると、 C P U 7 1の管理による通信では通信速度が追いつかない場合が考えられ る。 図 6は、 高速な通信にも対応できる通信部 200の構成を示すブロ ッ ク図で ある。  In the above-described embodiment, communication with the local area network is performed by the ordinary S1078. However, a high-speed local area network or an interface that conforms to Centrox is used. If the data transfer becomes faster as in the case of parallel transfer, etc., the communication speed under management by the CPU 71 may not be able to catch up. FIG. 6 is a block diagram showing the configuration of the communication unit 200 that can also handle high-speed communication.
図示する構成は、 セン ト ロニクス社準拠のイ ンタフ X—スの場合であって、 コ ネクタ 2 1 0には、 入力信号と して、 8ビッ トのデータ D 1ないし D 8およびス ト ローブ信号 S TB、 出力信号と して、 ビジー信号 B U S Yおよびエラー信号 E r r , Ρ Εが、 それぞれ接続されている。  The configuration shown is for the Centronics-compliant interface X—the connector 210 has eight bits of data D1 through D8 and a strobe as input signals. The signal STB is connected to the busy signal BUSY and the error signals Err and Ρ as output signals.
この通信部 200は、 データ D 1ないし D 8を保持する ラ ッチ 2 1 2、 データ をフ ァース ト イ ンフ ァース トアウ トの順番で記憶 ·読み出しする F I F 0メ モ リ 2 1 5、 F I F 0メ モ リ 2 1 5の 8ビッ トの出力を下位 8ビ ッ ト に接続した 1 6 ビッ トの ト ラ イ ステー ト バ ッ フ ァ 2 1 7、 これらのラ ッ チ 2 1 2へのラ ッ チ信号 LA, F I F 0メ モ リ 2 1 5への リ ー ド · ラ イ ト信号 F R, FW, ト ライ ステー トバッ フ ァ 2 1 7に対する制御信号 RBを出力するゲー ト アレイ 220を備える < ゲー ト アレイ 220は、 コネクタ 2 1 0への出力信号 B U S Yなども出力する。 なお、 F I F 0メモ リ 2 1 5から、 F I F 0メ モ リ 2 1 5が一杯であるこ とを示 す信号 F Fがゲー ト アレイ 220に、 一方 F I F Oメ モ リ 2 1 5が空であるこ と を示す信号 F Eが ト ライ ステー トバッ フ ァ 2 1 7の上位の所定ビッ トに、 各々出 力されている。 F I F 0メ モ リ 2 1 5の読み出し側は C P U 7 1から見て所定の ァ ドレスに割り当てられており、 C PU 7 1がァ ドレスバス PADを介して所定 のア ドレス信号を出力するこ とによ り、 データが読み出されると共に、 ト ライ ス テー トバッ フ ァ 2 1 7の出力はイ ネ一ブルと状態となる。 従って、 C PU 7 1は、 データバス C Dを介して、 F I F 0メ モ リ 2 1 5が出力するデータおよび信号 F Eを読み取る こ とができ る。 The communication unit 200 includes a latch 211 holding data D1 to D8, and a FIF 0 memory 211 and FIF 0 for storing / reading data in a fast-in / fast-out order. A 16-bit 3-state buffer 217 with the 8-bit output of memory 2 15 connected to the lower 8 bits, and a link to these latches 21 2 It has a gate array 220 that outputs the read signals FR and FW to the touch signals LA and FIF 0 memory 2 15 and the control signal RB to the 3-state buffer 21 < The gate array 220 also outputs an output signal BUSY to the connector 210. From the FIF 0 memory 215, the signal FF indicating that the FIF 0 memory 215 is full is sent to the gate array 220, while the FIFO memory 215 is empty. The indicated signal FE is output to a predetermined upper bit of the 3-state buffer 217, respectively. The read side of FIF 0 memory 2 15 The CPU 71 outputs a predetermined address signal via the address bus PAD, so that data is read out and the 3-state buffer 21 7 Output is enabled. Therefore, the CPU 71 can read the data and the signal FE output from the FIF 0 memory 2 15 via the data bus CD.
この通信部 200の動作を説明する。 データを送る側は、 コネ ク タ 7のビジー 信号 B U S Yを参照し、 ビジー信号がィ ンアクテ ィ ブとなるのをまって、 転送し よう とするデータを出力し、 データが確立したタイ ミ ン グでス ト ローブ信号 S T Bをアクティ ブとする。 ゲー ト アレイ 220は、 コネク タ 7から入力されるス ト 口一ブ信号 S T Bがアクテ ィ ブになる と、 ラ ッ チ信号 LAをアクテ ィ ブと して、 データ D 1ないし D 8をラ ッチ 2 1 2に保持し、 更に、 ラ ッチ信号 LAをァクテ イ ブにしてから所定の時間後に、 F I F Oライ トの信号 FWをアクテ ィ ブと して、 このデータを F I F Oメモ リ 21 5に書き込む。 こう して F I F Oメモリ 2 1 5 へのデータの書込が完了すると、 ゲー トアレイ 220は、 F I F Oメモリ 2 1 5 がー杯になった場合、 即ち信号 F Fがアクテ ィ ブの場合を除き、 ビジー信号 B U S Yをイ ンアクテ ィ ブとする。 こ う して次々と外部の機器からデータが転送され る。  The operation of the communication unit 200 will be described. The data sending side refers to the busy signal BUSY of the connector 7, stops the busy signal becoming inactive, outputs the data to be transferred, and outputs the timing when the data is established. To activate the strobe signal STB. When the stop signal STB input from the connector 7 is activated, the gate array 220 activates the latch signal LA and latches the data D1 to D8. After the latch signal LA is activated, a predetermined time after the latch signal LA is activated, the FIFO write signal FW is activated, and this data is stored in the FIFO memory 215. Write. When the writing of data to the FIFO memory 215 is completed in this way, the gate array 220 outputs a busy signal unless the FIFO memory 215 is full, that is, unless the signal FF is active. BUSY is inactive. In this way, data is transferred from the external device one after another.
一方、 C P U 7 1は、 所定の タィ ミ ングで F I F 0メ モ リ 21 5の読み出しに 割り当てられたア ドレスをアクセスする。 ゲー ト アレイ 220は、 そのア ドレス 信号を受けて、 F I F Oリー ド信号 F Rとバッ フ ァ制御信号 RBをァクテ イ ブと する。 この結果、 F I F 0メ モ リ 2 1 5にデータが残っていれば、 これが読み出 される と共に、 ト ライ ステー トバッ フ ァ 2 1 7の出力はイ ネーブル状態となる。 この時、 データバス CDを介して、 C PU 7 1 は、 F I F 0メモ リ 2 1 5内のデ 一夕を下位 8ビッ ト と し、 信号 F Eを上位の所定ビッ ト と した 1 ワー ドのデータ を読み取るこ とができるので、 F I F 0メモ リ 2 1 5にデータが残っていた場合 には、 これを判断して、 下位の 8ビッ トをデータ として、 RAM75に保存すれ ば良い。 なお、 ゲー ト ア レイ 220の出力であるエラー信号 E r r , P E等にも、 C P U 7 1からみて所定のァ ドレスが割り当てられてるので、 必要に応じてこれ らの信号を制御することも可能である。 以上説明した通信部 200によれば、 外部の機器から転送されるデータを高速 に受け取るこ とができる。 しかも、 データ転送に F I F Oメ モ リ 2 1 5を用いて いるので、 外部の機器と C PU7 1 との問のデータ転送を完全に切り放すこ とが でき、 例えば、 C P U 7 1が画像データの展開を行ないながら、 次の画像のスク リ プ トを受け取るといった複雑な処理を実現することも容易である。 なお、 F I F Oメ モ リ 2 1 5の動作が十分に高速であれば、 ラ ッチ 2 1 2は省略するこ とが できる。 On the other hand, the CPU 71 accesses the address assigned for reading the FIF0 memory 215 at a predetermined timing. Gate array 220 receives the address signal and activates FIFO read signal FR and buffer control signal RB. As a result, if data remains in the FIF 0 memory 2 15, it is read out and the output of the 3-state buffer 2 17 is enabled. At this time, via the data bus CD, the CPU 71 sets the data in the FIF 0 memory 215 to the lower 8 bits and sets the signal FE to the upper predetermined bit. Since data can be read, if data remains in FIF 0 memory 215, this is determined and the lower 8 bits may be stored in RAM 75 as data. The error signals E rr, PE, etc., which are the outputs of the gate array 220, are also assigned predetermined addresses as viewed from the CPU 71, so that these signals can be controlled as necessary. It is. According to the communication unit 200 described above, data transferred from an external device can be received at high speed. Moreover, since the FIFO memory 215 is used for data transfer, data transfer between the external device and the CPU 71 can be completely cut off. For example, the CPU 71 It is easy to perform complex processing such as receiving the next image script while developing. Note that if the operation of the FIFO memory 2 15 is sufficiently fast, the latch 2 12 can be omitted.
この例では、 通信部 200をワイ ヤー ドロジ ッ クにより実現したが、 図 7に示 すように、 R OM, RAM等を内蔵した 1チ ッ プマイ クロ コンピュータ 3 1 0を 用いて実現するこ とも容易である。 この場合には、 C P U 7 1が出力するァ ドレ ス信号 PADは、 ア ド レ スデコーダ 3 1 2によ り解析され、 ア ド レ スデコーダ 3 1 2の出力のうち、 一つは、 ト ライ ス テー トバッ フ ァ 3 1 5のィ ネーブル端子に、 他は 3組の R/Sフ リ ッ プフロ ッ プ 3 1 7, 3 1 8, 3 1 9の各入力端子に接続 されている。 R Z Sフ リ ッ プフロ ッ プ 3 17ないし 3 1 9は、 それぞれビジー信 号 B U S Y、 エラー信号 E r r, P Eの制御に用いられる。  In this example, the communication unit 200 is realized by wire logic. However, as shown in FIG. 7, the communication unit 200 may be realized by using a one-chip micro computer 310 with a built-in ROM, RAM, and the like. Easy. In this case, the address signal PAD output from the CPU 71 is analyzed by the address decoder 312, and one of the outputs of the address decoder 312 is The other terminal is connected to the enable terminal of the data buffer 315, and the others are connected to the input terminals of the three sets of R / S flip-flops 317, 318, 319. The RZS flip-flops 317 to 319 are used for controlling the busy signal BUSY and the error signals Err and PE, respectively.
この構成では、 1チッ プマイ ク ロプロセッサ 3 1 0は、 図 6に示した通信部 2 00のゲー ト ア レ イ 220 , ラ ッチ 2 1 2, F I F 0メ モ リ 21 5の機能を併せ た働きをなし、 その入力ポー トに接続されたコネクタ 330からの信号を取り込 み、 このデータを、 C P U 7 1から付与されるア ド レ ス信号 PAD, 制御信号 C C Tに従って、 ト ライス テー トバッ フ ァ 3 1 5を介して、 データバス CDに出力 するのである。 データバス C Dに出力されるデータの上位の特定ビッ トに、 通信 データが有効であることを示す信号 F Eが出力され、 その時の下位 8ビッ トが有 効なデータであるこ とは、 図 6の構成と同一である。 なお、 1チ ッ プマイ クロプ 口セ ッサの内部で 2バイ トのデータを合成して、 1 ワー ドのデータと してから出 力する構成とするこ とも差し支えない。  In this configuration, one chip microprocessor 310 combines the functions of the gate array 220, the latch 212, and the FIF 0 memory 215 of the communication unit 200 shown in FIG. It takes in the signal from the connector 330 connected to its input port, and converts this data into a 3-state data according to the address signal PAD and control signal CCT given by the CPU 71. The data is output to the data bus CD via the file 315. The signal FE indicating that the communication data is valid is output to a specific upper bit of the data output to the data bus CD, and the lower 8 bits at that time are valid data as shown in FIG. The configuration is the same. It should be noted that a configuration may be adopted in which 2-byte data is synthesized inside the one-chip micro-channel opening sensor and output as one-word data.
H. 第 1実施例の変形例一その 2 H. Modification Example 1 of First Embodiment Part 2
次に、 本実施例の他の変形例について説明する。 この例は、 カー ト リ ッ ジ 3に、 図 1ないし図 4に示した構成に加えて、 図 8に示す表示用の構成 (表示部 400 ) を組み込んだものである。 この表示部 400は、 デュアルポー ト メモ リ 4 1 0、 表示制御装置 420, 液晶ディ ス プレイ 430を備える。 デュアルポー ト メ モ リ 4 1 0は、 図 6の構成における RAM75の一部もし くは全部を置き換えたもの であり、 画像メモ リの保存に用いられる。 C P U 71は、 ページ記述言語のイ ン タープリ 夕に従って解釈し生成した画像データを、 ア ドレスバス CAD, データ バス C D, 制御信号バス C C Tを介して必要な信号を出力するこ とにより、 デュ アルポー ト メ モ リ 4 1 0の所定の領域に保存する。 Next, another modified example of the present embodiment will be described. In this example, in addition to the configurations shown in FIGS. 1 to 4, the display configuration (display section 400) shown in FIG. It incorporates The display section 400 includes a dual-port memory 410, a display control device 420, and a liquid crystal display 430. The dual-port memory 410 replaces part or all of the RAM 75 in the configuration of FIG. 6, and is used for storing image memory. The CPU 71 interprets the image data generated and interpreted according to the page description language interface, and outputs necessary signals via an address bus CAD, a data bus CD, and a control signal bus CCT to form a dual port. Store in a predetermined area of memory 410.
表示制御装置 420は、 デュアルポー ト メ モ リ 41 0から、 データをシ リ アル に読み出すためのア ドレス信号 I Aを出力し、 デュアルポー ト メ モ リ 41 0から 出力されるシ リ アルのデータ I Dを入力し、 これをビデオ信号 VDに変換して、 同期信号 SY Fと共に液晶ディ ス プレイ 430に出力するものである。 なお、 液 晶ディ ス プレイ 430に代えて、 E Lパネル, プラズマプレイ, 小型 CRT等各 種のデイ スプレイ装置を用いるこ とが可能である。  The display control device 420 outputs an address signal IA for reading data serially from the dual port memory 410, and outputs serial data output from the dual port memory 410. The ID is input, converted to a video signal VD, and output to the liquid crystal display 430 together with the synchronization signal SYF. Instead of the liquid crystal display 430, various types of display devices such as an EL panel, a plasma display, and a small CRT can be used.
この構成では、 カー ト リ ッ ジ 3に液晶ディスプレイ 430を備え、 CPU7 1 が生成した画像データを、 プリ ンタ本体 1を用いて印刷する前に確認することが でき る。 従って、 用紙 Pに印刷する前に、 これから印刷しょう とする画像を確認 するこ とができ、 その時点で印刷を取りやめることができるものとすれば、 ぺー ジ記述言語の記述ミ ス等による無駄な画像の印刷を防止するこ とができ る。.なお, 表示装置としては小型の熱転写プリ ンタ等を用いるこ ともできる。 この場合には, プリ ン タ本体 1による細密な画像の印刷の前に、 荒い密度で高速に印字して画像 の概要を知る こ とができる。  In this configuration, the cartridge 3 is provided with the liquid crystal display 430 so that the image data generated by the CPU 71 can be checked before printing using the printer body 1. Therefore, before printing on paper P, it is possible to check the image to be printed from now on, and if it is possible to cancel the printing at that point in time, if there is a wasteful mistake due to the description mistake of the page description language, etc. Printing of images can be prevented. Note that a small thermal transfer printer or the like can be used as the display device. In this case, it is possible to obtain an overview of the image by printing at a high density at a high speed before printing the fine image by the printer body 1.
なお、 ビデオ信号を表示するディ スプレイ装置は、 広く世の中に普及している ため、 ビデオ信号を外部に出力する コネクタを備える構成を採るこ とも好適であ る。 この場合には、 カー ト リ ッ ジ 3のディスプレイを省略するこ ともできる。 更 に、 メ モ リ 4 1 0から表示制御装置 420が読み出した画像データを、 通信回線 を用いたりあるいは直接に、 外部のコ ン ピュータに出力し、 その表示装置に表示 させるこ とも考えられる。  Since a display device for displaying a video signal is widely used in the world, it is preferable to adopt a configuration including a connector for outputting a video signal to the outside. In this case, the display of the cartridge 3 can be omitted. Further, it is conceivable that the image data read by the display control device 420 from the memory 410 is output to an external computer using a communication line or directly, and is displayed on the display device.
[ i i ] 第 2の実施例 A. 全体構成の説明 [ii] Second embodiment A. Description of overall configuration
次に、 本発明の第 2実施例について説明する。 この実施例は、 電子装置と して のレーザプリ ン タ 500に、 付加制御装置と してのカー ト リ ッ ジ 503を組み合 わせたものである。 図 9および図 1 0は、 第 1 と第 2のタイ プのプリ ンタ本体 5 00 a, 500 bにカー ト リ ッ ジ 503を挿入した状態をそれぞれ示す斜視図で ある。 なお、 以下の説明では、 プリ ン タ本体は、 単にレーザプリ ン タ 500と呼 ぶ。 このカー ト リ ッ ジ 503には、 コネクタ 508が設けられており、 外部のヮ ークステーシ ョ ン 507からの印字データは、 直接カー ト リ ッ ジ 503に入力さ れる構成となっている。 レーザプリ ンタ 500は、 第 1実施例のプリ ンタ本体と 同様に、 ゼロ グラフ ィュニッ トを用いたものであり、 図 1 1に示すように、 感光 ドラムを用いて印刷を行なう部分はレーザエン ジン 505と して独立している。 レーザプリ ン タ 500全体の制御を司る電子制御装置 50 1は、 コネクタ C N 1 0を介してレーザエンジ ン 505にコマン ドを送り、 所定のバッ フ ァ に画像デー 夕を転送するだけで、 印刷を行なう こ とができる。  Next, a second embodiment of the present invention will be described. In this embodiment, a laser printer 500 as an electronic device is combined with a cartridge 503 as an additional control device. FIGS. 9 and 10 are perspective views respectively showing a state where the cartridge 503 is inserted into the first and second types of printer main bodies 500a and 500b. In the following description, the printer body is simply referred to as a laser printer 500. The cartridge 503 is provided with a connector 508, and print data from an external workstation 507 is directly input to the cartridge 503. The laser printer 500 uses a zero graph unit similarly to the printer main body of the first embodiment. As shown in FIG. 11, a portion where printing is performed using a photosensitive drum is a laser engine 505. And independent. The electronic control unit 501, which controls the entire laser printer 500, sends commands to the laser engine 505 via the connector CN10 and transfers image data to a predetermined buffer to perform printing. You can do it.
電子制御装置 50 1の内部には、 図示するように、 周知の C P U (本実施例で はモ ト ローラ社製 MC 68000) 5 1 0、 C PU5 1 0が実行するプロ グラム を記憶した ROM5 1 1、 印字データや展開後の画像データを蓄える RAM5 1 2、 カー ト リ ッ ジ 503を備えない構成では外部の機器からの印字データを受け 取るデータ入力ポー ト 5 1 4、 カー ト リ ッ ジ 503とのデータのやり取りを行な うバス ライ ン 5 1 6に介装されたラ イ ンバッ フ ァ 5 1 5、 レーザエン ジン 505 とのコマン ドゃステータ ス情報のやり取りを行なうためのレ ジス タ 5 1 7、 レー ザプリ ン タ 500のコ ン ソールパネル 5 1 8とのイ ン タ フ ヱースを司るコ ンソ一 ルパネル I Z F 5 1 9、 レーザエン ジン 505に転送する画像データを保存する ダブルバッ フ ァ回路 520、 を備える。 なお、 バス ラ イ ンの構成や制御線の構成 は、 第 1実施例と同様なので簡略に図示した。  As shown in the figure, a well-known CPU (MC 68000 manufactured by Motorola in the present embodiment) 510 and a ROM 501 storing programs to be executed by the CPU 501 are provided inside the electronic control unit 501 as shown in the figure. 1, RAM 5 12 for storing print data and image data after expansion, and data input port 5 14 for receiving print data from external equipment in the configuration without cartridge 503, cartridge 5 Register for exchanging command and status information with the line buffer 515 interposed on the bus line 516 for exchanging data with the 503 and the laser engine 505 517, Console panel for laser printer 500 Console panel for controlling interface with 518 IZF 519, Double buffer circuit for storing image data to be transferred to laser engine 505 520. Since the configuration of the bus line and the configuration of the control line are the same as those of the first embodiment, they are simply illustrated.
コンソールパネル 5 1 8には、 使用者が操作する 6個の操作スイ ッ チ 5 1 8 a と、 1 6文字 ( 8文字 X 2行) の表示が可能な液晶ディ ス プレイ 5 1 8 bが設け られている。  The console panel 518 has six operation switches 518a operated by the user and a liquid crystal display 518b capable of displaying 16 characters (8 characters x 2 lines). It is provided.
ダブルバッ フ ァ回路 520は、 レーザエンジ ン 505による印刷の 8ライ ン分、 即ち 4 Kバイ トの記憶容量を有する 2つの RAM 520 A, 520 Bを備え、 C PU 5 1 0側からは、 メ モ リ書込コ ン ト ローラ 520 Cを介して交互に画像デー タを書き込む。 一方、 レーザエン ジ ン 505は、 メモ リ読出コン ト ローラ 520 Dを介して、 この 2つの R AM 520 A, 520 Bを交互に読み出すことで、 感 光ドラムの回転に同期して画像データをビデオ信号に変換し、 印刷を実行するこ とができる。 2つの RAM520A, 520 Bを設けて交互にデータを書き込ん だり読み出したりするのは、 C PU 5 1 0からのアクセスとレーザエンジン 50 5側からのア クセスを独立して行なわねばならないためである。 The double buffer circuit 520 has eight lines for printing by the laser engine 505, In other words, two RAMs 520 A and 520 B having a storage capacity of 4 Kbytes are provided, and image data is alternately sent from the CPU 510 through the memory writing controller 520 C. Write. On the other hand, the laser engine 505 alternately reads out the two RAMs 520A and 520B via the memory readout controller 520D, so that the image data is video-synchronized with the rotation of the photosensitive drum. It can be converted to signals and printed. The reason why the two RAMs 520A and 520B are provided to write and read data alternately is that access from the CPU 510 and access from the laser engine 505 side must be performed independently.
C PU5 1 0は一方の RAMにデータを書き込んだ後、 レジス タ 5 1 7の所定 ビツ トにフラ グを立てる。 これを対してレーザエンジン 505はこのフラグをチ ッ ク して、 データが書き込まれた側の RAMに記憶された画像データを読み出 す。 読み出し中は、 レジス タ 51 7の別のビッ トを立てて C PU 5 1 0にいずれ の RAMが読み出し中であるかを知らせる。 この時、 他方の RAMはレーザェン ジン 505からアクセス されないから、 この間に、 C PU 5 1 0は、 他方の RA Mに次の 8ライ ン分の画像データを書き込んでおく。 レーザエンジン 505は、 一方の RAMからの読出が完了する と、 フラグをリセ ッ ト し、 他方の RAMから の読み出しに切り換える。 C P U 5 1 0からのデータの書き込むの速度は、 レー ザエンジン 505からのデータの読み出し速度、 即ち印刷の実行速度より速いの で、 両者によるメ モ リへのアクセスの衝突を回避しつつ、 1ページ分の画像デー 夕の転送を確実かつ簡易に実現している。  After writing data to one RAM, the CPU 510 flags a predetermined bit of the register 517. In response, the laser engine 505 checks this flag and reads out the image data stored in the RAM on which the data is written. During a read, another bit is set in register 517 to inform CPU 510 which RAM is being read. At this time, since the other RAM is not accessed from the laser engine 505, the CPU 510 writes the next eight lines of image data into the other RAM during this time. When reading from one of the RAMs is completed, the laser engine 505 resets the flag and switches to reading from the other RAM. The speed at which data is written from the CPU 510 is faster than the speed at which data is read from the laser engine 505, ie, the speed at which printing is performed. The transfer of image data for the page and evening is reliably and easily realized.
電子制御装置 50 1のコネクタ C N 1 1には、 カー ト リ ッ ジ 503が実装され る。 レーザプ リ ン タ 500と、 これに装着される カー ト リ ッ ジ 503の関係は、 第 1の実施例と同様であ り、 電子制御装置 50 1は電源投入時にカー ト リ ッ ジ 5 03がコネク タ C N 1 1 に装着されているか否かを判断し、 装着されている と判 断した場合には、 電子制御装置 50 1内部のリ セ ッ ト等を行なった後、 カー ト リ ッ ジ 503内に用意された ROM (後述) の所定番地にジ ャ ンプして、 それ以降 はカー ト リ ッ ジ 503内に用意された処理を順に実行する。 カー ト リ ッ ジ 503 は、 ワークステーシ ョ ン 507から出力されたページ記述言語によるプロ グラム を解釈し、 画像データに展開して電子制御装置 50 1に転送し、 レーザエン ジン 505により印刷を行なわせる点では、 第 1の実施例と同様である。 B . カー ト リ ッ ジの構造 A cartridge 503 is mounted on the connector CN 11 of the electronic control device 501. The relationship between the laser printer 500 and the cartridge 503 mounted thereon is the same as in the first embodiment. It is determined whether or not it is mounted on connector CN11, and if it is determined that it is mounted, reset the inside of electronic control unit 501, etc. Jump to a predetermined address of the ROM (described later) prepared in the 503, and thereafter execute the processes prepared in the cartridge 503 in order. The cartridge 503 interprets the program written in the page description language output from the workstation 507, converts the program into image data, transfers the image data to the electronic control unit 501, and transmits the image data to the laser engine. The point that printing is performed by 505 is the same as in the first embodiment. B. Cartridge structure
図 1 2は、 この発明の一実施例と してのプリ ンタ用カー ト リ ツ ジの構造を示す 斜視図、 図 1 3はその分解斜視図である。 このカー ト リ ッ ジ 503は、 プリ ンタ 本体のフ ォ ン ト用カー ト リ ッ ジ挿入口に挿入されるカー ト リ ッ ジと して設計され ている。 ただし、 このカー ト リ ッ ジ 503は、 カー ト リ ッ ジ挿入口に挿入される 側とは反対側に、 コネク タ 508を備え、 こ こに接続されたワークステーシ ョ ン 507から直接印字データを受け取り、 受け取った印字データを画像データに展 開する機能を有している。  FIG. 12 is a perspective view showing the structure of a printer cartridge according to one embodiment of the present invention, and FIG. 13 is an exploded perspective view thereof. The cartridge 503 is designed as a cartridge to be inserted into the font cartridge insertion slot of the printer body. However, the cartridge 503 is provided with a connector 508 on the side opposite to the side where the cartridge is inserted into the cartridge insertion slot, and print data is directly transmitted from the workstation 507 connected to the connector 508. It has a function of receiving print data and expanding the received print data into image data.
このカー ト リ ッ ジ 503は、 内部が凹状の上部ケース 1 00と、 板状の下部ケ ース 1 20との間に多層ブリ ン ト基板 550 (以下、 単に 「プリ ン ト基板」 と呼 ぶ) が介装された構造を有しており、 カー ト リ ッ ジ 503のコネク タ側には下部 キ ヤ ッ プ 1 40と上部キ ヤ ッ プ 1 50が取り付けられる。 上部ケース 1 00と上 部キ ャ ッ プ 1 40と下部キ ャ ッ プ 1 50は AB S樹脂製であり、 下部ケース 1 2 0はアル ミ ニウム製である。 上部ケース 1 00の内面には導電層が形成されてお り、 下部ケース 1 20と ともにフ レームグラ ン ドを構成している。 上部ケース 1 00内面の導電層は、 無電解銅 · エ ッケルメ ツキで形成されている。 なお、 この 導電層は、 導電性塗料の塗装、 アル ミ ニウムの真空蒸着などの他の周知の方法を 用いて形成してもよい。 また、 導電性プラスチ ッ クを成形して上部ケース 1 00 を製作しても良い。  The cartridge 503 is a multilayer printed circuit board 550 (hereinafter simply referred to as a “printed board”) between an upper case 100 having a concave interior and a lower case 120 having a plate shape. The lower cap 140 and the upper cap 150 are attached to the connector side of the cartridge 503. The upper case 100, the upper cap 140 and the lower cap 150 are made of ABS resin, and the lower case 120 is made of aluminum. A conductive layer is formed on the inner surface of upper case 100, and forms a frame ground together with lower case 120. The conductive layer on the inner surface of the upper case 100 is formed by electroless copper / metal plating. The conductive layer may be formed by using other well-known methods such as coating of a conductive paint and vacuum deposition of aluminum. Also, the upper case 100 may be manufactured by molding a conductive plastic.
なお、 以下では、 キャ ッ プ 1 40, 1 50のある側をカー ト リ ッ ジの前方と呼 び、 マイ クロプロセ ッサ 60 1のある側をカー ト リ ッ ジの後方と呼ぶ。  In the following, the side with the caps 140 and 150 is called the front of the cartridge, and the side with the microprocessor 601 is called the back of the cartridge.
プリ ン ト基板 550の前方にはプラ グ部 55 1が形成されており、 また、 後方 にはマイ クロ プロセ ッサ 60 1などの回路素子が取り付けられている。 プリ ン ト 基板 550の周縁部分には 4つのアース用パネ部材 1 04が固定されており、 そ の内の 2つはカー ト リ ッ ジの挿入方向中央に、 また他の 2つはカー ト リ ッ ジの後 方に設けられている。 パネ部材 1 04は、 プリ ン ト基板 550の接地配線と上部 ケース 1 00の内表面の導電層とを電気的に接続する役割を有する。 下部ケース 1 20の前方側には、 プリ ン タ本体とのアース接続を確保するため の 2枚のアース用パネ部材 1 22が固定される。 アース用パネ部材 1 22は鳥が 羽を広げた形状を有しており、 左右の羽の部分に相当する第 1の屈曲部 1 22 a は上方に屈曲し、 鳥の脚の部分に相当する第 2の屈曲部は下方に半円弧状に屈曲 している。 第 1 の屈曲部 1 22 aは、 下部ケース 1 20とプ リ ン ト基板 550の 接地配線とを電気的に接続する役割を有する。 第 2の屈曲部は、 下部ケース 1 2 0に設けられた開口部 1 32から カー ト リ ッ ジ 503の外に突出し、 プリ ンタ本 体の接地部分と下部ケース 1 20とを電気的に接続する役割を有する。 A plug portion 551 is formed in front of the printed circuit board 550, and a circuit element such as a microprocessor 601 is mounted behind. Four ground panel members 104 are fixed to the periphery of the printed circuit board 550, two of which are located at the center of the cartridge in the insertion direction, and the other two are attached to the cartridge. It is provided behind the lid. Panel member 104 has a role of electrically connecting the ground wiring of print substrate 550 to the conductive layer on the inner surface of upper case 100. On the front side of the lower case 120, two earth panel members 122 for securing an earth connection with the printer body are fixed. The grounding panel member 122 has a shape in which a bird spreads its wings, and the first bent portion 122a corresponding to the left and right wing portions is bent upward and corresponds to a bird leg portion. The second bent portion is bent downward in a semi-arc shape. The first bent portion 122a has a role of electrically connecting the lower case 120 and the ground wiring of the printed board 550. The second bent portion projects out of the cartridge 503 from the opening 132 provided in the lower case 120, and electrically connects the ground portion of the printer body to the lower case 120. Has the role of
下部ケース 1 20の周縁には、 平板部 1 2 1 から突出した壁状の形状を有する 嵌合部 1 24が設けられている。 嵌合部 1 24は、 上部ケース 1 00の側面と嵌 合して略直方体の筐体の主要構造を構成する。  A fitting portion 124 having a wall shape protruding from the flat plate portion 121 is provided on a peripheral edge of the lower case 120. The fitting portion 124 is fitted to the side surface of the upper case 100 to form a main structure of a substantially rectangular parallelepiped housing.
下部ケース 1 20の後方には、 プ リ ン ト基板 550を上方に押すための円柱状 の押圧用シ リ コー ン ゴム 1 26が下部ケース内面のゴム保持部 1 28にはめ込ま れている。 押圧用シ リ コ ー ン ゴム 1 26は、 マイ クロプロセ ッサ 60 1の直下に あたるプ リ ン ト基板 550を上方に押す役割を有する。 マイ ク ロ プロ セ ッ サ 60 1の上面と上部ケース 1 00の内面との間には、 密着性と熱伝導性を改善するた めのシー ト状の放熱用シ リ コーン ゴム 1 02が介装される。 また、 マイ クロプロ セ ッサ 60 1 の上方を覆う ようにアル ミ -ゥム製の放熱板 1 1 0が下部ケース 1 20にネジで固定されている。 押圧用シ リ コー ン ゴム 1 26がプ リ ン ト基板 55 0を上方に押すと、 マイ ク ロ プロ セ ッ サ 60 1 も上方に押しつけられ、 マイ クロ プロセ ッサ 60 1 と放熱用シ リ コー ン ゴム 1 02、 および、 放熱用シ リ コー ンゴ ム 1 02と放熱板 1 1 0の密着性がそれぞれ高められる。 この結果、 マイ クロプ 口セ ッ サ 60 1 で発生した熱は、 放熱板 1 1 0を介して下部ケース 1 20に伝導 し、 下部ケー ス 1 20から外部に放熱される。  Behind the lower case 120, a cylindrical pressing silicone rubber 126 for pressing the printed circuit board 550 upward is fitted into a rubber holding portion 128 on the inner surface of the lower case. The pressing silicone rubber 126 has a role of pressing the print substrate 550 directly below the microprocessor 601 upward. Between the upper surface of the microprocessor 60 1 and the inner surface of the upper case 100, a sheet-like heat-dissipating silicone rubber 102 is inserted to improve the adhesion and thermal conductivity. Be mounted. Further, an aluminum heat sink 110 is fixed to the lower case 120 with screws so as to cover the upper part of the micro processor 601. When the pressing silicone rubber 126 presses the printed circuit board 550 upward, the micro processor 601 is also pressed upward, and the micro processor 601 and the heat radiating silicone are pressed. The adhesiveness between the corn rubber 102 and the radiating silicon rubber 102 and the radiating plate 110 is increased. As a result, the heat generated in the micro-channel sensor 601 is conducted to the lower case 120 via the heat sink 110, and is radiated to the outside from the lower case 120.
組立の際には、 まず下部ケース 1 20に 2つのアース用パネ部材 1 22を固定 した後、 押圧用シ リ コー ン ゴム 1 26をゴム保持部 1 28にはめ込む。 一方、 プ リ ン ト基板 5 50には各種の回路素子を取付け、 また、 4つのアース用パネ部材 1 04をプ リ ン ト基板 5 50の所定の穴に差込んでぞれぞれハン ダで固定する。 次に、 このプリ ン ト基板 550を下部ケース 1 20に載せ、 その後方 (マイ クロ プロセ ッサ 60 1側) のコーナー部をネジで固定する。 そして、 放熱板 1 1 0を 下部ケース 1 20の嵌合部 1 24の #1面にネジで固定する。 その後、 上部ケース 1 00を下部ケース 1 20と嵌合させ、 下部キ ヤ ッ プ 1 40を差し込む。 こ の際、 下部キャ ップ 1 40に設けられた 2つのネジの貫通孔部 1 4 1が上部ケース 1 0 0の対応部分の下に差込まれ、 下部キヤ ッ プ 1 40の貫通口 1 42にはプラ グ部 55 1が貫通する。 上部ケース 1 00は、 前方側の 3箇所においてネジで固定さ れる。 最後に、 上部キャ ッ プ 1 50を上部ケース 1 00にはめ込むこ とによって 図 1 に示すようなカー ト リ ッ ジ 503が完成する。 At the time of assembly, first, two ground panel members 122 are fixed to the lower case 120, and then the pressing silicone rubber 126 is fitted into the rubber holding portion 128. On the other hand, various circuit elements are mounted on the printed circuit board 550, and four grounding panel members 104 are inserted into predetermined holes of the printed circuit board 550, and each of them is soldered. Fix with. Next, the printed circuit board 550 is placed on the lower case 120, and the rear side (micro Secure the corners of processor 60 1) with screws. Then, the heat sink 110 is fixed to the # 1 surface of the fitting portion 124 of the lower case 120 with a screw. Then, the upper case 100 is fitted to the lower case 120, and the lower cap 140 is inserted. At this time, the through holes 1 41 of the two screws provided in the lower cap 140 are inserted under the corresponding portions of the upper case 100, and the through holes 1 of the lower cap 140 are inserted. The plug portion 55 1 penetrates through 42. The upper case 100 is fixed with screws at three places on the front side. Finally, by inserting the upper cap 150 into the upper case 100, a cartridge 503 as shown in FIG. 1 is completed.
なお、 上部キヤ ッ プ 1 50の両側には、 バネ 1 52を内部に収納したボタ ン口 ッ ク 1 54がそれぞれ設けられている。 ボタンロ ッ ク 1 54はパネ 1 52によつ て外側に付勢されており、 2つのボタンロ ッ ク 1 54を内側に押すとボタンロ ッ ク 1 54のッ メが上部ケース 1 00の係合部から外れ、 ボタンロ ッ ク 1 54を離 すと係合部に係合する。  In addition, on both sides of the upper cap 150 are provided button openings 154 each containing a spring 152 therein. The button lock 154 is urged outward by the panel 154.When the two button locks 154 are pressed inward, the button lock 154 engages with the upper case When the button lock 154 is released, it engages with the engaging part.
図 1 3には I Cカー ド 502も示されている。 I Cカー ド 502は多数のダイ ナ ミ ッ ク RAMを有する拡張メ モ リ であり、 必要に応じてカー ト リ ヅ ジ 503に 挿入することが可能である。 I Cカー ド 502を挿入する場合には、 まず上部キ ヤ ッ プ 1 50を外し、 上部ケース 1 00に設けられた拡張メ モ リ用ス ロ ッ ト 1 0 6に I Cカー ド 502を挿入するこ とによって、 プリ ン ト基板 550内の I C力 ー ド用コネク タ 2 1 0に I Cカー ド 502を差込む。 そして、 上部キ ャ ッ プ 1 5 0を取り付ける と図 1 0に示す元の形状に戻る。 この実施例では、 取り外し可能 な上部キ ヤ ッ プ 1 50を外して I Cカー ド 502を差込めるようにしたので、 メ モ リの拡張を容易に行なう こ とができる。 また、 上部キヤ ッ プ 1 50をカー ト リ ヅ ジ 503の前方に設ける こ とによって、 カー ト リ ッ ジ 503をレーザプリ ンタ 本体に挿入した状態では I Cカー ド 502を挿入するこ とができないように工夫 している。  Figure 13 also shows the IC card 502. The IC card 502 is an extension memory having a large number of dynamic RAMs, and can be inserted into the cartridge 503 as needed. When inserting the IC card 502, first remove the upper cap 150, and insert the IC card 502 into the expansion memory slot 106 provided in the upper case 100. As a result, the IC card 502 is inserted into the IC card connector 210 in the print substrate 550. When the upper cap 150 is attached, it returns to the original shape shown in FIG. In this embodiment, since the removable upper cap 150 is removed so that the IC card 502 can be inserted, the memory can be easily expanded. Also, by providing the upper cap 150 in front of the cartridge 503, the IC card 502 cannot be inserted when the cartridge 503 is inserted into the laser printer body. It is ingenious.
図 1 4はプリ ン ト基板 550を拡大して示す斜視図である。 図に示するように、 プリ ン ト基板 550の上面の後方端にはコネク タ 508がマイ クロプロセ ッサ 6 0 1 と隣接するよう取り付けられており、 他端にはプリ ンタ本体のコネク タ と接 続するための差し込みプラ グ部 55 1が形成されている。 マイ ク ロプロセ ッ サ 60 1の周囲には、 マイ ク ロプロセ ッサ 60 1用の制御プ ログラムなどを記憶する 4つの ROM606~609と、 4つのア ドレスバッ フ ァ 6 1 7と、 ク ロ ッ ク用の発振器 66 1, 665がそれぞれ配置されている。 ま た、 プリ ン ト基板 550の中央部からやや前方側には I Cカー ド用コネク タ 50 2 aが設けられている。 プリ ン ト基板 550の裏面側には、 制御回路やレジス タ などを含む A S I C (特定用途向け L S I ) や、 プリ ン ト本体内のプロセ ッサ用 の処理プロ グラ ムを記憶した R 0 M (以下、 「プリ ン タ本体用 ROM」 と呼ぶ) などの種々の回路素子が実装されている。 なお、 図示の便宜上、 プリ ン ト基板 5 50の表面上に形成された配線パターンは省略されている。 FIG. 14 is a perspective view showing the print substrate 550 in an enlarged manner. As shown in the figure, a connector 508 is attached to the rear end of the upper surface of the printed circuit board 550 so as to be adjacent to the micro processor 601, and the other end is connected to the connector of the printer main body. An insertion plug portion 551 for connection is formed. Around the microprocessor 601, four ROMs 606 to 609, which store control programs for the microprocessor 601, etc., four address buffers 61, 17, and a clock Oscillators 66 1 and 665 are arranged respectively. Further, an IC card connector 502a is provided slightly forward from the center of the print substrate 550. On the back side of the printed circuit board 550, an ASIC (application-specific LSI) including a control circuit and a register, and an R0M (process memory) that stores the processing program for the processor in the print body Hereafter, various circuit elements are mounted. Note that, for convenience of illustration, the wiring pattern formed on the surface of the print substrate 550 is omitted.
マイ クロプロセ ッサ 60 1はピ ングリ ッ ドアレイ (P GA) タイ プの素子であ り、 他は SO J タイ プ、 S OPタイ プまたは Q F Pタイ プの素子である。 マイ ク 口プロセ ッサ 60 1 と しては、 例えば、 R I S Cプロセ ッサである AMD社製の Am 29030 (クロ ッ ク周波数 25 M H z ) が使用される。  The microprocessor 601 is a device of the type of a pin grid array (PGA), and the others are devices of the SOJ type, the SOP type or the QFP type. As the microphone opening processor 601, for example, Am 29030 (clock frequency 25 MHz) manufactured by AMD, which is a RISC processor, is used.
前述したように、 このカー ト リ ッ ジ 503はプリ ンタ本体のフ オ ン ト用カー ト リ ッ ジ挿入口に挿入される。 通常のフ ォ ン ト用カー ト リ ッ ジは、 フ ォ ン トデータ を記憶した ROMを収納したものに過ぎない。 これに対して、 この実施例のカー ト リ ッ ジ 503は、 マイ クロプロセ ッサ 60 1 と、 マイ ク ロプロセ ッ サ 60 1の 処理プロ グラ ムを記憶した ROM606~609とを備えており、 また、 プリ ン タ本体用 ROMと、 AS I Cを含む制御回路と、 通信用回路とを備えている点が 特徴的である。 通信用回路の詳細については後述する。  As described above, the cartridge 503 is inserted into the font cartridge insertion slot of the printer body. A normal font cartridge is simply a type that contains a ROM that stores font data. On the other hand, the cartridge 503 of this embodiment includes a microprocessor 601 and ROMs 606 to 609 storing a processing program of the microprocessor 601. It is characterized by having a ROM for the printer body, a control circuit including an AS IC, and a communication circuit. Details of the communication circuit will be described later.
このカー ト リ ッ ジ 503が挿入されるプリ ン タ本体側のコネク タは、 フ ォ ン ト 用カー ト リ ッ ジと接続される仕様で構成されているので、 データをカー ト リ ッ ジ からプ リ ン タ本体側に読出すための読出し専用線は備えているが、 データをプリ ン夕本体から カー ト リ ッ ジ側に転送するための信号線を有していない。 一方、 こ の実施例のカー ト リ ッ ジ 503では、 印字データは、 コネク タ 508を介して外 部のワークス テージ ョ ン 507から受け取り、 この印字データをマイ クロプロセ ッサ 60 1によつて画像データに展開し、 プリ ンタ本体の電子制御装置 50 1に 転送するが、 電子制御装置 50 1からも一部のデータを受け取る機能を有してい る。 この際、 コネク タが有する読出し専用線を用いて、 特定のデータをプリ ンタ 本体から カー ト リ ッ ジに転送する必要があり、 このため、 次に示すようにプリ ン タ本体のマイ クロプロセ ッサに特別な処理を実行させる。 The connector on the printer main body side into which the cartridge 503 is inserted is configured to be connected to the font cartridge, so data is stored in the cartridge. A read-only line is provided to read data from the printer to the printer main unit, but there is no signal line for transferring data from the printer to the cartridge. On the other hand, in the cartridge 503 of this embodiment, the print data is received from the external workstation 507 via the connector 508, and the print data is received by the microprocessor 601. The data is expanded to data and transferred to the electronic control unit 501 of the printer main unit, but has a function of receiving some data from the electronic control unit 501 as well. At this time, specific data is printed using the read-only line of the connector. It is necessary to transfer the data from the main unit to the cartridge. For this reason, special processing is performed by the micro processor of the main unit as shown below.
カー リ ッ ジ 503がプリ ンタ本体に挿入されていると、 プリ ン タの起動時に プリ ンタ本体内のプロセ ッサがカー ト リ ッ ジ 503内のプリ ンタ本体用 ROMに 記憶された識別データを読み取り、 この識別データに応じて、 プリ ンタ本体内の C PU 5 1 0がそのプリ ン タ本体用 ROM606ないし 609内の処理プロダラ ムに従った処理を行なう。  If the cartridge 503 is inserted into the printer, the processor inside the printer will start the printer when the printer starts up, and the identification data stored in the printer ROM in the cartridge 503. The CPU 510 in the printer main body performs processing according to the processing program in the printer main body ROM 606 to 609 in accordance with the identification data.
プリ ン ト本体内の C P U 5 1 0は、 プリ ン タ本体用 ROM606ないし 609 内の処理プロ グラムに従って、 特別な処理を実行する。 この特別な処理とは、 1 ヮ一ド分のデー夕を実質的に含むようなア ド レ スを生成し、 このア ド レスをア ド レ スパスに乗せてプリ ン タ本体から カー ト リ ッ ジ 503に伝える処理である。 力 一ト リ ッ ジ側の A S I Cは、 このア ド レ スを受け取ると ともに、 これを解読する こ とによってァ ドレスに含まれている 1 ワー ド分のデータを抽出し、 カー ト リ ッ ジ内の所定の RAM (後述する) に収納する。 マイ ク ロプロセッサ 601は、 こ の RAMに記憶されたデータに基づいて、 電子制御装置 501側の種々の情報を 知るこ とができ る。 例えば、 コ ン ソールパネル 5 1 8の操作情報などは、 カー ト リ ッ ジ 503のマイ クロ プロセッサ 60 1が知る必要があり、 これらのデータを 受け取ることで、 カー ト リ ッ ジ 503は必要な処理を行なう ことができる。 マイ クロプロセ ッサ 60 1 としては、 プリ ン タ本体より も高速のプロセ ッサを 使用するのが好ま しい。 こ うすれば、 プリ ン タ本体が実行すべき画像の展開処理 を、 高速のマイ クロプロ セ ッサ 60 1で行なうので、 実質的にプリ ン タの処理速 度を向上させるこ とができる。 なお、 カー ト リ ッ ジ 503内の回路と、 その動作 の詳細については、 さらに後述する。  The CPU 510 in the main body of the printer executes a special process according to the processing program in the ROM 606 to 609 for the main body of the printer. This special processing is to generate an address that substantially contains data for one hundred and one address, put this address on the address path, and print the cartridge from the printer body. This is the process of notifying the 503. The power ASIC receives the address and decodes it to extract one word of data contained in the address. In the specified RAM (described later). The microprocessor 601 can know various information of the electronic control device 501 based on the data stored in the RAM. For example, the operation information of the console panel 518 needs to be known by the microprocessor 601 of the cartridge 503, and by receiving such data, the cartridge 503 becomes necessary. Processing can be performed. As the microprocessor 601, it is preferable to use a processor that is faster than the printer itself. In this way, the image processing to be executed by the printer main body is performed by the high-speed micro processor 601, so that the processing speed of the printer can be substantially improved. The circuit in the cartridge 503 and details of its operation will be further described later.
以上説明したように、 この実施例のカー ト リ ツ ジは、 次のような電磁波ノィ ズ の対策を施している。  As described above, the cartridge of this embodiment has the following measures against electromagnetic noise.
①プラスチ ッ ク製の上部ケース 1 00の内面には導電層を形成し、 下部ケース 1 20はアル ミ ニゥム製と した。 これにより、 カー ト リ ッ ジの筐体の内面の全面 に渡って導電層を形成し、 電磁波ノ ィ ズを遮弊している。  (1) A conductive layer was formed on the inner surface of the upper case 100 made of plastic, and the lower case 120 was made of aluminum. As a result, a conductive layer is formed over the entire inner surface of the housing of the cartridge, and electromagnetic noise is blocked.
②下部ケース 1 20の周縁部に壁状の嵌合部 1 24を設け、 上部ケース 1 00 と嵌合するようにした。 これによ り、 嵌合部 1 24の外周面と上部ケース 1 00 の内面の導電層を重ね合わせて電磁波ノ イズを遮弊した。 (2) A wall-shaped fitting portion 124 is provided on the periphery of the lower case 120, and the upper case 100 Was fitted. As a result, the outer peripheral surface of the fitting portion 124 and the conductive layer on the inner surface of the upper case 100 were overlapped to prevent electromagnetic noise.
③シグナル · グラ ン ドとフ レーム · グラ ン ドとを多点で接地し、 これらの間の イ ン ピーダンスを低減して高周波電流の発生を抑制した。  (3) The signal ground and the frame ground were grounded at multiple points, the impedance between them was reduced, and the generation of high-frequency current was suppressed.
④プラグ部 55 1のための貫通口 1 42付近において、 プラグ部 551の両端 部と中央部とでシグナル · グラン ドとフ レーム · グラン ドとを接-続し、 貫通口 1 42から出射される電磁波ノイ ズの波長を小さ く (周波数を大き く) した。 これ により、 規制の対象となっている有害な波長域の電磁波ノ ィ ズを低減した。  に お い て Near the through hole 142 for the plug 551, the signal ground and frame ground are connected at both ends and the center of the plug 551, and are emitted from the through hole 142. The wavelength of the electromagnetic noise was reduced (the frequency was increased). This has reduced electromagnetic noise in harmful wavelength ranges that are subject to regulation.
また、 このカー ト リ ッ ジ 503は次のような一般的な電磁波ノ ィ ズ対策も併用 している。  The cartridge 503 also uses the following general measures against electromagnetic noise.
⑤各回路素子の G N Dピンと電源ピンの近傍にデカッ プリ ングコンデンサを設 けた。  (4) A decoupling capacitor was installed near the GND pin and power supply pin of each circuit element.
⑥マイ クロ プロセ ッサ 60 1の電源配線にコモンモー ド用チ ョーク コイルを設 けた。 カー ト リ ッ ジの構造と して、 最後にプラグ部 551 と コネクタ C N 1 1 との結 線関係を示す。 プラ グ部 55 1は、 両面プリ ン ト基板の 2つの面 (A面と B面) にそれぞれ形成された 25個の端子を有している。 図 1 5には、 プラ グ部 55 1 の各端子に対応して信号名を記載した。 なお、 信号名の前に付けられた符号 r/j は、 信号がロ ウアクテ ィ ブであるこ とを示している。 各信号の意味は、 次の通り である。  コ モ ン A common mode choke coil was installed in the power supply wiring of the micro processor 601. Finally, the connection structure between the plug 551 and the connector CN 11 is shown as the structure of the cartridge. The plug portion 551 has 25 terminals formed on two surfaces (surfaces A and B) of the double-sided printed circuit board, respectively. FIG. 15 shows signal names corresponding to each terminal of the plug section 55 1. Note that the symbol r / j added before the signal name indicates that the signal is low-active. The meaning of each signal is as follows.
信号/ AS B : C PU 5 1 0 (モ ト ローラ社製 MC 68000 ) が出力するァ ドレスス ト ローブ信号。  Signal / AS B: Address strobe signal output from CPU 510 (MC 68000 manufactured by Motorola).
信号 ZUD S : C P U 5 1 0が出力する上位データス ト ローブ信号。  Signal ZUDS: Upper data strobe signal output by CPU510.
信号 ZLD S : C P U 5 1 0が出力する下位データス ト ローブ信号。  Signal ZLDS: Lower data strobe signal output by CPU510.
信号 ZAD S : 電子制御装置 50 1内においてア ドレスス ト ローブ信号/ AS Signal ZAD S: Address strobe signal / AS in electronic control unit 501
Bに基づいて生成されるア ドレスス ト ローブ補助信号。 このア ドレスス ト ローブ 補助信号 ZAD Sは、 プ リ ン タの起動時 (イ ニシ ャ ライ ズ時) において、 異なる タイ プのプリ ン タでは異なる挙動を示す。 信号 ZOD TAC K : カー ト リ ッ ジ 503から電子制御装置 50 1側にデータ を転送する際のァゥ ト プッ トデータァクナリ ッ ジ信号。 Address strobe auxiliary signal generated based on B. The address strobe auxiliary signal ZADS behaves differently for different types of printers when the printer is started (initialized). Signal ZOD TAC K: An output signal for transferring data from the cartridge 503 to the electronic control unit 501 side.
信号/ C TR G S E L : C PU 5 1 0がカー ト リ ッ ジ 503を選択して、 その 内部のア ドレス空間に割り付けられた ROM56やレ ジス タ等にアクセスする際 のカー ト リ ッ ジセレ ク ト信号。  Signal / CTR GSEL: The cartridge selection when the CPU 510 selects the cartridge 503 and accesses the ROM 56, register, etc. allocated to the internal address space. Signal.
信号 A 1 - A 20 : C P U 5 1 0が出力するァ ドレス信号。  Signals A1 to A20: Address signals output by CPU510.
信号 D 1〜D 1 5 : カー ト リ ッ ジ 503側からの出力信号。  Signals D1 to D15: Output signals from the cartridge 503 side.
信号 RZW: C P U 5 1 0が出力する リー ド /ライ ト信号。  Signal RZW: Read / write signal output by CPU510.
信号 S C L K : レーザプリ ンタ 500に内蔵された発振器 (図示せず) から出 力されるクロ ッ ク信号。  Signal SCLK: Clock signal output from an oscillator (not shown) built into laser printer 500.
なお、 レーザプリ ンタ 500側に与えられる信号/ C T R G Sは、 カー ト リ ツ ジ 503が挿入されると Lレベルに引き下げられ、 C PU 5 1 0は、 これによつ てカー ト リ ッ ジ 503がコネクタ C N 1 1に挿入されていることを検出する。  Note that the signal / CTRGS applied to the laser printer 500 is lowered to the L level when the cartridge 503 is inserted, and the CPU 510 causes the cartridge 503 to Detects that it is inserted into connector CN11.
C P U 51 0は、 23ビッ トのア ドレス信号 A 1ないし A 23を用いてワー ド ア ドレスを指定し、 また、 信号/ UD S, /L D Sを用いて各ワー ドの上位バイ ト と下位バイ トを指定する。 この結果、 C PU 5 10は O O O O O Oh から F F F F F Fh までの 1 6Mバイ トのア ドレス空間を扱う こ とができる。 ここで、 ァ ドレスの後に付した記号 「h 」 は 1 6進数表示であるこ とを示している。  The CPU 510 specifies the word address using the 23-bit address signals A1 to A23, and uses the signals / UDS and / LDS to specify the upper byte and lower byte of each word. Specify the As a result, the CPU 510 can handle a 16-Mbyte address space from OOOOOOOH to FFFFFFh. Here, the symbol "h" added after the address indicates that the value is represented in hexadecimal.
C . カー ト リ ッ ジのア ドレス空間 C. Cartridge address space
このカー ト リ ッ ジ 503は、 電子制御装置 50 1の C P U 5 1 0の扱うァ ド レ ス空間の一部に割り付けられる。 C P U 5 1 0は、 O O O O O Oh から F F F F F Fh までの 1 6Mバイ トのア ドレス空間を扱う力;、 その一部を ROMカー ト リ ッ ジ用に割り当てている。 カー ト リ ッ ジ 503に割り当てられる空間は、 レーザ プリ ン夕の機種により異なるが、 ヒ ュ一レツ ト ノ、。ッ カー ド社製のレーザプリ ンタ の場合、 図 1 6左欄に示すように、 200000h ないし 3 F F F F Fh あるい は 40000 Oh ないし 5 F F F F Fh といった 2Mバイ トの空間が通常である, 一方、 本実施例の力一 ト リ ッ ジ 503の内部に設けられたマイ クロプロセ ッサ 60 1は、 AMD社製 AMD 29030— 25 MH zであ り、 その扱えるァ ドレ ス空間は O O O O O O O Oh から F F F F F F F Fh までの 4 Gバイ トである。 このア ドレス空間には、 R 0Mや RAMのみならず、 プリ ンタ側の電子制御装置 50 1側とのデータのやり取りに用いる各種レ ジス タ等が割り当てられる。 これ を、 図 1 6に示した。 以下、 カー ト リ ッ ジ 503内部の電気的な構成を、 両マイ クロプロセッサにとってのァ ドレス空間の割付と共に説明する。 The cartridge 503 is allocated to a part of an address space handled by the CPU 510 of the electronic control device 501. The CPU 510 is capable of handling a 16 Mbyte address space from OOOOO Oh to FFFFF Fh; a part of it is allocated for ROM cartridges. The space allocated to the cartridge 503 depends on the model of the laser printer, but it does not depend on the laser printer. In the case of a laser printer manufactured by Auckard Co., Ltd., as shown in the left column of FIG. 16, a 2 MB space such as 200,000h to 3FFFF Fh or 40,000 Oh to 5FFFFFh is usually used. The microprocessor 601 installed inside the example power trigger 503 is AMD 29030—25 MHz manufactured by AMD, and the addressable The space is 4G bytes from OOOOOOO Oh to FFFFFFF Fh. In this address space, not only R0M and RAM but also various registers and the like used for exchanging data with the electronic control device 501 on the printer side are allocated. This is shown in Figure 16. Hereinafter, the electrical configuration inside the cartridge 503 will be described together with the allocation of the address space for both microprocessors.
D. カー ト リ ッ ジ内部の概略構成と通信制御部の構成 D. Schematic configuration inside the cartridge and configuration of the communication controller
カー ト リ ッ ジ 503の内部構成を、 図 1 8に示す。 図示するように、 カー ト リ ッ ジ 503は、 全体の制御を司るマイ ク ロプロセ ッサ 60 1を中心に構成されて おり、 大き く は、 ROM, RAMとその周辺回路からなる メモリ部 602と、 電 子制御装置 50 1 とのデータのやり取りの一切を司るデータ転送制御部 603と、 外部のワークステーシ ョ ン 507とのデータの通信を行なう通信制御部 604と、 その他の回路とから構成されている。  Fig. 18 shows the internal configuration of the cartridge 503. As shown in the figure, the cartridge 503 is mainly composed of a micro processor 601 which controls the entire system, and is roughly divided into a memory section 602 comprising ROM, RAM and its peripheral circuits. A data transfer control unit 603 that controls all data exchange with the electronic control unit 501; a communication control unit 604 that performs data communication with an external workstation 507; and other circuits. ing.
メモ リ部 602は、 このマイ ク ロ プロセ ッサ 60 1が実行するプログラムを記 憶する計 2Mパイ トの ROM606ないし 609、 この R OM606ないし 60 9をパンク切換で使用するためのセ レク タ 6 1 0、 電子制御装置 50 1から受け 取った印字データを保存したり展開した後の画像データを保存する計 2Mバイ ト の RAM6 1 1ないし 6 1 4、 から構成されている。 2Mバイ トの R0M606 ないし 609は、 各々 1 6ビッ ト X 256キロ = 4Mビッ トのマスク ROMであ り、 図 1 7に示したように、 ア ドレス空間の O O O O O O O Oh から 00 1 F F F F Fh に割り当てられている。 R OM606および 607、 ROM608およ び 609は、 各々バンクを構成し、 2個一組の 1バン クで、 各々 32ビッ トのデ 一夕パスを構成している。 ROM606ないし 609とマイ クロプロセッサ 60 1 とは、 ア ド レスバス A A Bおよび制御信号バスにより接続されている。 また、 ROM606ないし 609のデータバス I D Bは、 データセレク タ 6 1 0を介し てデータバス D B 29に接続されており、 これを介してマイ クロプロセッサ 60 1は R OM606ないし 609からのデータを読み取るこ とができ る。  The memory unit 602 includes a 2M-Pit ROM 606 to 609 for storing a program to be executed by the micro processor 601 and a selector 6 for using the ROM 606 to 609 for puncturing switching. 10, 2M bytes of RAM 61 1 to 61 4 for storing print data received from the electronic control unit 501 and for storing image data after expansion. RMBs 606 to 609 of 2M bytes are mask ROMs of 16 bits x 256kg = 4M bits each, and are assigned to 001 FFFF Fh from OOOOOOO Oh in the address space as shown in Figure 17 Have been. The ROMs 606 and 607 and the ROMs 608 and 609 each constitute a bank, and one set of two banks constitutes a 32-bit data pass each. The ROMs 606 to 609 and the microprocessor 601 are connected by an address bus AAB and a control signal bus. Further, the data bus IDB of the ROM 606 to 609 is connected to the data bus DB 29 via the data selector 610, through which the microprocessor 601 can read data from the ROM 606 to 609. It can be.
R OM606および 607s ROM608および 609には、 マイ クロプロセ ッ サ 60 1からのア ドレスバス AA Bの最下位の 3ビッ ト (AO, A 1 , A 2 ) を除く全ア ド レス信号が入力されている。 最下位の 2ビッ ト (A0, A 1 ) が入 力されていないの 、 マイ ク ロプロセ ッサ 60 1からのデータの読み取りが、 1 ワー ド = 32ビッ ト単位 (4バイ ト単位) で行なわれるこ とよる。 また、 ァ ドレ スの A2が付与されていないから、 所定の領域のデータを読み取る場合、 4個の ROM606ないし 609は同時にデータを出力するこ とになる。 同時に出力さ れたデータを調整しているのが、 データセレク タ 6 1 0である。 即ち、 マイ ク ロ プロセ ッサ 60 1からの ROMへのアクセスは、 連続した番地に対して行なわれ るこ とが多いから、 32ビッ トを 1 ワー ドと して連続する 2ワー ドを一度に RO M 606ないし 609から読み出しておき、 実際に連続したヮー ドの読み取りで ある場合には、 データセ レク タ 6 1 0により R OMの属するバンクを順次切り換 えて、 連続してデータを読み取るのである。 この結果、 連続する 2ワー ドに対す るデータの読出は、 極めて高速になる。 ROM 606 and 607s ROMs 608 and 609 have the least significant three bits (AO, A1, A2) of address bus AAB from microprocessor 601. All address signals except for are input. Since the least significant two bits (A0, A1) are not input, data is read from the microprocessor 601 in units of 1 word = 32 bits (in units of 4 bytes) It depends. In addition, since the address A2 is not assigned, when reading data in a predetermined area, the four ROMs 606 to 609 output data at the same time. The data selector 610 adjusts the data output at the same time. In other words, access to ROM from the microprocessor 601 is often performed at consecutive addresses, so that 32 bits are used as one word and two consecutive words are used once. The data is read from ROMs 606 to 609 at the same time, and if the data is actually read continuously, the bank to which the ROM belongs is sequentially switched by the data selector 610 and the data is read continuously. is there. As a result, data reading for two consecutive words is extremely fast.
一方、 RAM6 1 1ないし 61 4は、 1 6ビッ ト X 256キロ = 4Mビッ ト D RAMであり、 図 1 7に示したよう に、 ア ドレス空間の 20000000h から 20 1 F F F F Fh の 2Mバイ トに割り当てられている。 カー ト リ ッ ジ 503内 には、 更に 2 Mバイ トのメモ リが増設可能であり、 このために拡張 R AMイ ン タ フ ェース 6 1 5が設けられている。 この拡張 RAMィ ンタフ ース 6 1 5は、 ァ ドレス空間の 20200000h から 203 F F F F F Fh に割り当てられてい る。 拡張 RAMイ ンタフ ユース 6 1 5には、 I Cカー ド用コネク タ 502 aを介 して I Cカー ドタイ プの RAMが最大 2Mバイ ト分装着可能である。 RAM 6 1 1ないし 6 1 4および拡張 RAMイ ンタフ —ス 61 5のデータライ ンは、 マイ クロプロセ ッ サ 60 1のデータバス D B 29と直接接続されており、 そのア ドレ スライ ンはデータ転送制御部 603を介してマイ クロプロセ ッサ 60 1のァ ドレ スバス A A Bに接続されている。 なお、 後述する各種レ ジス タ等の I /0は、 ァ ド レス空間の 80000000h からに割り当てられている。  On the other hand, RAMs 61 1 to 614 are 16 bits x 256 kilos = 4M bits of DRAM, and as shown in Figure 17, 2M bytes of address space from 20000000h to 201 FFFF Fh Have been assigned. In the cartridge 503, an additional 2 Mbytes of memory can be added, and an extended RAM interface 615 is provided for this purpose. The extended RAM interface 615 is allocated from 20200000h to 203FFFFFFh in the address space. In the extended RAM interface use 6 15, a maximum of 2 Mbytes of IC card type RAM can be installed via the IC card connector 502 a. The data lines of the RAM 61 1 to 61 4 and the extended RAM interface 615 are directly connected to the data bus DB 29 of the microprocessor 601, and the address lines control the data transfer. It is connected to the address bus AAB of the micro processor 601 via the unit 603. The I / O of various registers, etc., described later, is allocated from 80000000h in the address space.
次に、 通信制御部 604の構成について説明する。  Next, the configuration of the communication control unit 604 will be described.
通信制御部 604は、 図 1 9に示すように、 通信制御 L S I 604 aを中心に 構成されており、 データバス D B 29と通信制御 L S I 604 aのデータ端子 D 0ないし D 7との間に介装された双方向性バッ フ ァ 604 b、 マイ ク ロプロセ ッ サ 60 1側とのデータ授受のタイ ミ ングを司る コ ン ト ローラ 604 c、 通信制御 L S I 604 aの通信入出力に接続されたライ ンバッ フ ァ 604 e, f 、 25 M H zの動作ク ロ ッ ク C L Kを分周して通信制御 L S Iの動作クロ ッ ク P C L Kを 生成する D型フ リ ッ プフ ロ ッ プ 604 h、 通信用の基本クロ ッ ク RTXCAを生 成する水晶発振子 604 i から構成されている。 As shown in FIG. 19, the communication control unit 604 mainly includes a communication control LSI 604a, and is connected between the data bus DB29 and the data terminals D0 to D7 of the communication control LSI 604a. Mounted bi-directional buffer 604b, micro-processor The controller 604c, which controls the timing of data transfer with the server 601, and the line buffers 604e, f, and the 25MHz operation clock connected to the communication input / output of the communication control LSI 604a. From the D-type flip-flop 604 h that generates the operation clock PCLK of the communication control LSI by dividing the clock CLK, and the crystal oscillator 604 i that generates the basic clock RTXCA for communication It is configured.
通信制御 L S I 604 aは、 ザイ ログ社製 85 C 30であり、 ラ イ ンバッ フ ァ 604 e, と組み合わせた通信制御については、 ザィ ロ グ社 ΓΖ 8000ΤΜ F a m i l y D a t a B o o k N o v. 1 988」 222ページ以下に 記載されているので、 詳細な説明はここでは省略する。 コ ン ト ローラ 604 cは、 プログラマブルロジ ッ クアレイを用いて構成されており、 マイ クロプロセ ッサ 6 0 1からの信号を入力信号と し、 通信制御 L S I 604 a, 双方向性バッ フ ァ 6 04 bへの制御信号を出力信号としている。 コ ン ト ローラ 604 cには、 入力信 号と して、 ア ドレスバス A ABからのァ ドレス信号 A 1 1, A3 1、 通信制御部 604が割り当てられたメ モ リ空間に対する リ クエス ト信号/ RE Q、 メ モ リ に 対する読出 · 書込を指示する読み書き信号 R/W、 通信制御部 604に対する リ セ ッ ト信号/ R E S E T、 25MH zの動作クロ ッ ク C L Kが入力されている。 —方、 出力信号と しては、 双方向性バッ フ ァ 604 bに対する出力方向指示信号、 双方向性パッ フ ァ 604 bおよび通信制御 L S I 604 aに対するィ ネーブル信 号 ZC E、 通信制御 L S I 604 aに対する読出信号/ RD、 同じ く書込信号/ WR、 マイ ク ロプロセッサ 60 1側へのレディ信号 R D Yが生成される。 なお、 通信制御部 604のレデ ィ信号 RD Yは、 ノアゲー ト 6 1 6により、 他の回路の レディ信号と論理和が取られ、 これがレディ信号 ZR D Yと して、 マイ クロプロ セ ッサ 60 1 に出力されている。 レディ信号は、 マイ クロ プロセ ッサ 60 1から のアクセスに対して、 通信制御部 604がデータバス D B 29にデータを確立し たこ とをマイ ク ロ プロセ ッ サ 60 1側に知らせる信号である。  The communication control LSI 604a is 85C30 manufactured by Zilog. For communication control combined with the line buffer 604e, refer to Zilog ΤΜ 8000ΤΜ Family Data Book Nov. 1 988 ”on page 222 and below, so a detailed description is omitted here. The controller 604c is configured using a programmable logic array, receives a signal from the micro processor 61 as an input signal, and controls the communication control LSI 604a and the bidirectional buffer 604c. The control signal to b is an output signal. The controller 604c receives, as input signals, address signals A11 and A31 from the address bus AAB and a request signal for the memory space to which the communication control unit 604 is assigned. / REQ, read / write signal R / W for instructing read / write to memory, reset signal / RESET for communication control unit 604, operation clock CLK of 25 MHz are input. The output signals include an output direction instruction signal for the bidirectional buffer 604b, an enable signal ZC E for the bidirectional buffer 604b and the communication control LSI 604a, and a communication control LSI 604. A read signal / RD for a, a write signal / WR similarly, and a ready signal RDY to the microprocessor 601 are generated. The ready signal RDY of the communication control unit 604 is logically ORed with the ready signal of another circuit by the NOR gate 6 16, and this is taken as the ready signal ZR DY and the micro processor 60 1 Is output to The ready signal is a signal for notifying the micro processor 601 that the communication control unit 604 has established data on the data bus DB 29 in response to access from the micro processor 601.
なお、 ア ド レスパス AABのア ド レス信号 A 3は、 通信制御 L S I 604 aに 内蔵された 2チ ャ ン ネルの通信ポー トを指定する信号 AZBと して用いられてお り、 同じ く ア ドレス A 2は、 データバス上のデータが、 通信用データであるか 8 5 C 30へのコマン ドであるかを示す信号 C/Dとして用いられている。 これら のア ドレス信号を用いている関係で、 通信関係のア ドレスは、 図 1 7に示すよう に、 80000800 hから 4バイ トおきに、 4個設定される。 このうち、 レジ ス タ S C C C T L Bは、 通信制御 L S I 604 aの Bチ ャ ンネル側のコン ト ロー ルレジス タであ り、 レジス タ S C C DAB Tは、 Bチ ャ ンネル用のデータ レジス タである。 また、 レ ジス タ S C C C T LAは、 通信制御 L S 1 604 aの Aチ ヤ ンネル側のコ ン ト ロールレ ジス 夕であり、 レジス タ S C C D A T Aは、 Bチ ャ ン ネル用のデータレ ジス タである。 なお、 A , B各チ ャ ンネルは、 コ ン トロールレ ジス タ S C C C T LA, Bに書き込まれたデータにより、 内部的には、 更に複数 のレジス タ と して扱われ、 データ レ ジス タ S C C DATA, Bは、 コ ン ト ロール レジス タに書き込まれた値により入力 · 出力両方のデータ レジス タと して扱われ る。 Note that the address signal A3 of the address path AAB is used as a signal AZB that specifies the two-channel communication port built in the communication control LSI 604a, and is also used as the address signal A3. The dress A2 is used as a signal C / D indicating whether the data on the data bus is communication data or a command to the 85C30. these As shown in Fig. 17, four addresses are set for every 4 bytes from 80000800h, as shown in Fig.17. Among them, the register SCCCTLB is a control register on the B channel side of the communication control LSI 604a, and the register SCCDABT is a data register for the B channel. The register SCCCT LA is a control register on the A channel side of the communication control LS1604a, and the register SCCDATA is a data register for the B channel. Each of the channels A and B is internally treated as a plurality of registers by the data written in the control registers SCCCT LA and B, and the data registers SCC DATA and B is treated as both an input and output data register according to the value written to the control register.
通信制御部 604では、 マイ クロ プロセッサ 601から 1バイ トのデータがデ 一夕パス D B 29に出力され、 チ ャ ンネル Aの出力ポー トが指定されて書込動作 がなされると、 双方向性バッ フ ァ 604 bを介してこのデータを受け取り、 これ をシ リ アルデータと してライ ンバッ フ ァ 604 f を介して外部に出力する。 一方、 外部からライ ンバッ フ ァ 604 eを介してシ リ アルデータを受け取つていると き には、 マイ ク ロプロセッサ 60 1からの Aチャ ンネルの入力ポー トを指定した読 み取り動作を受ける と、 受け取ったデータをパラ レル信号と して、 双方向性バッ フ ァ 604 bを介して、 データバス DB 29に出力する。  In the communication control unit 604, one byte of data is output from the microprocessor 601 to the data path DB 29, and when the output port of the channel A is designated and a write operation is performed, the bidirectional communication is performed. This data is received via the buffer 604b, and is output to the outside via the line buffer 604f as serial data. On the other hand, when serial data is received from the outside via the line buffer 604 e, a read operation in which the input port of the A channel is specified from the microprocessor 601 is received. Then, the received data is output as a parallel signal to the data bus DB 29 via the bidirectional buffer 604b.
この通信制御ブ 604により外部のヮークステーシ ョ ン 507から転送された 印字データは、 データ転送制御部 603の RAM6 1 1ないし 6 1 4の所定の頟 域に保存され、 マイ クロ プロセッサ 60 1による処理を待つ。 マイ ク ロプロセ ッ サ 60 1は、 電子制御装置 50 1側から展開すべき印字データを総て受け取ると、 ROM606ないし 609に記憶したプロ グラ ム起動し、 R A M 6 1 1ないし 6 1 4の所定の領域に保存されたこの印字データを処理する。 かかる処理により画 像の展開がなされ、 展開された結果は、 RAM 6 1 1ないし 6 1 4の所定の領域 に画像データ と して記憶される。  The print data transferred from the external work station 507 by the communication control block 604 is stored in a predetermined area of the RAM 611 to 614 of the data transfer control unit 603, and is processed by the microprocessor 601. wait. When receiving all print data to be developed from the electronic control unit 501 side, the micro processor 601 starts the program stored in the ROM 606 to 609, and executes a predetermined process in the RAM 611 to 614. The print data stored in the area is processed. The image is developed by such processing, and the developed result is stored as image data in a predetermined area of the RAMs 611 to 614.
次に、 カー ト リ ッ ジ 503内の R 0 Mと電子制御装置 50 1 との関係について 説明する。 本実施例のカー ト リ ッ ジ 503をプ リ ン タ 500の電子制御装置 50 1側から見た場合、 図 1 6の右欄に示したよ う に、 先頭の 5 12 Kバイ トには、 ROM (図 1 8に示す R OM6 1 8 ) : ^割り当てられている。 即ち、 このカー ト リ ッ ジ 503は、 電子制御装置 50 1の C P U 5 1 0が実行するプロ グラムも内 蔵しており、 電子制御装置 501の C P U 5 1 0は、 カー ト リ ッ ジ 503が装着 されている場合には、 初期化の処理の完了後、 この R OM 6 1 8の所定の番地へ のジ ャ ンプ命令を実行する。 それ以後、 C PU 5 1 0は、 この ROM61 8に記 憶された処理手順に従って動作する。 Next, the relationship between R 0 M in the cartridge 503 and the electronic control unit 501 will be described. The cartridge 503 of this embodiment is connected to the electronic control unit 50 of the printer 500. When viewed from one side, as shown in the right column of FIG. 16, the first 512 Kbytes are assigned a ROM (ROM6 18 shown in FIG. 18): ^. That is, the cartridge 503 also includes a program executed by the CPU 501 of the electronic control device 501, and the CPU 510 of the electronic control device 501 includes the cartridge 503. If is mounted, after the initialization processing is completed, a jump instruction to a predetermined address of the ROM 618 is executed. Thereafter, the CPU 510 operates according to the processing procedure stored in the ROM 618.
C PU 5 1 0がカー ト リ ッ ジ 503に割り当てられたこの 2Mバイ トの空間の 先頭から 51 2 Kパイ トの空間をアクセスする と、 カー ト リ ツ ジ 503のコネク 夕側ア ドレスバス CABに設けられたア ドレスバッ フ ァ 6 1 7を介して出力され るァ ドレス信号により ROM61 8がアクセスされ、 この ROM6 1 8に記憶さ れた命令やデータが、 コネク タ側のデータバス C DBに設けられたデータバツ フ ァ 6 1 9を介して電子制御装置 50 1側の C P U 5 1 0に送られる。 なお、 図 1 6 , 1 7において、 「X」 は、 割り当てられた空間の先頭ア ドレスの最上位の 4 ビツ トの値を示している。  When the CPU 510 accesses the 512 MB space from the beginning of this 2 MB space allocated to the cartridge 503, the cartridge 503's connector evening address bus The ROM 618 is accessed by an address signal output via the address buffer 617 provided in the CAB, and the instructions and data stored in the ROM 618 are transferred to the data bus CDB on the connector side. The data is sent to the CPU 510 of the electronic control unit 501 via the data buffer 610 provided in the CPU. In FIGS. 16 and 17, “X” indicates the value of the four most significant bits of the head address of the allocated space.
E. データ転送制御部 603の説明 E. Explanation of data transfer control unit 603
図 1 6 , 図 1 7に示したア ドレスマッ プにおいて R 0 Mや R A Mが割り当てら れたア ドレス以外のア ドレスには、 種々のコ ン ト ロールレ ジス タ, ステータス レ ジス 夕が置かれている。 これらのレ ジス タは、 データ転送制御部 603により実 現されているので、 次にこのデータ転送制御部 603について説明する。 回路の 説明が中心となるが、 ア ドレスマッ プ (図 1 6, 図 1 7 ) を適宜参照する。 図 1 8に示すデータ転送制御部 603は、 ゲー ト数約 29000のゲー ト ァ レ ィ によ り実現されている A S I Cである。 この素子は、 セイ コーエプソン社製、 型番 S LA929 Sのゲー ト アレイ であり、 C MO Sプロセスにより作られた電 力消費の小さな素子である。 データ転送制御部 603は、 CADシステムである セィ コ一ェプソ ン社製 A S I Cデザイ ンシステム 「LAD S NE T」 を用いて設 計された。 この C A Dシステムは、 論理回路設計に使用するラ ッチ、 フ リ ッ プフ 口 ッ プ、 カウ ン タ、 プロ グラマブルロジ ッ クアレイ等の要素をライ ブラ リの形で 用意しており、 これらを用いて必要な論理回路の設計を行なった後、 AS I Cと してのパターンを自動生成するこ とができる。 In the address maps shown in Figs. 16 and 17, addresses other than those to which R0M and RAM are assigned contain various control registers and status registers. I have. Since these registers are realized by the data transfer control unit 603, the data transfer control unit 603 will be described next. Although the explanation of the circuit is the main, refer to the address map (Figs. 16 and 17) as appropriate. The data transfer control unit 603 shown in FIG. 18 is an ASIC realized by a gate array having about 29,000 gates. This device is a gate array of model number SLA929S, manufactured by Seiko Epson, and is a low power consumption device made by the CMOS process. The data transfer control unit 603 was designed using a CAD system ASIC design system “LAD SNET” manufactured by Secepson. This CAD system uses a library of elements such as latches, flip-flops, counters, and programmable logic arrays used in logic circuit design. After the necessary logic circuit is designed using these, patterns for AS IC can be automatically generated.
AS I Cと して実現されたデータ転送制御部 603は、 カー ト リ ツ ジ 503が プリ ンタ 500のコネク タ C N 1 1に装着された状態で、 プリ ンタ 500の電子 制御装置 50 1の C PU 5 1 0と、 カー ト リ ッ ジ 503のマイ クロプロセ ッ サ 6 0 1 との間のデータのやり取りを制御するものである。 両者間のデータのやり取 りは、 電子制御装置 50 1側から カー ト リ ツ ジ 503側に読み出し専用のデータ バスを介してデータを送るための読出制御回路 620と、 同じ く F I F Oメ モ リ 62 1を介してデータを受け渡す F I F O制御回路 623、 カー ト リ ッ ジ 503 側が用意したデータを電子制御装置 50 1の側から読み取り可能とするダブルバ ンク制御回路 624によ り実現される。 なお、 F I F 0メモリ 62 1は、 フ ァー ス トイ ンフ ァース ト ァゥ トの手順でデータを記憶し読み出す RAMであり、 本実 施例では、 日立製作所製 HM 6392 1を使用した。 また、 三菱電機社製 M66 252 F P等、 他の F I F Oメ モ リ を使用することも可能である。  The data transfer control unit 603 implemented as an AS IC includes a cartridge 503 mounted on the connector CN 11 of the printer 500 and a CPU of the electronic control unit 501 of the printer 500. It controls data exchange between the microprocessor 501 and the microprocessor 601 of the cartridge 503. Data exchange between the two is performed by a read control circuit 620 for transmitting data from the electronic control device 501 to the cartridge 503 via a read-only data bus, as in the FIFO memory. This is realized by a FIFO control circuit 623 that transfers data via the 621 and a double-bank control circuit 624 that enables data prepared by the cartridge 503 to be read from the electronic control device 501 side. Note that the FIF0 memory 621 is a RAM for storing and reading data in a fast-in-first-out procedure, and in this embodiment, HM 63921 manufactured by Hitachi, Ltd. was used. It is also possible to use other FIFO memories such as Mitsubishi Electric M66 252 FP.
また、 データ転送制御部 603には、 電子制御装置 50 1側との信号線と して、 そのア ド レスバス CABがア ド レ スバッ ファ 6 1 7を介して、 一方、 データバス C D Bがデータバッ ファ 6 1 9を介して、 各々接続されている。 データ転送制御 部 603内には、 このァ ドレスバス CABの信号をおよびカー ト リ ッ ジセレク ト の信号 C S E Lを受けて、 データ転送制御部 603内の各部に選択信号を出力す る第 1のデコーダ 631が構成されている。 同様に、 マイ クロプロセ ッサ 60 1 からのァ ド レ スバス A A Bおよびコ ン ト ロール信号 C C Cもデータ転送制御部 6 03に接続されており、 データ転送制御部 603内には、 このア ド レ スパス A A Bを受けて、 内部の各回路に選択信号を出力する第 2のデコーダ 632が構成さ れている。 更に、 このア ド レ スパス AABおよびコ ン ト ロ ール信号 C C Cを受け て、 ROM606ないし 609, RAM6 1 1ないし 6 1 4および拡張 RAMィ ン タ フ ユ ース 6 1 5にァ ド レ ス信号および制御信号を出力するバス制御部 635 も、 構成されている。  The data transfer control unit 603 has an address bus CAB as a signal line with the electronic control unit 501 via an address buffer 6 17, and a data bus CDB with a data buffer. Each is connected via 6 19. The data transfer control unit 603 receives the signal of the address bus CAB and the signal CSEL of the cartridge select, and outputs a selection signal to each unit in the data transfer control unit 603. 631 are configured. Similarly, the address bus AAB and the control signal CCC from the micro processor 601 are also connected to the data transfer control section 603, and the address path is provided in the data transfer control section 603. A second decoder 632 that receives the AAB and outputs a selection signal to each internal circuit is configured. Further, upon receiving the address path AAB and the control signal CCC, the address is transferred to the ROM 606 to 609, the RAM 611 to 614 and the extended RAM interface 615. A bus control unit 635 that outputs signals and control signals is also configured.
これらの他、 データ転送制御部 603内部には種々のレジスタが構成されてい るが、 レ ジス タへの読み書きは、 通常のリー ド · ライ ト動作によるものの他、 特 定の処理を行なったとき、 自動的に書き込まれるものも少な くない。 これらの特 殊なレジスタの構成については、 後述する。 また、 カー ト リ ッ ジ 503が電子制 御装置 501側から見て読出専用のデバイスと して扱われている関係で、 電子制 御装置 501側から書込可能なレ ジス タは、 所定の番地からの読み取り動作を行 なう こ とで書き込まれる構成となっている。 即ち、 所定の番地を指定するこ とで 第 1のデコーダ 63 1から選択信号が出力され、 この信号により レジス タにデー 夕が書き込まれるのである。 レジス タからの読出は、 通常のリー ドサイ クルによ り行なわれる。 また、 マイ ク ロプロセ ッサ 60 1側からは、 通常の読出 ·書込動 作によりデータのリー ド · ライ トが行なわれる。 図 1 8では、 レジス タは読み取 り可能なバスに接続した状態で描き、 書込動作は単なる矢印で示した。 こ う した レ ジス タ と しては、 割込要求レ ジス タ 640、 ポー リ ン グ , コ マン ド レ ジス タ (図 1 6レジス タ P OL L) 643、 ステータ ス レジス タ (図 1 6レ ジス タ S T ATU S) 645、 転送フ ラ グレジス タ (図 1 7レジス タ B PO L L) 647、 PROMコン ト ロールレ ジス タ 649、 コン ト ロールレジス タ 650がある。 In addition to these, various registers are configured in the data transfer control unit 603, and reading and writing to the registers are performed by a special read / write operation in addition to the normal read / write operation. Not a few are automatically written when certain processing is performed. The configuration of these special registers will be described later. In addition, since the cartridge 503 is treated as a read-only device when viewed from the electronic control device 501 side, a register that can be written from the electronic control device 501 side is a predetermined register. The data is written by reading from the address. That is, by specifying a predetermined address, a selection signal is output from the first decoder 631, and data is written to the register by this signal. Reading from the register is performed in a normal read cycle. From the microprocessor 601 side, data read / write is performed by a normal read / write operation. In Figure 18, the registers are depicted connected to a readable bus, and write operations are indicated by simple arrows. Such registers include an interrupt request register 640, a polling and command register (Figure 16, POLL) 643, and a status register (Figure 16). Register ST ATUS) 645, transfer flag register (Figure 17 B Register) 647, PROM control register 649, and control register 650.
これらのレ ジス タのう ち、 ステー タス レジス タ 645と転送フ ラ グレジス タ 6 47を除く レ ジス タは、 電子制御装置 50 1の C PU 5 1 0も し く はカー ト リ ツ ジ 503のマイ クロプロセ ッサ 60 1にメモ リ マップド I /Oと して割り当てら れた複数のレ ジス タの総称である。 複数のレジス タは、 必ずしも連続したァ ドレ スに割り当てられている訳ではない。 割込要求レ ジス タ 640には、 図 1 6, 図 1 7に示したレジス タ AMD I NT O, 1, 2およびレジス タ AMD C LR O, 1, 2が属する。 また、 ポーリ ング · コマン ドレジス タ 643には、 レジス タ P O L Lおよびレ ジス タ MC ONT C Sが属する。 PROMコ ン ト ロールレ ジス タ 649には、 レ ジス タ E E P C S, E E P S K, E E PD Iが属する。  Of these registers, the registers except the status register 645 and the transfer flag register 647 are the CPU 510 or the cartridge 503 of the electronic control unit 501. This is a general term for a plurality of registers allocated as memory-mapped I / O to the micro processor 601. Multiple registers are not necessarily assigned to contiguous addresses. The interrupt request register 640 includes the registers AMDINTO, 1,2 and the register AMDCLO, 1,2 shown in FIGS. Further, the polling command register 643 includes a register POLL and a register MCONTCS. To the PROM control register 649, registers EEPSCS, EEPSK, and EEPDI belong.
コ ン ト ロールレ ジス タ 650には、 読出制御回路 620, F I F O制御回路 6 23, ダブルバンク制御回路 624に属さないレジス タで、 以上の説明に挙がら なかった総てのレジス タが属する。 これらは、 図 1 6, 図 1 7に示したレジス タ AD DMUX A, ADDMUXB, C L KD I V, R T C V A L , RTC ON, RT C S E Lである。  The control register 650 is a register that does not belong to the read control circuit 620, the FIFO control circuit 623, or the double bank control circuit 624, and all registers not mentioned in the above description belong to the control register 650. These are the registers ADDMUX A, ADDMUXB, CLKDIV, RTCCAL, RTCON, and RTCSEL shown in FIGS. 16 and 17.
また、 図 1 6のメ モ リ マ ツ プに示したうち、 各々 1 28キロパイ トの領域 E W WR 0, EWWR 1は、 電子制御装置 50 1側から読出制御回路 620の第 1, 第 2のワー ドラ ッチ 65 1, 652への書込に用いる領域であり、 図 1 7のメ モ リ マッ プに示したレジス タ EWRD O, EWRD 1はこのラ ッチ 65 1 , 652 を各々 1ヮー ドと してマイ クロプロセ ッサ 60 1側からみたものに相当する。 レ ジス 夕 F I F OR S T, F I F OWRは F I F O制御回路 623の F I F Oレジ ス タ 653に相当し、 レ ジス タ F I RC LK, F I F 0 R Dは F I F 0制御回路 623の F I F O読出レジス タ 655に相当する。 なお、 F I F O制御回路 62 3には、 F I F 0メ モ リ 62 1に書き込むデータを保持するラ 、ソ チ 657も備え られている。 In addition, of the memory map shown in Figure 16, the area WR 0 and EWWR 1 are areas used for writing from the electronic control unit 501 side to the first and second word latches 65 1 and 652 of the read control circuit 620, respectively. The registers EWRD O and EWRD 1 shown in the map correspond to the latches 65 1 and 652 as viewed from the side of the micro processor 601 with 1 as each mode. The register FIF OR ST, FIF OWR corresponds to the FIFO register 653 of the FIFO control circuit 623, and the registers FIRC LK, FIF 0 RD correspond to the FIFO read register 655 of the FIF 0 control circuit 623. The FIFO control circuit 623 also includes a latch 657 for holding data to be written to the FIF 0 memory 621.
図 1 6に符号 D PRAMA, DP RAMBで示した領域は、 256バイ ト ( 1 28ワー ド) の容量を有するバッ フ ァであり、 ダブルバン ク制御回路 624の第 1, 第 2のバ ッ フ ァ 658, 659を電子制御装置 50 1側から見たものに相当 する。 このバッ フ ァ 658, 659をマイ クロプロセ ッサ 60 1側から見たのが、 図 1 7に示すパンク DP WR OA, DPWRO Bである。 なお、 ダブルバンク制 御回路 624を介したデータのやり取りには、 ステータス レジス タ 645の所定 ビッ ト d 1, d 2も用いられるが、 その詳細は後述する。  The area indicated by the symbols D PRAMA and DP RAMB in FIG. 16 is a buffer having a capacity of 256 bytes (128 words), and the first and second buffers of the double bank control circuit 624. The keys 658 and 659 correspond to those viewed from the electronic control unit 501 side. The punctures DPWROA and DPWROB shown in Fig. 17 are seen from the microprocessor 601 side of the buffers 658 and 659. The predetermined bits d1 and d2 of the status register 645 are also used for data exchange via the double bank control circuit 624, the details of which will be described later.
F . 各レジス 夕の説明 F. Each Regis Evening Explanation
割込要求レジス タ 640は、 電子制御装置 50 1側からマイ クロプロセ ッサ 6 0 1への割込の要求を発生させ、 これを保持するレジス タである。 電子制御装置 50 1からマイ クロプロセ ッサ 60 1への割込は 3レベル用意されており、 図 1 6に示すよう に、 3つのレ ジス タ (AMD I N T 0, 1, 2) が設けられている < 電子制御装置 50 1側からこの割込要求レジス タ 640のいずれかを読み取るこ とで、 マイ ク ロプロセ ッ サ 60 1に対する割込要求が発生する。 このレジス タの セ ッ トは、 電子制御装置 50 1からの読み取り動作により行なわれるが、 読み取 られるデータには意味がな く、 割込要求に発生には無関係である。  The interrupt request register 640 is a register that generates a request for an interrupt from the electronic control unit 501 to the microprocessor 601, and holds the request. There are three levels of interrupts from the electronic control unit 501 to the microprocessor 601. As shown in Fig. 16, three registers (AMD INT 0, 1, 2) are provided. Yes <By reading any of the interrupt request registers 640 from the electronic control unit 501 side, an interrupt request to the micro processor 601 is generated. The setting of this register is performed by a read operation from the electronic control unit 501, but the data to be read has no meaning and is not related to the generation of the interrupt request.
この割込要求レ ジス タ 640の具体的な構成例を図 20に示す。 このレジス タ は、 3個の D型フ リ ッ プフ ロ 'ッ プから構成されている。 各フ リ ッ プフロ ッ プを以 下割込要求レ ジス タ 640 a , b, c と呼ぶが、 電子制御装置 50 1からの上記 レジス タの読み取り動作により第 1のデコーダ 63 1が出力する信号 ZAMD I N T 0 , 1, 2によ り、 この割込要求レ ジス タ 640 a, b , cの出力端子 Qは アクテ ィ ブロ ウにセ ッ ト され、 割込信号/ I NT O, 1 , 2が出力される。 これ らの割込要求レ ジス タ 640 a, b, cの出力をク リ アするレジス タは、 図 1 7 に示すように、 読み取り専用の 3のレジス タ (AMD C L R O, 1, 2 ) と して 所定のア ドレスに割り当てられている。 従って、 マイ ク ロ プロセ ッサ 60 1から このレジスタが割り当てられた各ァ ドレスに対する読み取り動作を行なう と、 第 2のデコーダ 632は信号/ I NT C LR 0, 1 , 2を各々出力し、 対応するフ リ ッ プフ口 ッ プはプリセ ッ ト される。 FIG. 20 shows a specific configuration example of the interrupt request register 640. This register consists of three D-type flip-flops. Each flip-flop is hereinafter referred to as an interrupt request register 640a, b, or c. The output terminals Q of the interrupt request registers 640 a, b, and c are set to the active blow by the signals ZAMD INT 0, 1, and 2 output from the first decoder 631 by the register reading operation. Set and the interrupt signals / INTO, 1, 2 are output. The registers that clear the outputs of these interrupt request registers 640a, b, and c are, as shown in Figure 17, three read-only registers (AMD CLRO, 1, 2). Assigned to a given address. Therefore, when a read operation is performed from the microprocessor 601 to each address to which this register is assigned, the second decoder 632 outputs signals / INTC LR 0, 1, 2 respectively, The flip flops that are activated are preset.
電子制御装置 50 1側から割込要求をかける場合には、 割込要求レジス タ 64 0のいずれかをアクセスすれば良く、 マイ クロ プロセ ッサ 601は優先順位を判 定して、 割込要求に応える処理を行なう。 この場合に、 マイ クロプロセッサ 60 1は、 対応する割込要求レジスタ 640 a, b , cをク リ アする。 なお、 信号 P U P 2等のように符号 「P U P」 で始まる信号は、 リ セッ ト信号出力回路 637 から出力される信号であ り、 リセ ッ ト時等にロウになる信号である。 図 1 8に示 した信号 PUP 2は、 3つの割込要求を一度にク リアするための信号である。  When an interrupt request is issued from the electronic control unit 501, any one of the interrupt request registers 640 may be accessed, and the micro processor 601 determines the priority and determines the interrupt request. Perform processing corresponding to. In this case, the microprocessor 601 clears the corresponding interrupt request register 640a, b, c. Note that a signal starting with the symbol “P UP”, such as the signal P UP 2, is a signal output from the reset signal output circuit 637 and is a signal that goes low at the time of reset or the like. Signal PUP 2 shown in FIG. 18 is a signal for clearing three interrupt requests at once.
ポー リ ング ' コマン ドレジスタ 643は、 マイ クロプロセ ッサ 60 1側から電 子制御装置 50 1側へコマン ドを引き渡すレジス タであり、 マイ クロプロセ ッサ 60 1側から書込可能でかつ電子制御装置 50 1側から読み取り可能なレジス 夕 である。 このレ ジス タのハー ドゥ ヱ ァ上の構成例を、 図 2 1に示す。 図示するよ う に、 ポー リ ング · コマン ドレジス タ 643は、 1 6ビッ ト幅のデータ ラ ッ チを 構成する 2個のォク タル D型フ リ ッ プフロ ッ プ 643 a, b、 および 1個の D型 フ リ ッ プフロ ッ プ 643 cから構成することができる。  The polling command register 643 is a register that transfers a command from the microprocessor 601 to the electronic control unit 501, and is writable from the microprocessor 601 and is an electronic control unit. 50 Register evening that can be read from the 1st side. Figure 21 shows an example of the configuration of this register on the hard disk. As shown, the polling command register 643 comprises two octal D-type flip-flops 643a, b, and 1 that form a 16-bit wide data latch. D-type flip-flops 643c.
ォク タル D型フ リ ッ プフ口 ヅ プ 643 a, bのデータ入力端子 1 Dないし 8 D には、 マイ ク ロ プロセ ッ サ 60 1からのデータバス D B 29 (バス幅 1 6ビッ ト ) が接続されており、 その出力端子 1 Qないし 8 Qには、 電子制御装置 50 1側か らのデータバス D B 68 (パス幅 1 6ビッ ト) に接続されている。 ォク タル D型 フ リ ッ プフロ ッ プ 643 a, bのク ロ ッ ク端子 C Kには、 マイ クロプロセ ッサ 6 0 1側からのポー リ ング · コ マン ド レ ジス タ 643のアクセス (図 1 6、 レジス タ MC ONT C S) に際して第 2のデコーダ 632から出力される信号 ZMC O NT C Sが接続されており、 この信号 ァ テ ィ ブロウ となったとき、 マイ クロ プロセ ッサ 60 1側のデータバス D B 29の内容がォク タル D型フ リ ップフロ ッ プ 643 a, bにラ ッチされる。 また、 ォク タル D型フ リ ッ プフロ ッ プ 643 a, bの出力を有効にするアウ ト プッ ト イ ネーブル端子 O Eには、 電子制御装置 50 1側からのポー リ ング · コマン ドレ ジス タ 643のアクセス (図 1 6、 レジス タ P O L L) に際して第 1のデコーダ 63 1から出力される信号/ P 0 L Lが接続 されており、 この信号がロウアクテ ィ ブとなったとき、 ォク タル D型フ リ ッ プフ ロ ッ プ 643 a, bに保持されたデー夕が電子制御装置 50 1側のデータバス D B 68に出力される。 The data bus DB 29 (bus width 16 bits) from the micro processor 601 is connected to the data input terminals 1 D to 8 D of the octal D-type flip-flops 643 a and b. The output terminals 1Q to 8Q are connected to a data bus DB 68 (path width 16 bits) from the electronic control unit 501 side. The access to the polling command register 643 from the micro processor 601 side is connected to the clock terminal CK of the D-shaped flip-flop 643 a, b. 1 6, Regis The data output from the second decoder 632 at the time of data transfer (MC ONT CS) is connected, and when this signal becomes active, the data bus DB 29 on the side of the micro processor 60 1 Is latched in the octal D-type flip-flops 643a and 643b. In addition, the output enable terminal OE that enables the output of the octal D-type flip-flop 643 a and b is provided with a polling command register from the electronic control unit 501 side. The signal / P0LL output from the first decoder 631 is connected at the time of accessing 643 (Fig. 16, register POLL), and when this signal becomes low active, an octal D-type signal is output. The data held in the flip-flops 643 a and b are output to the data bus DB 68 of the electronic control unit 501.
なお、 信号/ M C 0 N T C Sおよび信号/ P 0 L Lは、 D型フ リ ッ プフ ロ ッ プ 643 cのク ロ ッ ク端子 Cおよびプリセ ッ ト端子 PRに接耪されており、 その出 力端子 Qからの信号 CMD RDは、 ォク タル D型フ リ ッ プフロ ッ プ 643 a, b によるデータのラ ッチが行なわれる と (信号 ZMC 0NT C Sがロウ) 、 ハイ レ ベルにセ ッ ト され、 このデータを電子制御装置 50 1側から読み出すと (信号 Z PO L Lがロウ) 、 ロウ レベルに リ セ ッ ト される。 D型フ リ ッ プフロ ッ プ 643 cの出力信号である CMDRDは、 電子制御装置 50 1側から読出可能なステー タス レ ジス タ 645の所定ビッ ト d 3 (以下、 フ ラグ CMDRDとも呼ぶ) とな つている。 従って、 電子制御装置 50 1側からこのステー タス レ ジス タ 645を 読み取ることで、 電子制御装置 50 1は、 マイ クロプロセ ッサ 60 1からポーリ ング · コマン ドレジスタ 643にコマン ドがセ ッ ト されたことを知ることができ る。  The signal / MC 0 NTCS and the signal / P 0 LL are connected to the clock terminal C and the preset terminal PR of the D-type flip-flop 643c, and the output terminal The signal CMD RD from Q is set to a high level when data is latched by octal D-type flip-flops 643 a and b (signal ZMC 0NT CS is low). When this data is read from the electronic control unit 501 (the signal ZPLL is low), it is reset to a low level. CMDRD, which is the output signal of the D-type flip-flop 643c, is a predetermined bit d3 (hereinafter, also referred to as a flag CMDRD) of the status register 645 that can be read from the electronic control unit 501 side. It is. Therefore, by reading the status register 645 from the electronic control unit 501 side, the electronic control unit 501 sets the command to the polling command register 643 from the micro processor 601. I can know that.
電子制御装置 50 1は、 ステータスレジスタ 645のビッ ト d 3であるフ ラグ CMDRDを見て、 コマン ドがセ ッ ト されたこ とを知ると、 通常のリードサイ ク ルにより ポー リ ング · コマン ドレジス タ 643の内容、 即ちマイ クロプロセ ッサ 60 1から送られるコマ ン ドを読み取る。 コマ ン ドの内容と しては、 印字データ のデータ転送制御部 603側への転送開始の指示, 印刷の開始の指示あるいはコ ンソールパネル 5 1 8へのメ ッセージの表示等がある。 電子制御装置 50 1がポ ー リ ング · コ マン ドレジス 夕 643の内容を読み取る と、 図 21に示したよう に、 D型フ リ ップフロ ッ プ 643 cの出力信号 C M D R Dは、 信号 Z P 0 L Lにより ハイ レベルに反転する。 従って、 マイ 口プロセ ッサ 60 1は、 この転送フラグ レジス タ 647の所定ビッ ト d 2を監視するこ とで、 自己の出力したコマン ドが 電子制御装置 50 1側に読み取られた否かを知ることができる。 When the electronic control unit 501 determines that the command has been set by looking at the flag CMDRD, which is bit d3 of the status register 645, the electronic control unit 501 uses a normal read cycle to set the polling command register. Read the contents of 643, that is, the command sent from the micro processor 601. The contents of the command include an instruction to start transfer of print data to the data transfer control unit 603, an instruction to start printing, and a message to be displayed on the console panel 518. When the electronic control unit 501 reads the contents of the polling command register 643, as shown in FIG. The output signal CMDRD of the D-type flip-flop 643c is inverted to a high level by the signal ZP0LL. Therefore, the my mouth processor 601 monitors the predetermined bit d2 of the transfer flag register 647 to determine whether or not the command output by itself is read by the electronic control device 501. You can know.
ステータス レジス タ 645は、 マイ クロプロセ ッサ 60 1からコマン ドがセ ッ ト されたか否かを示す上述した情報以外に、 図 22に示す情報を保持するレ ジ ス 夕である。 各ビツ トの内容について説明する。 ビッ ト d 0は、 後述する読出制御 回路 620の第 1のワー ドラ ッチ 65 1に電子制御装置 50 1側からデータが書 き込まれたと き、 読出制御回路 620内で生成される信号 EWRDYにより ロウ レベルにセッ ト され、 そのデータがマイ クロプロセッサ 60 1側によって読み取 られたとき、 第 2のデコーダ 632からの信号によりハイ レベルに リ セッ ト され る。 このビッ トをフラグ EWRDY 0と呼ぶ。 また、 ビッ ト d 4は、 第 2のヮー ドラ ツチ 652に電子制御装置 50 1側からデータが書き込まれたと き、 読出制 御回路 620内で生成される信号 E WRD Y 1により ロウ レベルにセ ッ ト され、 そのデータがマイ クロプロセ ッサ 60 1側によって読み取られたとき、 第 2のデ コーダ 632からの信号によりハイ レベルに リ セ ッ ト される。 このビツ トをフラ グ EWRDY 1 と呼ぶ。  The status register 645 is a register that holds the information shown in FIG. 22 in addition to the information indicating whether the command has been set from the microprocessor 601 or not. The contents of each bit will be described. The bit d0 is a signal EWRDY generated in the read control circuit 620 when data is written from the electronic control unit 501 to the first word latch 651 of the read control circuit 620 described later. Is set to low level, and when the data is read by the microprocessor 601 side, it is reset to high level by a signal from the second decoder 632. This bit is called the flag EWRDY 0. The bit d4 is set to a low level by a signal EWRY1 generated in the read control circuit 620 when data is written from the electronic control device 501 to the second lead latch 652. When the data is read by the micro processor 601, it is reset to a high level by a signal from the second decoder 632. This bit is called flag EWRDY 1.
ビッ ト d l , d 2は、 ダブルバン ク制御回路 624が電子制御装置 50 1側と マイ クロプロセ ッサ 60 1側のいずれからァクセ ス可能な状態であるかを示すも のであり、 それぞれフラ グ ADDMUXA, ADDMUXBと呼ぶ。 2つのビッ トは、 ダブルバンク制御回路 624に内蔵された 2つの転送用バンクの各々に対 応している。 このビッ ト d 1, d 2は、 マイ ク ロプロセ ッサ 60 1が、 図 1 6に 示したように、 コ ン ト ロ ールレ ジ ス タ 650に含まれるレ ジス タ AD DMUXA, ADDMUXABのビッ ト d Oにデータを書き込むこ とでセ ッ ト · リ セッ ト され る。 従って、 マイ クロプロセ ッサ 60 1側からは、 ダブルバンク制御回路 624 の一方のパンクへのデータの書込に先だって、 このフ ラグをロウレベルにセ ッ ト し、 書込完了後にハィ レベルに リ セ ッ ト し、 電子制御装置 50 1側からは、 この フ ラ グがハイ レベルである側のバンクからデータを読み出すものとすれば、 2つ のバ ン ク に交互にデータを書き込み、 読み出すこ とで、 マ イ ク ロプロセッサ 60 1側から電子制御装置 50 1側に連続してデータを受け渡すことができる。 Bits dl and d 2 indicate whether the double bank control circuit 624 is accessible from the electronic control unit 501 side or the micro processor 60 1 side, and the flags ADDMUXA, Called ADDMUXB. The two bits correspond to each of the two transfer banks included in the double bank control circuit 624. These bits d1 and d2 are the bits of the registers AD DMUXA and ADDMUXAB that the microprocessor 601 uses, as shown in FIG. 16, the registers included in the control register 650. Set / reset by writing data to dO. Therefore, the micro processor 601 sets this flag to low level before writing data to one puncture of the double bank control circuit 624, and resets it to high level after writing is completed. If the electronic control unit 501 reads data from the bank on the side where this flag is at a high level, it is necessary to write and read data alternately in the two banks. Microprocessor 60 Data can be continuously transferred from one side to the electronic control unit 50 1 side.
ビッ ト d 3 (フ ラグ C M D R D ) については、 既に説明した。 ビッ ト d 5は、 マイ ク ロプロセ ッサ 60 1の動作ク ロ ッ クに基づいてセッ ト されるフ ラグ C L K D I Vである。 マイ クロ プロセ ッ サ 60 1の動作クロ ッ クは、 外付けの水晶発振 子 C RC 1を用いた第 1の発振器 66 1から出力されるク ロ ッ ク C L Kが使用さ れるが、 マイ ク ロ プロセ ッサ 60 1側からコ ン ト ロールレジス タ 650のレジス 夕 C L KD I Vのビッ ト d Oに値 0を書き込むと、 マイ ク ロプロセ ッサ 60 1の 動作クロ ッ ク C LKは 25MH zとなり、 ビッ ト d Oに値 1を書き込むと、 動作 ク ロ ッ クは 1 2. 5MH zとなる。 電子制御装置 50 1側からみたステータスレ ジス 夕 645のフ ラ グ C L KD I Vは、 このク ロ ッ ク C L Kが 25MH zの場合 にロウレベルにセ ッ ト され、 1 2. 5Mの場合にハイ レベルにセ ッ ト される。 電 子制御装置 50 1側は、 データ転送のタイ ミ ング等を合わせるためにマイ クロプ 口セ ッサ 60 1の動作ク ロ ッ クの周波数、 つま り動作速度を知る必要がある場合、 ステータスレ ジス タ 645のこのビ ッ ト をチヱ ッ クする。  Bit d3 (flag CMDRD) has already been described. Bit d5 is a flag CLKDIV set based on the operation clock of microprocessor 601. The operation clock of the microprocessor 601 uses the clock CLK output from the first oscillator 661 using the external crystal oscillator CRC1, but the microclock is used. When the value 0 is written to the bit dO of the control register 650 from the processor 601 and the control register 650, the operation clock CLK of the microprocessor 601 becomes 25 MHz, Writing a value of 1 to bit dO results in an operating clock of 12.5 MHz. Electronic control unit 50 Status register viewed from the 1st side Flag at 645 CL KD IV is set to low level when this clock CLK is 25 MHz, and is set to high level when 12.5 MHz. Is set to If the electronic control device 501 needs to know the operating clock frequency, that is, the operating speed of the micro-processor 601 in order to match the timing of data transfer, etc. Check this bit of the register 645.
ビッ ト d 6は、 マイ クロプロセ ッサ 60 1が動作している場合にハイ レベルに セ ッ ト され、 ス リープモー ドに入った場合にロウレベルにセッ ト されるフラ グ A DM0Nである。 本実施例では、 マイ クロプロセ ッサ 60 1は、 ページ記述言語 を電子制御装置 50 1側から受け取り、 これを展開して画像データにする処理を 行なうから、 電子制御装置 50 1側から処理すべきページ記述言語が送られて来 ないまま所定時間が経過した場合には、 マイ ク ロプロセ ッ サ 60 1は、 省電力を 図るため、 最初動作周波数を 1 /2、 即ち 1 2. 5MH z と し、 更に時間が経過 すると自らの動作を止めていわゆるス リーブモー ドに入る。 この時マイ クロプロ セ ッサ 60 1 は、 コ ン ト ロールレ ジス タ 650のレジス タ ADM0Nに値 0を書 き込む。 この結果、 電子制御装置 50 1側からみて、 ステータス レジス タ 645 のこのビッ ト d 6がロウ レベルとなり、 電子制御装置 50 1側からこのビッ トを チヱ ッ クする こ とにより、 マイ クロプロセ ッサ 60 1の動作モー ドを知るこ とが できるのである。  Bit d6 is a flag ADM0N that is set high when microprocessor 601 is operating and is set low when sleep mode is entered. In this embodiment, the microprocessor 601 receives the page description language from the electronic control unit 501 and performs processing for developing the page description language into image data. If a predetermined time has elapsed without sending a page description language, the microprocessor 601 sets the operating frequency to 1/2, that is, 12.5 MHz in order to save power. If more time passes, it stops its operation and enters the so-called sleep mode. At this time, the microprocessor 601 writes the value 0 to the register ADM0N of the control register 650. As a result, when viewed from the electronic control unit 501 side, this bit d6 of the status register 645 becomes a low level, and by checking this bit from the electronic control unit 501 side, the micro processor It is possible to know the 60 operation modes.
なお、 こう した時間の計測等には、 データ転送制御部 603に組み込まれた リ アルタイ ムク ロ ッ クが用いられる。 このリ アルタイムクロ ッ ク用のク ロ ッ ク RC LKは、 外付けの水晶発振子 665を用いて構成された第 2の発振回路 667か らのクロ ッ クが用いられている。 リ ア タイ ムクロ ッ クは、 バス制御部 635内 に構成されており、 マイ クロプロセ ッサ 60 1からの指示を受けて、 所定時間の 経過を計測する。 水晶発振子および発振器を 2組設けているのは、 マイ クロプロ セ ッ サ 60 1の動作クロ ッ ク C L Kを、 リ アルタイ ムク ロ ッ クの動作ク ロ ッ ク R C L Kとは独立に変更可能とするためである。 Note that a real time clock incorporated in the data transfer control unit 603 is used for such time measurement and the like. Clock RC for this real-time clock As the LK, a clock from a second oscillation circuit 667 configured using an external crystal oscillator 665 is used. The rear time clock is configured in the bus control unit 635, and measures an elapse of a predetermined time in response to an instruction from the micro processor 601. The two sets of crystal oscillators and oscillators are provided so that the operation clock CLK of the microprocessor 601 can be changed independently of the real-time clock operation clock RCLK. That's why.
リ アルタイ ムクロ ッ クは、 コ ン ト ロールレ ジス タ 650に属するレ ジス タ RT C V A L, R T C S E Lの d l ビッ トをロウまたはハイにするこ とで、 4種類の イ ン ターパルタイ マを指定するこ とができ、 レ ジス タ RT C ONの所定ビツ ト d 0に値 1を書き込むことでそのタイ マをスター ト させるこ とができる。 ス ター ト されたタイマは、 レジス タ RTC ONのビッ ト d Oに値 0が書き込まれて停止さ れるまで、 所定のイ ンターバルでマイ クロプロセ ッサ 60 1に対して割込要求信 号を出力する。 マイ クロプロセッサ 60 1は、 この割込要求信号を受け付ける と、 レジス タ RT C C L Rを読み取つて割込要求をク リ アする。 これらのイ ンターバ ルタイ マの出力は、 ページ記述言語処理におけるユーザタイ ム等のカウン トに利 用している。  The real-time clock can specify four types of inter-part timers by setting the dl bit of the registers RT CVAL and RTCSEL belonging to the control register 650 to low or high. The timer can be started by writing a value of 1 to the predetermined bit d0 of the register RTCON. The started timer outputs an interrupt request signal to the micro processor 601 at a predetermined interval until a value of 0 is written to the bit dO of the register RTCON and the timer is stopped. I do. Upon receiving this interrupt request signal, the microprocessor 601 reads the register RTCCLR and clears the interrupt request. The output of these interval timers is used for counting user time in page description language processing.
次に PROMコ ン ト ロールレジス タ 649の構成について説明する。 PROM コ ン ト ロールレジス タ 649には、 図 1 7に示す 3のレジス タ E E P C S, E E P S K, E E PD Iが含まれるが、 これらのレ ジス タは、 カー ト リ ッ ジ 503に 内蔵されたメ モ リ であって電気的にデータを消去 ·書換可能な E E P ROM67 0とのデータのやり取りに用いられる。  Next, the configuration of the PROM control register 649 will be described. The PROM control register 649 includes the three registers EEPCS, EEPSK, and EEPD I shown in FIG. 17, and these registers are memories stored in the cartridge 503. This is used for exchanging data with EEPROM 670, which is electrically erasable and rewritable.
本実施例のカー ト リ ッ ジ 503は、 レーザプ リ ン タ 500の動作に必要な諸変 数 (コ ンフ ィ グレーシ ョ ン) を、 E E PROM 670に記憶する。 この E E PR OM 670は、 シ リ アル転送によりデータの読出, 消去, 書込を行なう タイ プの ものであり、 本実施例では、 ナシ ョ ナルセ ミ コ ンダク タ一社製 NM C 93 C 66 X 3を使用している。 この E E P R OM670は、 記憶容量として 1 6ビッ ト X 256パイ ト (レジス タ数) の容量を持ち、 指定された任意のレ ジス タの内容を 読出, 消去, 書込可能である。 E E PROM 670は、 チ ッ プセレ ク ト信号 C S により選択状態にされる と、 シ リ アルデータ入力端子 D inに送り込まれる 「0」 Γ 1」 のデータをシ リ アルデー夕 ク ロ ッ ク S Lに同期して取り込むが、 デー夕の 転送の最初の 3ビッ トは E E P R 0 Μへの命令と して解釈され、 次の 8ビッ トが データの読出, 消去もし く は書込が行なわれるレジス タ番号と解釈され ¾。 デー 夕の書込の場合には、 これらの命令およびレジスタの指定に続いて、 シ リ アルデ 一タクロ ッ ク S Lに同期して記憶すべきデータがデータ入力端子 D inに与えられ る こ とになる。 The cartridge 503 of this embodiment stores various variables (configuration) necessary for the operation of the laser printer 500 in the EE PROM 670. The EE PROM 670 is of a type in which data is read, erased, and written by serial transfer. In this embodiment, the NM C 93 C 66 X manufactured by National Semiconductor Co., Ltd. You are using 3. The EEPROM 670 has a storage capacity of 16 bits x 256 bits (the number of registers), and can read, erase, and write the contents of any specified register. When the EE PROM 670 is selected by the chip select signal CS, it is sent to the serial data input terminal Din “0”. The data of Γ1 ”is fetched in synchronization with the serial data clock SL, but the first three bits of the data transfer are interpreted as an instruction to EEPR 0 、, and the next eight bits are transferred. Is interpreted as the register number where data is read, erased or written. In the case of writing data, following these instructions and register designation, data to be stored is given to the data input terminal Din in synchronization with the serial data clock SL. Become.
レジス タ E E P C Sは、 チ ッ プセ レク ト信号を切り換えるものであ り、 マイ ク 口 プロセ ッサ 60 1がこのレジス タのビッ ト d Oに値 1を書き込むと、 E E PR 0 M 670は選択状態と なる。 レジス タ E E P S Kは、 シ リ アルデータ ク ロ ッ ク S Kを生成する レジス タであ り、 マイ ク ロプロセ ッサ 60 1はこのレ ジス タに値 0と値 1 とを交互に書き込むことで、 E EPROM670用のシ リ アルデータク ロ ッ クを生成する。 レジス タ E E P D Iは、 E E PROM670に書き込まれる べき 1 ビッ ト のデータを保持する レ ジス タであ り、 マイ ク ロ プロセ ッサ 60 1は, レジス タ E E P S Kを書き換えてシ リ アルデータクロ ッ ク S Kを生成するのに同 期して、 このレジス タ E E PD Iの所定ビッ ト d 0を、 書き込むべきデータに従 つて書き換える。 E E P R OM 670のデータ出力端子 D 0 utは、 先に説明した 転送フ ラ グレ ジス タ 647の所定ビッ ト d Oになっており、 マイ ク ロ プロセ ッサ 60 1は、 E E PROM 670にデータ読出命令と読み出すレジス タの番号を出 力した後、 シ リ アルデー タ ク ロ ヅ ク S Kに同期して転送フ ラ グレジス タ 647の ビッ ト d Oを読み取れば、 指定したレジス タの内容を読み込むことができる。 E E PROM670に記憶されたデータは、 電源をオフ と しても保存されるから、 レーザプリ ン タ 500に電源を投入した直後に、 E E PROM670の内容を読 み出して、 コ ンフ ィ グレーシ 3 ンを電源断の直前の状態に戻すこ とができる。 The register EEPCS switches the chip select signal. When the microprocessor 601 writes the value 1 to bit dO of this register, EEPR0M670 is selected. State. The register EEPSK is a register that generates a serial data clock SK. The microprocessor 601 writes the value 0 and the value 1 to this register alternately, Generate serial data clock for EPROM670. The register EEPDI is a register that holds 1-bit data to be written to the EE PROM 670. The micro processor 601 rewrites the register EEPSK and rewrites the serial data clock SK. In synchronization with the generation of the data, the predetermined bit d0 of the register EEPD I is rewritten according to the data to be written. The data output terminal D 0 ut of the EEPROM 670 is the predetermined bit d O of the transfer flag register 647 described above, and the micro processor 601 reads data to the EE PROM 670. After outputting the instruction and the register number to be read, read the bit dO of the transfer flag register 647 in synchronization with the serial data clock SK to read the contents of the specified register. Can be. The data stored in the EE PROM670, because also be saved as the power is turned off immediately after turning on the power to Rezapuri te 500, Read out the contents of the EE PROM670, the co-Nfu I Gureshi 3 down It can return to the state immediately before the power was turned off.
G. 読出制御回路 620の構成と働き G. Configuration and Function of Readout Control Circuit 620
次に、 読出制御回路 620の構成例と読出制御回路 620によるデータ転送の 手順について説明する。 読出制御回路 620は、 8ビッ ト X 2個のラ ッチ 65 1 a , 65 1 bからなる第 1のワー ドラ ッチ 65 1、 同じ く 8ビッ ト X 2個のラ ッ チ 652 a, 652 bからなる第 2のラ ッチ 652と共に、 図 23に示すように. ア ド レ スバス CADのァ ド レ ス信号 AC 1ないし AC 8を F I F O制御回路 62 3への 1バイ トのデータ Z 0ないし Z 7として出力する ト ライステー トバッ フ ァ 67 1、 2個の 2入力オアゲー ト 672, 673、 ス テー タ ス レ ジ ス タ 645の フラ グ EWRDY O (ビッ ト d O ) およびフ ラ グ EWRD Y 1 (ビッ ト d 4) を 生成する D型フ リ ッ プフ ロ ッ プ 674, 675を備える。 Next, a configuration example of the read control circuit 620 and a procedure of data transfer by the read control circuit 620 will be described. The read control circuit 620 includes a first word latch 651, consisting of 8 bits × 2 latches 651a and 651b, and an 8bit × 2 latches 652a, As shown in Figure 23, with a second latch 652 consisting of 652b. Address bus Outputs CAD address signals AC1 to AC8 as 1-byte data Z0 to Z7 to FIFO control circuit 623. 3-state buffer 67 1, 2 2 inputs D-type flip-flops that generate the flags EWRDY O (bit dO) and EWRDY1 (bit d4) of the status gates 672 and 673 and status register 645 674 and 675.
第 1, 第 2のワー ドラ ッチ 65 1, 652を構成するラ ッチ 65 1 a, bおよ びラ ッチ 652 a, bのデータ入力端子 1 Dないし 8 Dには、 コネク タ側ァ ド レ スバス C A Bからのア ド レ ス ライ ンの 1 6ビッ ト ( A C 1ないし A C 1 6 ) が接 続されており、 その出力端子 1 Qないし 8 Qには、 データバス DB 29のデータ ライ ン D Oないし D 1 5が接続されている。 また、 ラ ッチ 65 1 a, bのクロ ッ ク端子 C Kには、 オアゲー ト 672の出力が、 ラ ッチ 652 a, bのクロ ッ ク端 子 C Kには、 オアゲー ト 673の出力が、 各々接続されている。 なお、 これらォ ァゲー ト 672, 673の出力は、 それぞれ D型フ リ ッ プフロ ッ プ 674, 67 5のクロ ッ ク端子 Cにも接続されている。  The data input terminals 1D to 8D of the latches 651a, b and the latches 652a, b constituting the first and second word latches 651, 652 are connected to the connector side. 16 bits (AC1 to AC16) of the address line from the address bus CAB are connected, and the output terminals 1Q to 8Q are connected to the data bus DB29. Lines DO or D15 are connected. The output of OR gate 672 is connected to the clock terminals CK of latches 651a and b, and the output of OR gate 673 is connected to the clock terminal CK of latches 652a and b. Each is connected. The outputs of these gates 672 and 673 are also connected to clock terminal C of D-type flip-flops 674 and 675, respectively.
各ラ ッチ 65 1 a, bのアウ ト プッ トィネーブル端子 0 Eには、 信号 E WR D Oが、 ラ ッチ 652 a, bのアウ ト プッ トィ ネーブル端子 0 Eには、 信号/ E WRD 1が、 各々接続されている。 また、 これらの信号 ZEWRD 0, EWRD 1は、 D型ラ ッチ 674, 675のプリ セッ ト端子 P Rに接続されている。 また、 2入力オアゲー ト 672の各入力端子には、 信号/ EWWR 0および信号 ZAD Sが、 2入力オアゲー ト 673の各入力端子には、 信号 ZEWWR 1および信号 ZAD Sが、 各々接続されている。 なお、 信号/ AD Sは、 ア ド レス ス ト ローブ 信号 ZA S Bに基づいて生成されるア ド レ ス ス ト ローブ補助信号である。  The output enable terminal 0 E of each latch 65 1 a, b has a signal E WR DO, and the output enable terminal 0 E of latches 652 a, b has a signal / E WRD 1 Are connected to each other. These signals ZEWRD 0 and EWRD 1 are connected to the preset terminals PR of the D-type latches 674 and 675. The signal / EWWR 0 and signal ZAD S are connected to each input terminal of the 2-input OR gate 672, and the signal ZEWWR 1 and signal ZAD S are connected to each input terminal of the 2-input OR gate 673, respectively. . The signal / ADS is an address strobe auxiliary signal generated based on the address strobe signal ZASB.
こ こ で、 信号 ZEWWR 0は、 読出制御回路 620によ り 1ワー ドの転送が指 定された時にロウレベルになる信号であり、 信号 ZEWWR 1は、 同じ く先の 1 ワー ドとの異なる 1 ヮー ドの転送が指定された時にロウレベルになる信号である。 信号 ZEWWR 0および信号 ZEWWR 1 と信号/ AD Sとの負論理での論理積 をとつた信号が、 各々第 1のワー ドラ ッチ 65 1および第 2のワー ドラ ッチ 65 2のクロ ッ ク端子 C Kに入力されているから、 これらの信号がアクテ ィブとなつ たと き、 そのァ ド レ スバス CADに出力されているァ ド レ ス AC 1ないし AC 1 6が、 第 1のワー ドラ ッ チ 651も し くは第 2のワー ドラ ッチ 652に保持され る。 しかも、 オアゲー ト 672, 673の出力は、 D型フ リ ッ プフロ ップ 674,Here, the signal ZEWWR 0 is a signal that goes low when transfer of one word is specified by the read control circuit 620, and the signal ZEWWR 1 is a signal 1 that is different from the one in the previous word. This signal goes low when a code transfer is specified. The signal obtained by ANDing the signal ZEWWR 0 and the signal ZEWWR 1 with the signal / ADS with negative logic is the clock of the first word latch 65 1 and the second word latch 65 2, respectively. Since these signals are activated since they are input to the terminal CK, the address AC1 or AC1 output to the address bus CAD when these signals are activated 6 is retained in the first word latch 651 or the second word latch 652. Moreover, the output of OR gates 672 and 673 is D-type flip-flop 674,
675のクロ ッ ク端子 Cにも入力しているから、 この時、 D型フ リ ッ プフロ ッ プ 674も し く は 675の出力 Qはロ ウレベルに設定される。 この出力 EWRDY 0および E W R D Y 1は、 既述したステータス レジス タ 645のビッ ト d Oおよ び d 4、 更に転送フ ラグレジス タ 647のビッ ト d lおよび d 4、 即ちフ ラグ E WRDY Oおよび EWRDY 1 と して扱われている。 Since the signal is also input to the clock terminal C of the 675, the output Q of the D-type flip-flop 674 or the 675 is set to the low level. The outputs EWRDY 0 and EWRDY 1 are bits dO and d4 of the status register 645 described above, and bits dl and d4 of the transfer flag register 647, ie, the flags EWRDY O and EWRDY 1 Is treated as
読出制御回路 620を電子制御装置 50 1側から見る と、 この第 1, 第 2のヮ 一ドラ ツチ 65 1, 652が、 図 1 6に示したように、 各々 1 28キロバイ トの 領域を占有する 2つのレジス タ E WWR 0 , EWWR 1に相当する。 これらの領 域の所定のァ ドレスをアクセスする こ とが、 各々 1ワー ド 1 6ビッ トのデータの 転送を行なう こ とになるのである。 なお、 第 1 , 第 2のワー ドラ ッチ 65 1, 6 52は、 マイ クロプロセ ッサ 60 1側から見る と、 図 1 7に示す 1 ワードのレジ ス タ EWRD O, EWRD 1に相当する。 C P U 5 1 0側からもマイ クロプロセ ッサ 60 1側からも、 データバス D B 68もし くはデータバス DB 290介して、 両ワー ドラ ッ チ 65 1 , 652をそれぞれ 1 ワー ドと してアクセスすることがで きる。  When the readout control circuit 620 is viewed from the electronic control unit 501 side, the first and second latches 65 1 and 652 occupy an area of 128 KB each as shown in FIG. It corresponds to two registers E WWR 0 and EWWR 1. Accessing the specified addresses in these areas results in the transfer of 1 word and 16 bits of data, respectively. The first and second word latches 65 1 and 652 correspond to the one-word registers EWRD O and EWRD 1 shown in FIG. 17 when viewed from the microprocessor 601 side. Both the word latches 65 1 and 652 are accessed as one word from both the CPU 510 and the microprocessor 601 via the data bus DB 68 or the data bus DB 290. be able to.
第 1のワー ドラ ッチ 65 1, 第 2のワー ドラ ッチ 652は、 マイ クロプロセ ッ サ 60 1側からはレ ジス タ EWRD O, EWRD 1 と して扱われるから、 第 1の ワー ドラ ッチ 65 1および第 2のワー ドラ ッチ 652に保持されたデータを読み 取ろう とする場合、 マイ クロプロセ ッサ 60 1はレジス タ EWRD 0もし くは E WRD 1に対する読み取り動作を行なう。 この時、 信号 ZEWRD 0もし くは E WR D 1がロ ウァクティ ブとなり、 この信号がァゥ ト プッ トイ ネーブル端子 O E に接続された第 1 も し く は第 2のワー ドラ ッチ 65 1, 652の出力側、 即ちデ 一夕バス D B 29には、 先に保持されたァ ドレス (実際にはデータ) が出力され る。 この信号 ZEWRD O, ZEWRD 1は、 D型フ リ ッ プフロ ッ プ 674, 6 The first word latch 65 1 and the second word latch 652 are treated as the registers EWRD O and EWRD 1 from the microprocessor 601 side, so the first word latch 65 1 and the second word latch 652 are treated as the first word latch 651. When trying to read the data held in switch 651 and second word latch 652, microprocessor 601 performs a read operation on register EWRD0 or EWRD1. At this time, the signal ZEWRD0 or EWRD1 becomes reactive, and this signal is the first or second word latch 651, which is connected to the output enable terminal OE. The previously held address (actually, data) is output to the output side of the 652, that is, the data bus DB 29. These signals ZEWRD O and ZEWRD 1 are D-type flip-flops 674 and 674.
75のプリセ ッ ト端子 P Rに接続されているから、 マイ ク ロプロセ ッサ 60 1側 から第 1のワー ドラ ッチ 65 1, 第 2のワー ドラ ッチ 652のデータが読み取ら れる と同時に、 D型フ リ ッ プフロ ッ プ 674, 675の Q出力である信号 EWR DY 0, EWRDY 1はハイ レベルに反転する。 即ち、 ステータス レ ジス タ 64 5のビッ ト d 0, d 4および転送フ ラ グレジス ダ 647のビッ ト d 1, d 4であ るフ ラグ EWRDY O, EWRDY 1は、 値 1 にセ ッ ト される。 Since it is connected to the 75 preset terminal PR, the data of the first word latch 65 1 and the second word latch 652 are read from the micro processor 60 1 side, and The signal EWR which is the Q output of the type flip-flops 674 and 675 DY 0 and EWRDY 1 are inverted to high level. That is, the bits d0 and d4 of the status register 645 and the flags EWRDY O and EWRDY1 of the bits d1 and d4 of the transfer flag register 647 are set to the value 1. You.
かかるハー ドウ ユアを前提として、 電子制御装置 50 1およびマイ クロプロセ ッサ 60 1は、 以下の手順で、 電子制御装置 50 1側からマイ クロプロセ ッサ 6 0 1側へのデータの転送を行なう。 電子制御装置 50 1側から-マイ ク ロプロセ ッ サ 60 1側に転送されるデータは、 本実施例では、 コ ンソールパネル 51 8の操 作情報など限られた情報であるが、 電子制御装置 50 1がそのデータ入力ポー ト 5 1 4にワークステーシ ョ ン 507とは異なる コ ン ピュータが接続されている場 合には、 このコンピュータから受け取った印字データなどの情報することも可能 である。 この場合、 印字データはページ記述言語のプログラムであって、 カー ト リ ッ ジ 503側のマイ ク ロプロセ ッサ 601で、 処理されるものである。 読出制 御回路 620によるデータ転送は、 電子制御装置 50 1側の C PU 5 1 0が実行 する カー ト リ ッ ジへのデータ転送処理ルーチン (図 24) 、 およびカー ト リ ッ ジ 503側のマイ クロプロセ ッサ 60 1が実行するのデータ読み込み割込処理ルー チン (図 25 ) により行なわれる。 なお、 以下では、 第 1のワー ドラ ッチ 65 1 側を利用したデータ転送を例として説明する。 第 2のワー ドラ ッチ 652を用い たデータ転送も全く同様である。  On the premise of such hardware, the electronic control unit 501 and the microprocessor 601 transfer data from the electronic control unit 501 to the microprocessor 61 in the following procedure. In this embodiment, the data transferred from the electronic control unit 50 1 to the -microprocessor 60 1 side is limited information such as operation information of the console panel 518. If a computer different from the workstation 507 is connected to the data input port 5 14 of 1, information such as print data received from this computer can also be provided. In this case, the print data is a program of a page description language, and is processed by the micro processor 601 on the cartridge 503 side. The data transfer by the read control circuit 620 includes a data transfer processing routine to the cartridge (FIG. 24) executed by the CPU 510 of the electronic control device 501 (FIG. 24), and a data transfer processing routine by the cartridge 503. This is performed by the data read interrupt processing routine (FIG. 25) executed by the micro processor 601. In the following, data transfer using the first word latch 65 1 will be described as an example. Data transfer using the second word latch 652 is exactly the same.
カー ト リ ッ ジ 503側に転送すベきデータが存在する と、 C PU 5 1 0は、 図 24のフ ローチ ャー トに示す処理を起動し、 まずステータス レジス タ 645のフ ラグ EWRD Y O (ビッ ト d O) を読み取る処理を行なう (ステ ッ プ S 700) 。 このフ ラグ EWRDYOは、 読出制御回路 620の第 1のワー ドラ ッ チ 65 1に データがセ ッ ト されると値 0となり、 そのデータがマイ ク ロ プロセ ッ サ 60 1に より読み取られる と値 1 にセ ッ ト されるから、 次にこのフ ラ グ EWRDY Oが値 1であるか否かの判断を行なう (ステ ッ プ S 705 ) 。  If there is data to be transferred to the cartridge 503, the CPU 510 activates the processing shown in the flowchart of FIG. 24, and firstly, the flag EWRD YO ( A process of reading bit dO) is performed (step S700). This flag EWRDYO has a value of 0 when data is set in the first word latch 651 of the read control circuit 620, and has a value of 0 when the data is read by the microprocessor 601. Since the flag is set to 1, it is determined whether or not the flag EWRDYO has a value of 1 (step S705).
フ ラ グ EWRDYが値 1 となるまで待機し、 値 1 となる と、 次に (領域 E W W R 0の先頭ァ ドレス +転送したいデータ D X 2 ) のア ドレスを読み取る処理を行 なう (ステ ッ プ S 7 1 0 ) 。 なお、 本実施例では、 領域 E WWR 0の先頭番地は、 500000 hである。 領域 EWWR 0に対する読取処理を行なう と、 読み取り を行なったァ ドレスのァ ドレス信号 AC 1ないし AC 1 6が、 そのままデータ と して第 1のワー ドラ ッチ 65 1に保持される。 最下位ビッ トに当たるア ドレスビ ッ ト L D Sを除いて下位 1 6ビツ トをラ ッチしているので、 領域 E WWR 0の先 頭から DX2だけ隔たったァ ドレスに対して読出処理を行なう と、 データ Dが第 1のワー ドラ ッチ 651にラ ッチされる。 以上の処理の後、 C P U 5 1 0は、 割 込要求レジス タのひとつ (本実施例では AMD I NT O) をセッ トする処理を行 なう (ステ ッ プ S 720 )。 Wait until the flag EWRDY reaches the value 1, and when it reaches the value 1, perform the process of reading the address of (start address of area EWWR 0 + data DX 2 to be transferred) (step S710). In this embodiment, the start address of the area E WWR 0 is 500000 h. When the reading process for area EWWR 0 is performed, The address signals AC 1 to AC 16 of the address subjected to the above operation are held in the first word latch 65 1 as data as they are. Since the lower 16 bits are latched except for the address bit LDS corresponding to the least significant bit, if the read processing is performed for an address separated by DX2 from the beginning of the area E WWR 0, Data D is latched to the first word latch 651. After the above processing, the CPU 510 performs processing to set one of the interrupt request registers (in this embodiment, AMDINTO) (step S720).
C PU 51 0は、 引き続き図 24に示した転送処理ルーチンを繰り返し実行す るが、 第 1のワー ドラ ッ チ 65 1によるデータの保持が行なわれると、 図 23に 示したように、 フラグ EWRDY Oはロウレベルにセ ッ ト されるから、 このフラ グ E WR D Y 0がハィ レベル (値 1 ) となるまで、 次のデータの転送処理は行な われない (ステ ッ プ S 700, 705) 。  The CPU 510 continues to repeatedly execute the transfer processing routine shown in FIG. 24. However, when data is held by the first word latch 651, the flag EWRDY is output as shown in FIG. Since O is set to low level, the next data transfer processing is not performed until this flag EWRDY0 becomes high level (value 1) (steps S700, 705).
C PU 5 1 0が割込要求レジス夕 (AMD I NT0) をセ ッ トする と、 マイ ク 口プロセ ッサ 60 1は、 この割込要求を受け付けて、 図 25に示すデータ読み込 み割込処理ルーチンを起動する。 即ち、 この割込要求は、 カー ト リ ッ ジ 3へのデ 一夕転送の通知と して扱われる。 この処理が起動されるのは、 読出制御回路 62 0の第 1のワー ドラ ッチ 65 1 (も し くは第 2のワー ドラ ッチ 652) にデータ が保持された直後であ り、 マイ ク ロ プロセ ッサ 60 1 は、 レジス タ EWRD 0 (も し くは EWRD 1 ) を読み込むこ とによ り、 電子制御装置 50 1側が用意し た 1 ヮー ドのデ一タを読み取る (ステ ッ プ S 730) 。 その後、 マイ クロプロセ ッサ 60 1は、 読み取つたこのデータを RAM6 1 1ないし 61 4の所定の領域 に転送する (ステ ッ プ S 735) 。  When the CPU 510 sets the interrupt request register (AMDINT0), the microprocessor 601 receives the interrupt request and sets the data read interrupt shown in FIG. Starts the load processing routine. That is, this interrupt request is treated as a notification of overnight transfer to the cartridge 3. This process is activated immediately after data is held in the first word latch 651 (or the second word latch 652) of the read control circuit 620, and By reading the register EWRD 0 (or EWRD 1), the cyclo processor 601 reads the data of one mode prepared by the electronic control unit 501 side (step P S 730). Thereafter, the microprocessor 601 transfers the read data to a predetermined area of the RAMs 61 1 to 614 (step S735).
以上説明した処理によ り、 電子制御装置 50 1側は、 読出専用線であるデータ パス C D Bで接続されているに過ぎないカー ト リ ッ ジ 503側にデータを転送す るこ とができ る。 しかも、 データの転送を行なった直後に割込要求により カー ト リ ッ ジ 3にデータを転送したことを通知するので、 カー ト リ ッ ジ 3は効率よ く電 子制御装置 50 1からデータを受け取ることができる。 従って、 カー ト リ ッ ジ 3 のマイ ク ロプロセ ッサ 60 1は、 電子制御装置 501によるデータの転送を監視 し続ける必要がな く、 電子制御装置 50 1による次のデータの書き込みを待たせ ることもない。 更に、 本実施例では、 電子制御装置 50 1からデータの転送があ つたこ とは、 転送フラグレジスタ 647のビッ ト d lも し くは d 4、 即ちフラ グ EWRDYOも し く は EWRDY lによっても、 知るこ とができる。 従って、 割 込要求レジス タ AMD I N T 0に複数の条件を割り付けた場合でも、 この割込要 求を受け付けたと き、 マイ クロプロセ ッサ 60 1がフ ラグ EWRDY Oも し くは EWRD Y 1を確認する こ とで、 データ転送の要求を他の要求から確実に弁別す るこ とができ る。 According to the processing described above, the electronic control device 501 can transfer data to the cartridge 503 which is merely connected by the data path CDB which is a read-only line. . In addition, immediately after the data is transferred, it is notified that the data has been transferred to the cartridge 3 by an interrupt request, so that the cartridge 3 can efficiently transfer the data from the electronic control device 501. You can receive. Therefore, the microprocessor 601 of the cartridge 3 does not need to continuously monitor the data transfer by the electronic control unit 501, and waits for the next data write by the electronic control unit 501. Never even. Further, in the present embodiment, the fact that the data has been transferred from the electronic control unit 501 is determined by the bit dl or d4 of the transfer flag register 647, that is, by the flag EWRDYO or EWRDYl. , You can know. Therefore, even if multiple conditions are assigned to the interrupt request register AMD INT 0, the micro processor 601 checks the flag EWRDY O or EWRD Y 1 when accepting this interrupt request. This ensures that data transfer requests can be distinguished from other requests.
また、 本実施例では、 C PU5 1 0からセ ッ ト されたデータをマイ クロプロセ ッサ 60 1が読み取ってデータの転送が完了すると、 ハー ドゥヱァにより フラグ E WR D Y 0も し くは E WR D Y 1が反転するから、 電子制御装置 501は、 デ 一夕転送の完了を直ちに知ることができる。 従って、 本実施例では、 複数のデー 夕の順次転送を高速に行なう ことができる。 加えて、 本実施例では、 データの書 込 ·読出をヮ一ド単位で行なうので、 マイ クロプロセ ッサ 601は効率良く デー 夕を取り込むこ とができる。  Also, in this embodiment, when the data set from the CPU 510 is read by the micro processor 601 and the data transfer is completed, the flag E WR DY 0 or E WR DY is set by the hardware. Since 1 is inverted, the electronic control unit 501 can immediately know the completion of the overnight transfer. Therefore, in this embodiment, a plurality of data can be sequentially transferred at high speed. In addition, in the present embodiment, since data is written and read in units of a unit, the microprocessor 601 can efficiently take in data.
H. F I F 0制御回路 623の構成と働き Configuration and function of H.FIFO control circuit 623
F I F O制御回路 623は、 図 1 8に示したように、 F I F Oメモ リ 62 1に 書き込むデータをラ ッチする ラ ッ チ 657、 この F I F Oメ モ リ 62 1へのデー 夕の書込を制御する F I F O書込レ ジス タ 653、 同じ く読出を制御する F I F 0読出レジス タ 655を備える。 この F I F Oメ モ リ 62 1は、 1 1 52バイ ト のデータを蓄えるこ とができ、 内部に書き込み用ア ド レス カウンタと読み出し用 カウンタ とを備える。 F I F Oメモ リ 62 1には、 これらのカウンタをそれぞれ リセ ッ トする書込側リセ ッ ト端子, 読出側リ セ ッ ト端子、 書込側の 8ビッ トのデ 一夕バス と読出側の 8ビッ トのデータバス、 書込用のクロ ッ ク端子、 読出用のク ロ ッ ク端子が設けられている。 なお、 ラ ッチ 657へのデータは、 図 23に示し た ト ライ ステー トノ、 *ッ フ ァ 671を介して付与される。 このバッ フ ァ 67 1の出 力が有効となるのは、 ゲー ト端子 1 G, 2 Gに入力される信号/ F I F OWRが、 ロウレベルとなったときである。 この信号 ZF I F OWRは、 F I F O制御回路 623によるデータ転送が指定された時にロウ レベルとなる。 この F I F Oメ モ リ 62 1を用いてデータを電子制御装置 50 1側からマイ ク 口プロセ ッサ 60 1側に転送するには、 電子制御装置 50 1の C PU 5 1 0は図 26に示す転送処理ルーチンを、 カー ト リ ッ ジ 503のマイ クロプロセ ッサ 60 1は図 27に示す処理ルーチンを、 各々実行する。 まず、 図 26のフ ローチ ヤ一 トに示した処理ルーチンを説明する。 電子制御装置 50 1側の C PU 51 0は、 図 26に示した処理を実行するこ とで、 F I F 0制御回路 623を用いた複数バ イ トのデータ転送を行なう こ とができる。 As shown in FIG. 18, the FIFO control circuit 623 is a latch 657 for latching data to be written to the FIFO memory 621, and controls writing of data to the FIFO memory 621. It has a FIFO write register 653 and a FIF 0 read register 655 that controls reading as well. The FIFO memory 621 can store 1152 bytes of data, and internally has a write address counter and a read counter. The FIFO memory 621 has a reset terminal on the write side, a reset terminal on the read side for resetting these counters, an 8-bit data bus on the write side, and a reset terminal on the read side. A bit data bus, a clock terminal for writing, and a clock terminal for reading are provided. Note that the data to the latch 657 is provided via a trial state * * 671 shown in FIG. The output of the buffer 671 becomes valid when the signal / FIFOWR input to the gate terminals 1G and 2G becomes low level. This signal ZFIF OWR becomes low level when data transfer by the FIFO control circuit 623 is specified. To transfer data from the electronic control unit 501 side to the microphone port processor 601 side using the FIFO memory 621, the CPU 510 of the electronic control unit 501 is shown in FIG. The microprocessor 601 of the cartridge 503 executes the transfer processing routine, and executes the processing routine shown in FIG. 27, respectively. First, the processing routine shown in the flowchart of FIG. 26 will be described. The CPU 510 of the electronic control device 501 can perform a plurality of bytes of data transfer using the FIF 0 control circuit 623 by executing the processing shown in FIG.
電子制御装置 50 1の C PU 5 1 0が図 26に示したデータ転送処理ルーチン を起動すると、 まず F I F O制御回路 623の F I F O書込回路 654に属する レ ジス タ F I F OR S Tを読み出す処理を行ない、 書込側および読出側のァ ドレ スカウ ン タを リセ ッ トする処理を行なう (ステ ッ プ S 750) 。 続いて、 送り出 すデータの数をカウン トするために変数 Nを値 0にリセ ッ 卜する (ステッ プ S 7 55) 。 その後、 (レジス タ F I F OWRの先頭ア ドレス +転送したいデータ D X 2 ) 番地を読み出す処理を行なう (ステ ッ プ S 760) 。 なお、 本実施例にお けるレジスタ F I F OWRの先頭ア ドレスは、 図 1 6に示したように、 5D 00 00 hである。 このア ドレスを読み出すと、 読出制御回路 620と同様に、 読み 出した番地のア ドレスがデー夕と して出力され、 これが図 23に示すバス Z 0な いし Z 7を介してラ ッチ 657にラ ツチされる。  When the CPU 510 of the electronic control unit 501 activates the data transfer processing routine shown in FIG. 26, first, a process of reading the register FIF ORST belonging to the FIFO writing circuit 654 of the FIFO control circuit 623 is performed. A process is performed to reset the write and read side address counters (step S750). Subsequently, the variable N is reset to a value of 0 in order to count the number of data to be sent out (step S755). Thereafter, the process of reading the address (the start address of the register FIF OWR + the data to be transferred DX2) is performed (step S760). Note that the start address of the register FIFOWR in this embodiment is 5D00000h as shown in FIG. When this address is read, the address of the read address is output as data as in the case of the read control circuit 620, which is latched via the bus Z0 or Z7 shown in FIG. It is latched to.
このラ ツチ動作が行なわれると、 所定の遅延時間の後、 F I F Oメ モ リ 62 1 の書込側のク ロ ヅ ク端子に書込クロ ッ クが出力され、 ラ ツチ 657に保持された データ Dが、 F I F 0メ モ リ 62 1の書込側ァ ドレス カウ ン タが示す番地に書き 込まれる。 と同時に F I F Oメモ リ 62 1内の書込側ア ドレス カウ ン タの内容は、 値 1だけイ ン ク リ メ ン ト される。 こ う して 1バイ トのデータを書き込むと、 転送 したデータ数を示す変数 Nを値 1だけイ ンク リ メ ン ト し (ステッ プ S 770) 、 変数 Nが転送しょう とするデータの総バイ ト数 Xと等し く なつたか否かの判断を 行なう (ステ ッ プ S 775 ) 。 従って、 転送したデータのバイ ト数 Nがデータの 総数 Xに一致するまで、 上述したステ ッ プ S 760ないし S 775の処理を繰り 返す。 '  When this latch operation is performed, a write clock is output to the clock terminal on the write side of the FIFO memory 621 after a predetermined delay time, and the data held in the latch 657 is output. D is written to the address indicated by the write-side address counter in FIF 0 memory 621. At the same time, the contents of the write address counter in the FIFO memory 621 are incremented by a value of one. When one byte of data is written in this way, the variable N indicating the number of transferred data is incremented by 1 (step S770), and the variable N indicates the total number of bytes to be transferred. Then, it is determined whether or not the number is equal to the number X (step S775). Therefore, the processes in steps S760 to S775 described above are repeated until the number N of bytes of the transferred data matches the total number X of data. '
全データの転送が完了する と、 C PU 5 1 0は、 割込要求レジス タの一つ (A M D I N T 1 ) をセ ッ ト し、 データの転送が完了したこ とをマイ ク ロ プロセ ッサ 60 1側に通知し (ステ ッ プ S 780) 、 ΓΝ Ε ΧΤ」 に抜けて本処理ルーチン を終了する。 When the transfer of all data is completed, the CPU 510 sets one of the interrupt request registers (A MDINT 1) is set, and the completion of the data transfer is notified to the micro processor 601 (step S780), and the process exits from "ΓΝ Ε ΓΝ" and ends this processing routine. I do.
一方、 マイ クロプロセ ッサ 60 1は、 この割込要求 AMD I Ν Τ 1を受けて図 27にフ ローチ ヤ一トを示すデータ受信割込ルーチンを起動する。 このルーチン を起動すると、 マイ クロプロセッサ 60 1は、 まず受信したデータ数をカウン ト するための変数 Mに値 0をセ ッ トする処理を行なう (ステ ッ プ S 805) 。  On the other hand, the microprocessor 601 receives the interrupt request AMD I I1 and starts a data reception interrupt routine showing a flow chart in FIG. When this routine is started, the microprocessor 601 first performs a process of setting a value 0 to a variable M for counting the number of received data (step S805).
その後、 F I F O読出レジス タ 655に属するレジス タ F I RC L Kを読み込 む処理を行ない (ステッ プ S 8 1 0 ) 、 読み取ったデー夕を RAM 6 1 1ないし 6 1 4の所定の領域に転送する処理を行なう (ステッ プ S 8 1 5) 。 レジス タ F I R C L Kを読み出すと、 F I F Oメ モ リ 62 1の読出側のクロ ッ ク端子に読出 クロ ッ クが出力され、 その時の読出側ァ ドレス カウンタの示す番地のデータ Dが、 読み出される。 と同時に F I F Oメモリ 62 1内の読出側ァ ドレス カウンタの内 容は、 値 1だけイ ンク リ メ ン ト される。  Thereafter, a process of reading the register FIRCLK belonging to the FIFO read register 655 is performed (step S810), and the read data is transferred to a predetermined area of the RAM 611 to 614. Processing is performed (step S815). When register FIRCLK is read, the read clock is output to the read-side clock terminal of FIFO memory 621, and the data D at the address indicated by the read-side address counter at that time is read. At the same time, the content of the read-side address counter in the FIFO memory 621 is incremented by a value of one.
1バイ トのデータを受信すると、 変数 Mを値 1だけイ ンク リ メ ン ト し (ステツ プ S 820) 、 この変数 Mが転送するデータの総バイ ト数 Xに等し くなつか否か の判断を行なう (ステッ プ S 825 ) 。 従って、 受信したデータのバイ ト数 Mが データの総数 Xに一致するまで、 上述したステ ッ プ S 8 1 0ないし S 825の処 理を繰り返す。  When one byte of data is received, the variable M is incremented by 1 (step S820), and it is determined whether or not this variable M is equal to the total number of bytes X of the data to be transferred. A decision is made (step S825). Therefore, the processing of steps S810 to S825 described above is repeated until the number of bytes M of the received data matches the total number X of data.
全データの受信が完了したと判断されると、 マイ クロプロセッサ 601は、 デ 一夕の読み込みの完了を示すコマン ドをポーリ ング · コマン ドレジス タ 643に 書き込む処理を行なう (ステ ッ プ S 630) 。 電子制御装置 50 1側の C P U 5 1 0は、 このポー リ ング · コマン ド レジス タ 643の内容を読み取るこ とで、 F I F 0制御回路 623によるデータ受信の完了を知るこ とができ る。 その後、 マ イ ク口プロセ ッ サ 601は、 「RN T」 に抜けて本処理ルーチンを終了する。 以上説明した処理により、 電子制御装置 50 1側からマイ クロプロセッサ 60 1側に、 大量のデータを効率よ く転送するこ とができ る。 しかも、 複数バイ トの データの転送を行なつた直後に割込要求信号 AMD I N T 1により カー ト リ ッ ジ 3にデー夕を転送したこ とを通知するので、 カー ト リ ッ ジ 3は電子制御装置 50 1がデータ転送を行なっている間、 カー ト リ ッ ジ 3のマイ クロプロセ ッサ 60 1 は、 電子制御装置 50 1によるデータめ転送を監視し続ける必要がな く、 他の処 理を実行するこ とができ、 全体の処理効率を高めるこ とができる。 も とより、 電 子制御装置 50 1による次のデータの書き込みを待たせるこ ともない。 When it is determined that the reception of all data has been completed, the microprocessor 601 performs a process of writing a command indicating completion of reading of the data into the polling command register 643 (step S630). . By reading the contents of the polling command register 643, the CPU 510 of the electronic control device 501 can know the completion of data reception by the FIF0 control circuit 623. After that, the microphone processor 601 exits to “RNT” and ends this processing routine. By the processing described above, a large amount of data can be efficiently transferred from the electronic control device 501 to the microprocessor 601. In addition, immediately after the transfer of a plurality of bytes of data, the interrupt request signal AMD INT 1 notifies the cartridge 3 that the data has been transferred to the cartridge 3. Control device 50 While 1 is performing data transfer, the microprocessor 601 of the cartridge 3 does not need to continuously monitor the data transfer by the electronic control unit 501 and performs other processing. This can increase the overall processing efficiency. Originally, there is no need to wait for writing of the next data by the electronic control unit 501.
I . ダブルパンク制御回路 624の構成と锄き I. Configuration and operation of double puncture control circuit 624
通信制御部 604により ワークステーシ sン 507から受け取った印字データ は、 ROM606ないし 609に格納されたページ記述言語のィ ンタープリ 夕に より解釈され、 、 画像と して展開されて、 一旦 RAM6 1 1ないし 6 14の所定 の領域に保存される。 こ う して得られた画像データは、 次に電子制御装置 50 1 側に転送され、 その RAM 5 12に記憶され、 所定のタイ ミ ングでレーザェンジ ン 505によ り印刷されるこ とになる。 かかる画像データの転送を行なうのが、 ダブルバンク制御回路 624である。 ダブルバンク制御回路 624は、 マイ クロ プロセ ッサ 60 1側から電子制御装置 501側に転送するものであり、 256バ ィ 卜のデータを蓄えるバンクを 2セ ッ ト備える。 これを Aバンク, Bバンク と呼 ぶが、 両者はハー ドゥヱ ァと しては全く同一なので、 Aバンク側の構成例のみを 図 28に示す。  The print data received from the workstation 507 by the communication control unit 604 is interpreted by the page description language interpreter stored in the ROMs 606 to 609, developed as an image, and temporarily stored in the RAM 61 1 to 6 Stored in 14 predetermined areas. The image data thus obtained is then transferred to the electronic control unit 501 side, stored in its RAM 512, and printed by the laser engine 505 at a predetermined timing. . The double bank control circuit 624 transfers such image data. The double bank control circuit 624 transfers the data from the microprocessor 601 to the electronic control unit 501, and includes two sets of banks for storing 256 bytes of data. These are called A bank and B bank, but both are exactly the same as the hardware, and only the configuration example on the A bank side is shown in Fig. 28.
この各バンクは、 そのア ドレスおよびデータバスを、 マイ クロプロセ ッサ 60 1側から と電子制御装置 50 1側からとに切り換えられる構成になっており、 図 示するように、 ア ドレス ライ ンを選択するデータセレク タ 681, 682, 68 3、 2個一組で用いられデータバス ( 1 6ビッ ト幅) を選択する 2組計 4個のォ ク タルライ ンノ、 * ヅ フ ァ 684ないし 687、 1 28バイ ト分の記憶容量を有する R AM 691 , 692、 その他の構成ゲー トであるオアゲー ト 694, 695お よびイ ンパータ 696から構成されている。 図 28では、 1 28バイ ト分の記憶 容量を有する メ モ リチッ プを 2個用いた構成と しているが、 単一のメ モ リチ ッ プ の上位ア ド レ スを切り換えるこ とで実現しても差し支えない。  Each of these banks is configured so that its address and data bus can be switched between the microprocessor 601 side and the electronic control unit 501 side, and as shown in FIG. Select data selectors 681, 682, 683, two sets used to select the data bus (16-bit width), two sets total four octal liners, * ヅ files 684 to 687, It is composed of RAMs 691 and 692 with a storage capacity of 128 bytes, and other configuration gates, or gates 694 and 695 and an inverter 696. In Fig. 28, two memories with 128 bytes of storage capacity are used, but this is realized by switching the upper address of a single memory. No problem.
データセレ ク タ 68 1および 683は、 電子制御装置 50 1側のア ドレスパス CABの最下位 7ビッ ト (AC 1ないし AC 7 ) と、 マイ ク ロプロセ ッサ 60 1 側のア ド レス バス AABの下位の 7ビッ ト (A 2ないし A 8) とを選択して出力 する構成となっており、 ア ドレスバスの選択は、 セレク ト端子 Sに接続された信 号 ADDMU XA (レジス タ ADDMUXAのビッ ト d O) によ り行なわれる。 データセレク タ 682は、 ア ドレスバスの選択に合わせて、 RAM691 , 69 2のリー ド · ライ トの信号を切り換えるものであり、 同じ くセレク ト端子 Sに接 続された信号 A D D MU X Aにより、 いずれかの信号が R AM 69 1, 692の チ ッ プセレク ト端子 C E 1, 2、 ァゥ ト プッ トイ ネーブル端子 OEに接続される かを切り換えている。 The data selectors 68 1 and 683 are the lower 7 bits (AC 1 to AC 7) of the address path CAB of the electronic control unit 501 and the lower address bus AAB of the micro processor 601. Select 7 bits (A2 to A8) and output The address bus is selected by the signal ADDMU XA (bit ADO of register ADDMUXA) connected to the select terminal S. The data selector 682 switches the read / write signals of the RAM691 and 692 according to the selection of the address bus. Similarly, the signal ADDMUXA connected to the select terminal S It switches which signal is connected to the chip select terminals CE 1, 2 of the RAM 691, 692 and the input enable terminal OE.
ォク タルライ ンバッフ ァ 684, 685はデータバス D B 29に介装された ト ライステー ト タイ プのライ ンバッ フ ァであり、 ゲー ト端子 1 G, 2 Gが口ウレべ ルとなったと き、 マイ クロプロセ ッサ 601側のデータバス DB 29と RAM6 9 1, 692のデータバスを接続し、 マイ クロ プロセッサ 601側から RAM6 9 1, 692へのデータの書込が可能な状態とする。 ォク タルライ ンバッ フ ァ 6 84, 685のゲー ト端子 1 G, 2 Gには、 信号/ D P WR 0 Aと信号 AD DM UXAとを入力とするオアゲー ト 694の出力が接続されている。 信号/ DPW R 0 Aは、 マイ クロプロセ ッサ 60 1側が Aバンクにデータを書き込もう とする ときロウレベルになる信号である。 従って、 Aバンクへのデータの書込を行なう と して、 予めレジスタ ADDMUXAのビッ ト d Oをロウレベルにしておけば、 マイ クロプロセ ッサ 60 1側から Aバンクへのデータの書込処理を行なう と、 ォ ク タルライ ンバッ フ ァ 684, 685のゲー ト が開き、 データバス D B 29に出 力されたデータは、 RAM691 , 692のデータバスに出力され、 これに害き 込まれる。  Octal line buffers 684 and 685 are 3-state type buffer interposed in the data bus DB 29. When the gate terminals 1G and 2G are in the mouth level, the My line buffers 684 and 685 Connect the data bus DB 29 of the microprocessor 601 to the data bus of the RAMs 691, 692 to enable the microprocessor 601 to write data to the RAMs 691, 692. The output of the OR gate 694 which receives the signal / DPWR 0A and the signal AD DMUXA is connected to the gate terminals 1G and 2G of the octal line buffers 684 and 685. The signal / DPWR0A is a signal that goes low when the microprocessor 601 attempts to write data to bank A. Therefore, if the bit dO of the register ADDMUXA is set to a low level in advance as the data is written to the bank A, the data is written from the microprocessor 601 side to the bank A. Then, the gates of the octal line buffers 684 and 685 are opened, and the data output to the data bus DB 29 is output to the data buses of the RAM 691 and 692, and is damaged.
—方、 ォク タルライ ンバッ フ ァ 686, 687は、 そのゲー ト端子 1 G, 2 G がロ ウ レベル となったと き、 電子制御装置 50 1側のデータパス D B 68と RA M 69 1 , 692のデータバスを接続し、 RAM69 1 , 692から電子制御装 置 50 1へのデータの読出が可能な状態とする。 ォク タルライ ンバッ フ ァ 686, 687のゲー ト端子 1 G, 2 Gには、 信号 ZD P 0 E 1 Aと信号 AD DMU X A をイ ンバータ 696で反転した信号とを入力とするオアゲー ト 695の出力が接 続されている。 信号 ZD P OE 1 Aは、 電子制御装置 50 1側が Aパンクのデー タを読み取ろ う とすると きロウレベルになる信号である。 従って、 Aバンクのデ 一夕の読出を行なう と して、 予めレ ジス タ AD DMUXAのビヅ ト d Oをハイ レ ベルにしておけば、 電子制御装置 50 1側から Aバンクに対する読出処理を行な う と、 ォク タルライ ンバ ッ フ ァ 686, 687のゲー トが開き、 RAM69 1 , 692のデータパスに出力されたデータは、 データパス D B 68に出力される。 かかるハー ドウ ヱァを前提として、 マイ クロプロセ ッサ 601が行なう画像デ 一夕の転送処理と電子制御装置 50 1の CPU 5 1 0が行なうその受け取り処理 とを説明する。 図 29は、 マイ ク ロ プロセ ッサ 601が行なう画像データの転送 開始処理ルーチンを示すフ ローチ ャー トである。 図示するように、 マイ クロプロ セ ッサ 601は、 画像データの転送に先立って、 ポーリ ング · コマン ドレジス タ 643に転送開始のコマン ドをセ ッ トする (ステ ップ S 850) 。 On the other hand, the octal line buffers 686 and 687 have the data paths DB 68 and RAM 69 1 and 692 on the electronic control unit 501 side when the gate terminals 1 G and 2 G are at the low level. And the data buses of the RAMs 69 1, 692 can be read out to the electronic control unit 501. The gate terminals 1 G and 2 G of the octal line buffers 686 and 687 are connected to the OR gate 695 which receives the signal ZD P 0 E 1 A and the signal obtained by inverting the signal AD DMU XA by the inverter 696. Output is connected. The signal ZDPOE1A is a signal that goes low when the electronic control device 501 attempts to read A-punk data. Therefore, A bank If the bit dO of the register AD DMUXA is set to a high level in advance for reading data overnight, the readout processing from the electronic control unit 501 to the bank A is performed. The gates of the kutal line buffers 686 and 687 are opened, and the data output to the data paths of the RAMs 691 and 692 is output to the data path DB 68. Assuming this hardware, a description will be given of the image data transfer processing performed by the micro processor 601 and the reception processing performed by the CPU 50 of the electronic control unit 501. FIG. 29 is a flowchart showing the image data transfer start processing routine performed by the micro processor 601. As shown in the figure, the microprocessor 601 sets a transfer start command in the polling command register 643 prior to the transfer of the image data (step S850).
電子制御装置 50 1側の C P U 5 1 0は、 このポーリ ング · コマン ドレジス タ 643のコマン ドを読み取って、 図 30に示す応答処理ルーチンを実行する。 即 ち、 電子制御装置 501は、 レーザプリ ン タ 500が印刷可能な状態にあるか否 かの判断を行ない (ステ ッ プ S 860) 、 印刷できる状態にあると判断した場合 には、 割込要求レジスタの一つ (AMD I NT 2) をセ ヅ ト し (ステ ッ プ S 86 5 ) 、 「NE XTJ に抜けて本ルーチンを一旦終了する。 印刷できる状態にない 場合には、 これをカー ト リ ッ ジ 503のマイ ク ロプロセッサ 60 1に通知する処 理を行なう (ステッ プ S 870 ) 。 印刷できない状態とは、 例えばレーザェンジ ン 505がまだウ ォーミ ングアッ プされていない状態、 紙づまりなどが生じた状 態など、 画像データの転送を受けても印刷できない場合を言う。  The CPU 510 of the electronic control unit 501 reads the command of the polling command register 643 and executes the response processing routine shown in FIG. That is, the electronic control unit 501 determines whether or not the laser printer 500 is in a printable state (step S860). If the electronic control unit 501 determines that the laser printer 500 is in a printable state, it issues an interrupt request. One of the registers (AMDINT2) is set (step S865), and "Exit to NEXTJ and finish this routine. A process for notifying the microprocessor 601 of the cartridge 503 is performed (step S870). The state in which printing cannot be performed includes, for example, a state in which the laser engine 505 has not been warmed up, a paper jam, and the like. This means that printing cannot be performed even when image data is transferred, such as when the image data has occurred.
電子制御装置 50 1側からの割込要求信号 AMD I NT 2を受け付けると、 マ イ ク口プロセ ッサ 60 1は、 図 3 1に示す画像データ転送割込処理ルーチンを起 動する。 この処理を起動すると、 マイ クロプロセ ッサ 60 1は、 まずレジス タ A D DMUX Aのビッ ト d 0に値 1を書き込む処理を行なう (ステ ッ プ S 900) < このレ ジス タ ADDMUXAのビッ ト d Oが値 1の場合には、 図 28を用いて説 明したように、 Aバンクを構成する RAM69 1 , 692のデータパスはマイ ク 口プロセ ッサ 60 1側のデータバス D B 29側に接続され、 電子制御装置 50 1 側からのアク セスはできない状態となる。  Upon receiving an interrupt request signal AMDINT2 from the electronic control unit 501, the microphone opening processor 601 starts an image data transfer interrupt processing routine shown in FIG. When this process is started, the microprocessor 601 first performs a process of writing a value 1 to bit d0 of the register ADDMUX A (Step S900) <bit d0 of this register ADDMUXA. If O has the value 1, the data path of RAMs 69 1 and 692 that make up bank A is connected to the data bus DB 29 of processor 601 as shown in Figure 28. As a result, access from the electronic control unit 501 cannot be performed.
続いて、 マイ ク ロ プロセ ッ サ 60 1は Aバン ク D P W R 0 Aに 1 28ワー ド (256バイ ト) 分のデータを転送する処理を行なう (ステ ッ プ S 902) 。 A バンク DPWR OAへのデータの書込処理を行なう と、 図 28に示した信号/ D PWR O Aがロウレベルとなり、 ォク タルライ ンバッ フ ァ 684, 685を介し てデータが RAM69 1 , 692に書き込まれる。 1 28ワー ドのデータ転送が 完了する と、 マイ クロプロセ ッサ 60 1はレジス タ ADD MUXAのビッ ト d O に値 1を書き込み (ステ ッ プ S 904)、 Aバンクを構成する RAM 69 1 , 6 92のデータバスを電子制御装置 50 1のデータバス D B 68に接続する。 Next, the microprocessor 60 1 is connected to the A bank DPWR 0 A by 128 words. A process of transferring (256 bytes) data is performed (step S902). When data is written to the A bank DPWR OA, the signal / DPWR OA shown in FIG. 28 goes low, and the data is written to the RAMs 691 and 692 via the octal line buffers 684 and 685. . When the data transfer of 128 words is completed, the microprocessor 601 writes the value 1 to the bit dO of the register ADD MUXA (step S904), and the RAM 691, which configures the bank A, 6 Connect the 92 data bus to the data bus DB 68 of the electronic control unit 501.
その後、 マイ ク ロ プロセ ッ サ 60 1はポーリ ング · コマン ドレジス タ 643に Aバンクへの転送の完了を知らせる コマン ドデータを書き込む処理を行なう (ス テ ツ プ S 906 ) 。 以上で、 Aバン クへのデータの転送処理を完了し、 マイ クロ プロセ ッサ 60 1は、 引き続き Bバンクについて上述した処理と同一の処理を実 行する (ステ ッ プ S 91 0) 。 Bバンクへのデータ転送が完了した場合には、 マ イ ク口プロセ ッサ 601はポーリ ング · コマン ドレジス タ 643に、 同様に転送 が完了したこ とを知らせるコマン ドデー夕を書き込む。 こ う してカー ト リ ッ ジ 5 03側から A, Bバンク、 計 256ワー ド (5 1 2バイ ト) のデータの転送が完 了する。  Thereafter, the microprocessor 601 performs a process of writing command data notifying the completion of the transfer to the A bank to the polling command register 643 (step S906). As described above, the data transfer processing to the A bank is completed, and the micro processor 601 continues to execute the same processing as that described above for the B bank (step S910). When the data transfer to the bank B is completed, the microprocessor 601 writes command data to the polling command register 643 to notify the completion of the data transfer. In this way, the transfer of 256 words (512 bytes) of data from banks A and B of cartridge 503 is completed.
以上説明したマイ クロプロセ ッサ 60 1の処理に対して、 電子制御装置 50 1 の C PU 5 1 0は、 図 32に示す画像データ受け取り処理ルーチンを実行する。 即ち、 C PU 5 1 0は、 まずステータス レジス タ 645のビッ ト d 3、 即ちフ ラ グ CMDRDを読み取り (ステッ プ S 920) 、 これが値 0であるか否かの判断 を行なう (ステ ッ プ S 925 ) 。 マイ クロプロセッサ 60 1側からポーリ ング · コマン ドレジス タ 643にコマン ドデータが書き込まれた場合、 このフラグ C M DRDは、 値 0にセ ッ ト されるので、 この時、 C PU 5 1 0はポー リ ング · コマ ン ドレ ジス タ 643のコ マン ドデータを読み取る (ステ ッ プ S 930) 。  In response to the processing of the microprocessor 601 described above, the CPU 510 of the electronic control unit 501 executes an image data receiving processing routine shown in FIG. That is, the CPU 510 first reads bit d3 of the status register 645, ie, the flag CMDRD (step S920), and determines whether or not this value is 0 (step S920). S 925). When command data is written to the polling command register 643 from the microprocessor 601, the flag CMDRD is set to the value 0. The command data of the command register 643 is read (step S930).
読み取つたコマン ドデータをチユ ッ ク し、 Aパンクのデ一夕転送が完了したこ とを示すコマン ドデータであるか否かの判断を行ない (ステ ッ プ S 935 ) 、 違 う場合には、 その他の処理を実行する (ステ ッ プ S 940 ) 。 ポー リ ング , コマ ン ドレ ジス タ 643のコマン ドデータが Aバン クのデータ転送の完了を示すもの であった場合には、 電子制御装置 50 1は Aバンク D P R A M A (図 1 6参照) の 1 28ワー ドを読み込む処理を行ない (ステ ッ プ S 945) 、 読み取ったデー 夕を RAM5 1 2に転送する (ステ ッ プ S 950) 。 The read command data is checked, and it is determined whether or not the command data indicates that the A puncture data overnight transfer has been completed (step S935). (Step S940). When the command data of the polling and command register 643 indicates the completion of the data transfer of the A bank, the electronic control unit 501 controls the A bank DPRAMA (see Fig. 16). The process reads the 128 words of the memory (step S945), and transfers the read data to the RAM 512 (step S950).
以上の処理により Aパンクの 1 28ワードのデータの読み取りが完了するので, マイ クロプロセッサ 60 1から次の 1 28ヮー ドの転送を許可すベく、 電子制御 装置 50 1は、 割込要求レジス夕の一つ (AMD I NT 2 ) をセッ トする。 続い て、 Bバンクについて上述したステ ッ プ S 920ないし S 955の処理を実行す る。 即ち、 Bバンクに対するマイ ク ロプロセ ッサ 60 1からのデ一タの転送が完 了したこ とをポーリ ング · コマン ドレジスタ 643のコマン ドデータにより判断 すると、 Bバン ク D PR AMBの 1 28ワー ドのデータを読み取り、 これを RA M 5 1 2に転送した後、 割込要求レジス夕の一つをセ ッ ト して、 マイ クロプロセ ッサ 60 1に対して割込要求を立てるのである。  With the above processing, the reading of 128 words of A puncture data is completed, so that the transfer of the next 128 words from the microprocessor 601 should be permitted. Set one in the evening (AMD I NT 2). Subsequently, the processing in steps S920 to S955 described above is executed for the B bank. That is, when it is determined from the command data of the polling command register 643 that the transfer of data from the microprocessor 601 to the bank B has been completed, the 128 words of the bank B DPR AMB are determined. After reading this data and transferring it to RAM 512, one of the interrupt request registers is set and an interrupt request is made to the micro processor 601.
かかる割込要求を受けて、 マイ ク ロプロセ ッサ 60 1は図 31に示した割込処 理ルーチ ンを再度実行するこ とになるから、 マイ クロプロセッサ 60 1および C PU 5 1 0が両ルーチ ン (図 31, 図 32) を実行するこ とで、 全画像データの 転送が完了する。 全画像データの転送後、 新たな印字データを電子制御装置 50 1側から受け取らなければ、 マイ クロプロセ ッサ 60 1は、 所定時間が経過する と、 コ ン ト ロールレジス タ 650のレジスタ C LKD I Vに値 1を書き込んで、 自らの動作周波数を半分の 1 2. 5 MH zに切り換え、 消黄電力ひいては発熱量 を低減する。  In response to such an interrupt request, the microprocessor 601 executes the interrupt processing routine shown in FIG. 31 again, so that the microprocessor 601 and the CPU 510 are both Execution of the routine (Figs. 31 and 32) completes the transfer of all image data. After the transfer of all image data, if new print data is not received from the electronic control unit 501, the microprocessor 601 stores the new print data in the register C LKD IV of the control register 650 after a predetermined time has elapsed. Write a value of 1 and switch its own operating frequency to half, 12.5 MHz, to reduce the yellowing power and thus the heat generation.
以上の構成により、 カー ト リ ッ ジ 503は、 割込とレジス タのフラ グ CMDR Dとを用いて、 展開済みの画像データを電子制御装置 50 1に、 効率よく受け渡 すこ とができ る。 画像データは、 次に説明するように、 同時にレーザエン ジ ン 5 05に送られて印刷に供されるから、 カー ト リ ッ ジ 503からの画像データの転 送が効率よ く行なわれる こ とは、 極めて重要である。  With the above configuration, the cartridge 503 can efficiently transfer the developed image data to the electronic control unit 501 by using the interrupt and the flag CMDRD of the register. . As described below, the image data is simultaneously sent to the laser engine 505 for printing, so that the transfer of the image data from the cartridge 503 is performed efficiently. It is extremely important.
J . 画像デー夕の印刷 J. Printing of image data
一方、 全画像データの転送を受けた電子制御装置 50 1は、 既述したダブルバ ッ フ ァ回路 520およびレジスタ 5 1 7を用いてレーザエンジン 505と信号を やり取り しつつ、 画像データによる印刷を行なう。 電子制御装置 50 1 とレーザ エンジン 505との信号のやり取り を図 33に簡略に示した。 この図を参照しつ つ、 印刷の概要について説明する。 On the other hand, the electronic control device 501 that has received the transfer of all the image data performs printing with the image data while exchanging signals with the laser engine 505 using the double buffer circuit 520 and the register 517 described above. . Electronic control unit 50 1 and laser The exchange of signals with the engine 505 is shown schematically in FIG. The outline of printing will be described with reference to this figure.
カー ト リ ッ ジ 503から展開された後の画像データを受け取ると、 電子制御装 置 50 1は、 レーザエン ジン 505が印刷可能な状態か否かを問い合わせ、 ゥ 才 一ミ ングァッ プなどが完了して印刷可能な状態にあると判断すると、 図 33に示 すプリ ン ト信号をレ ジス タ 5 17を介してレーザエンジン 505に出力する。 レ 一ザエンジン 505は、 この信号を受けて、 直ちに用紙搬送用のモータを起動す る。 これに同期して、 感光ドラムの回転、 帯電処理等が開始される。  Upon receiving the image data after the development from the cartridge 503, the electronic control unit 501 inquires whether or not the laser engine 505 is in a printable state. If it is determined that the printer is in a printable state, a print signal shown in FIG. 33 is output to the laser engine 505 via the register 517. Upon receiving this signal, the laser engine 505 immediately activates the paper transport motor. In synchronization with this, the rotation of the photosensitive drum, the charging process and the like are started.
印刷される用紙が感光 ドラムに対して所定距離だけ離間した位置に至ったとき、 レーザエンジン 505は用紙の先端を検出し、 信号 VRE Qをレジス タ 5 1 7を 介して電子制御装置 50 1に出力する。 電子制御装置 50 1はこの信号 VR E Q を受け取ると、 所定時間、 即ち感光ドラムがレーザビームによる潜像形成の開始 される位置まで回転するのに必要と される時間だけ待機してから、 信号 V S YN Cをレジス タ 5 1 7を介して出力する。 レーザエンジン 505はこの信号 V S Y N Cを受けて、 レーザビームの水平同期信号 H S YNCをレジス タ 5 17を介し て出力する。 この信号 H SYNCは、 1 ライ ン分の画像データの読み取り開始を 指示する信号に相当するので、 レーザエンジン 505は、 この信号に同期して画 像データをダブルバッ フ ァ回路 520の一方の RAM520Aも し く は 520 B から読み取る。 なお、 ト ッ プマージ ンを形成する場合には、 ト ッ プマージンに対 応するライ ン数だけ、 信号 V SYNCを無視する制御が行なわれる。 この制御は ボ ト ムマージ ンを形成する場合も同様である。  When the paper to be printed reaches a position separated by a predetermined distance from the photosensitive drum, the laser engine 505 detects the leading edge of the paper and sends a signal VREQ to the electronic control unit 501 via the register 5 17. Output. Upon receiving the signal VR EQ, the electronic control unit 501 waits for a predetermined time, that is, the time required for the photosensitive drum to rotate to a position where the formation of a latent image by the laser beam is started, and then issues the signal VS YNC is output via register 517. Laser engine 505 receives this signal V SYNC and outputs a horizontal synchronizing signal H SYNC of the laser beam via register 517. Since this signal H SYNC is equivalent to a signal instructing the start of reading of one line of image data, the laser engine 505 synchronizes the image data with the RAM 520A of one of the double buffer circuits 520 in synchronization with this signal. Or read from 520B. When forming a top margin, control is performed to ignore signal V SYNC by the number of lines corresponding to the top margin. This control is the same when forming bottom margins.
と同時に、 C PU 51 0はこの信号をカウ ン ト しつつ、 必要な画像データをダ ブルバッ フ ァ回路 520の RAM520Aも し くは RAM520 Bに転送する。 レーザエンジ ン 505が用紙後端を検出してから所定時間が経過するか、 水平同 期信号のカンゥ ト値が予め用紙サイ ズに合わせて設定された値に等し くなるかす ると、 C PU 5 1 0は、 画像データのダブルバッ フ ァ回路 520への転送を終了 する。 以上の処理により、 1ページ分の画像データはレーザエンジン 505に転 送され、 用紙にその画像が印刷される。 画像データの転送と印刷については以上の通りであるが、 最後に、 E E PRO M 670に記憶された設定値を変更する処理について説明する。 電子制御装置 5 0 1の C P U 5 1 0は、 所定のタィ ミ ングで図 34に示す設定値変更処理ルーチ ンを実行しており、 設定値変更の要求が生じたか否かの判断を行なう (ステ ッ プ S 1 200 ) 。 設定値変更の要求は、 電源投入直後にカー ト リ ッ ジ 503が装着 されているか否かを判断した時や、 コ ンソールパネル 5 1 8のスィ ツチ 5 1 8 a が操作がなされたと き、 あるいはワークステーシ ョ ン 507からカー ト リ ッ ジ 5 03を介して変更の指示がなされた時に生じる。 なお、 コ ンソールパネル 5 1 8 からも し くはワークステーシ ョ ン 507からの変更の指示は、 通信に関するもの を除き、 画像の展開が完了した時点でなければ受け付けないように構成するこ と も好適である。 所定のページ記述言語に従う画像の展開中に、 画像の展開に関す る設定値を変更することはできない場合が多いからである。 At the same time, the CPU 510 counts this signal and transfers necessary image data to the RAM 520A or the RAM 520B of the double buffer circuit 520. If a predetermined time has elapsed since the laser engine 505 detected the trailing edge of the paper, or if the count value of the horizontal synchronization signal becomes equal to a value set in advance according to the paper size, C The PU 510 terminates the transfer of the image data to the double buffer circuit 520. Through the above processing, one page of image data is transferred to the laser engine 505, and the image is printed on a sheet. The transfer and printing of the image data are as described above. Lastly, the process of changing the set values stored in the EE PRO M 670 will be described. The CPU 510 of the electronic control unit 501 executes the set value change processing routine shown in FIG. 34 at a predetermined timing, and determines whether or not a request for changing the set value has occurred ( Step S1200). The request for changing the set value is made when it is determined whether or not the cartridge 503 is mounted immediately after the power is turned on, or when the switch 5 18 a of the console panel 5 18 is operated. Alternatively, it occurs when a change is instructed from the workstation 507 via the cartridge 503. It should be noted that a change instruction from the console panel 5 18 or the workstation 507 may be configured to be accepted only when image development is completed, except for communication. It is suitable. This is because, in many cases, it is not possible to change the setting values relating to the image development during the image development according to the predetermined page description language.
設定値変更の要求が生じていなければ、 何も行なわずにそのまま本ルーチンを 終了するが、 要求が生じたと判断された場合には、 設定値を判断する処理を行な う (ステ ッ プ S 1 2 10) 。 ここで、 設定値の判断とは、 例えばコ ン ソールパネ ル 5 1 8のスイ ッ チ 5 1 8 aの操作手順に従つて、 あるいはワークステーシ sン 507からカー ト リ ッジ 503を介して送られたコマン ドを解析して、 通信条件 のどの項目が何に設定されたか等を特定する処理を意味する。 コンソールバネル 5 1 8から設定を行なう場合、 限られた数の操作ポタ ンを有効に利用するため、 表示ディ スプレイ 5 1 8 bに選択肢が表示され、 スィ ッ チ 51 8 aの操作により いずれかの項目を選ぶといったィ ン タフ -一スが取られるこ とが多い。 設定値の 判断の手法と結果は、 これらの仕様に応じて定まる。  If the request for changing the set value has not been issued, this routine ends without performing any processing. If it is determined that the request has been issued, the process for determining the set value is performed (Step S). 1 2 10). Here, the judgment of the set value is performed, for example, according to the operation procedure of the switch 518 a of the console panel 518 or transmitted from the work station 507 via the cartridge 503. It means a process of analyzing the command that has been specified and specifying which item of the communication condition is set to what. When making settings from the console panel 518, in order to make effective use of the limited number of operation buttons, options are displayed on the display display 518b, and one of them is operated by operating the switch 518a. In many cases, an effort to select an item is taken. The method and result of setting value determination are determined according to these specifications.
設定値を判断した後、 電子制御装置 501は、 この設定値を読出制御回路 62 0を介してカー ト リ ッ ジ 503側に転送する処理を行なう (ステップ S 1220) , マイ クロプロセ ッサ 60 1は、 このデータ受け取ると、 既述した処理により、 こ れを、 E E P ROM670に記憶する。 その後、 C PU 5 1 0は、 設定が完了し た旨の表示をコ ン ソールパネル 5 1 8の液晶デ ィ スプレイ 5 1 8 bに行ない、 本 ルーチンを終了する。 なお、 E E P ROM670は、 データをシ リ アル転送によ り記憶する タイ プなので、 電子制御装置 2側からデータが転送される と、 先に R AM 6 1 1の所定の領域に展開されたデータを書き換えておき、 所定のタイ ミ ン グでまとめて書き換えるている。 これら設定値のデータは、 所定時間経過する度 に書き換えるものと しても良いし、 コ ン ソールパネル 5 1 8からの指示を待って 書き換えるものと しても良い。 更に、 カー ト リ ッ ジ 503側にバッテ リを設け、 レーザプリ ン タ 1の電源が遮断された直後またはカー ト リ ッ ジ 503をコネク タ C N 1 1から外した直後に行なうものと しても差し支えない。 After determining the set value, the electronic control unit 501 performs a process of transferring the set value to the cartridge 503 via the read control circuit 620 (step S 1220). Upon receiving this data, the data is stored in the EEPROM 670 by the processing described above. After that, the CPU 510 displays on the LCD panel 518b of the console panel 518 that the setting is completed, and ends this routine. Since the EEPROM 670 stores data by serial transfer, when data is transferred from the electronic control unit 2, the R The data expanded in a predetermined area of AM611 is rewritten, and rewritten collectively at a predetermined timing. The data of these setting values may be rewritten each time a predetermined time elapses, or may be rewritten after an instruction from the console panel 518. Furthermore, a battery may be provided on the cartridge 503 side to perform the operation immediately after the power of the laser printer 1 is turned off or immediately after the cartridge 503 is disconnected from the connector CN 11. No problem.
かかる設定値の変更は、 単に印刷枚数などの条件の変更等に留まる場合もある し、 レーザプ リ ン タ 500の動作モー ドの全面的な変更を伴う場合もある。 後者 の場合は、 例えばカー ト リ ッ ジ 503でのページ記述言語による処理をやめてレ 一ザプリ ンタ 500に固有の制御コマン ドによる処理に切り換えたり、 その逆の 切換を行なう ことなどが考えられる。  Such a change in the set value may simply involve a change in conditions such as the number of prints, or may involve a complete change in the operation mode of the laser printer 500. In the latter case, for example, the processing by the page description language in the cartridge 503 may be stopped, and the processing may be switched to processing by a control command unique to the laser printer 500, or the reverse may be performed.
かかる構成によれば、 レーザプリ ンタ 500が動作するための諸条件を定める 設定値をカー ト リ ッ ジ 503の E E PROM670に記憶しているので、 カー ト リ ッ ジ 503をコネクタ CN 1 1に装着するこ とにより、 レーザプリ ンタ 500 の動作条件を、 カー ト リ ッ ジ 503による画像データの展開に適したものに簡単 に切り換えるこ とができる。 しかも、 電子制御装置 50 1の E E PROM5 1 3 の内容を書き換えていないので、 カー ト リ ッ ジ 503を外したと きには、 レーザ プリ ンタ 500の動作条件を元の状態に直ちに戻すことができる。 このため、 力 一ト リ ッ ジ 503をレーザプリ ンタ 500に付加してその機能を変更する場合で も、 セ ッ トア ッ プのみならず、 その解除も容易に行なう こ とができるのである。 なお、 レーザエ ン ジ ン 505を使用した印刷枚数も通常記憶しているが、 これは, カー ト リ ッ ジ 503を装着して印刷した場合でも、 E E P ROM5 1 3内のデー 夕を書き換えている。 も とより、 この値もカー ト リ ッ ジ 503側の E E PROM 670に記憶するものと しても差し支えない。 また、 カー ト リ ッ ジ 503を装着 して印刷を行なった枚数はカ ウ ン ト しないものと しても良い。  According to this configuration, since the set values that determine various conditions for operating the laser printer 500 are stored in the EE PROM 670 of the cartridge 503, the cartridge 503 is attached to the connector CN11. This makes it possible to easily switch the operating conditions of the laser printer 500 to those suitable for developing the image data by the cartridge 503. Moreover, since the contents of the EE PROM 513 of the electronic control unit 501 are not rewritten, when the cartridge 503 is removed, the operating conditions of the laser printer 500 can be immediately returned to the original state. it can. Therefore, even when the force trigger 503 is added to the laser printer 500 to change its function, not only the setup but also the release can be easily performed. Although the number of prints using the laser engine 505 is also normally stored, this means that the data in the EEPROM 513 is rewritten even when printing is performed with the cartridge 503 installed. . Originally, this value may be stored in the EEPROM 670 of the cartridge 503. Also, the number of sheets printed with the cartridge 503 mounted may not be counted.
K, 第 2実施例の効果 K, effect of the second embodiment
以上説明した第 2実施例によれば、 第 1実施例と同様、 カー ト リ ッ ジ 503を 装着することにより、 単にページ記述言語の処理プログラ ムをカー ト リ ッ ジで供 給する場合と較べて、 ページ記述言語の処理能力を格段に向上させることができ る。 また、 カー ト リ ッ ジ 503側に通信機能を備えるので、 レーザプリ ンタ 50 0と コ ン ピ ュータ との接続を解除するこ とな く、 別のヮークステー シ ョ ン 507 と接続するこ とが可能となっている。 更に、 ワー ク ス テー シ ョ ン 507からの印 字データをカー ト リ ッ ジ 503が直接受け取つているので、 レーザプリ ンタ 50 0側から カー ト リ ッ ジ 3にデータを移す必要がな く、 プロセ ッサを備えたカー ト リ ッ ジを装着するこ とを予定していない既存のプリ ン夕に使用するこ とができる 通常、 コ ン ピ ュータ本体の機能が向上するにつれて、 プリ ンタがシ ス テムのボ ト ルネ ッ クとなってしま うので、 コ ン ピ ュータ本体の機能の向上に合わせてブリ ン タ本体全体を交換する こ とが多いが、 本実施例によれば、 こう した場合に機能 の高いプロセ ッサを有する カー ト リ ッ ジ 503をレーザプリ ンタ 500に装着す るだけでよ く、 コ ス ト的にも極めて有利である。 According to the second embodiment described above, similarly to the first embodiment, by mounting the cartridge 503, the processing program of the page description language is simply provided by the cartridge. It can significantly improve the processing power of the page description language as compared with the case where it is supplied. Also, since the cartridge 503 has a communication function, it can be connected to another workstation 507 without disconnecting the laser printer 500 from the computer. It has become. Further, since the print data from the work station 507 is directly received by the cartridge 503, there is no need to transfer the data from the laser printer 500 to the cartridge 3. Can be used on existing printers where you do not plan to install a cartridge with a processor.Typically, as the capabilities of the computer itself improve, In many cases, the entire printer body is replaced in accordance with improvements in the functions of the computer body, as this would result in a bottleneck in the system. In this case, it is only necessary to mount the cartridge 503 having a highly functional processor to the laser printer 500, and it is extremely advantageous in terms of cost.
このほか、 本実施例では、 本来電子制御装置 501側から見て読出専用のデー タバス DB 68を介して、 カー ト リ ッ ジ 503側にデータを転送することができ る。 従って、 コ ン ソールパネル 5 1 8の操作状況など、 プリ ンタ本体 1側の情報 を遅滞な く カー ト リ ッ ジ 503に通知するこ とができる。 この時、 データ転送の 通知に割込を利用し、 割込要求によ り カー ト リ ッ ジ 503側の処理を起動してい るので、 カー ト リ ッ ジ 503のマイ クロプロセ ッサ 60 1は常時電子制御装置 5 0 1側の動作を監視する必要がな く、 カー ト リ ッ ジ 503のマイ クロプロセ ッサ 60 1を効率よ く使用するこ とができる。 即ち、 処理のオーバーへッ ドが小さ く でき、 全体の効率も向上する。 また、 本実施例では、 AS I Cを用いているので, 回路を小型化、 簡略化することができる。 更に、 電子制御装置 50 1側からデー タ転送制御部 603へのデー タの転送を読出制御回路 620と F I F O制御回路 623の 2系統用意しているので、 転送するデータの種別により これを使い分け て、 効率よ く データ転送を行なう こ とができる。 また、 1系統が故障したと き、 他の系統でこれを補う こ ともできる。  In addition, in this embodiment, data can be transferred to the cartridge 503 via the read-only data bus DB 68 when viewed from the electronic control device 501 side. Therefore, information on the printer body 1 such as the operation status of the console panel 5 18 can be notified to the cartridge 503 without delay. At this time, the interrupt is used for the notification of the data transfer, and the process on the cartridge 503 side is activated by the interrupt request. Therefore, the micro processor 601 of the cartridge 503 is There is no need to constantly monitor the operation of the electronic control unit 501, and the microprocessor 601 of the cartridge 503 can be used efficiently. That is, the processing overhead can be reduced, and the overall efficiency can be improved. Further, in this embodiment, since the ASIC is used, the circuit can be reduced in size and simplified. Further, since two systems of data transfer from the electronic control unit 501 to the data transfer control unit 603 are prepared: the read control circuit 620 and the FIFO control circuit 623, these can be used depending on the type of data to be transferred. Data transfer can be performed efficiently. Also, if one system fails, the other system can compensate for it.
L. その他の実施例 L. Other examples
以上 2つの実施例を挙げて本発明の具体的構成例について説明したが、 本発明 はこれらの実施例に何等限定されるものではない。 The specific configuration example of the present invention has been described with reference to the two embodiments. Is not limited to these examples.
( 1 ) カー ト リ ッ ジ 5 0 3に新たなプログラムをロー ドする構成  (1) Configuration to load a new program into cartridge 503
カー ト リ ツ ジ 5 0 3は、 通信制御部 6 0 4を介して外部からデータを受け取る こ とができるので、 例えば新たなページ記述言語のィ ンタープリ 夕などを通信制 御部 6 0 4を介して R A M 6 1 1 ないし 6 1 4の所定の領域にロー ドすることが できる。 その後、 制御をこのプログラムに移せば、 新たなページ記述言語により 処理が可能となる。 従って、 ページ記述言語の更新、 パージ β ンア ッ プ等を簡単 に行なう こ とができ る。  Since the cartridge 503 can receive data from the outside via the communication control unit 604, for example, the communication control unit 604 transmits a new page description language such as an interface. The data can be loaded to a predetermined area of the RAMs 611 to 614 through the RAM. Then, if control is transferred to this program, processing can be performed using a new page description language. Therefore, it is possible to easily update the page description language, perform a purge β upload, and the like.
また、 カー ト リ ッ ジ 5 0 3の動作に何らかの異常を生じた場合、 通信制御部 6 0 4を介してデバッ グ用のプログラムをロー ドして使用することも可能である。 通常、 流通される製品にこ う した非常用のプロ グラムを予め用意しておく こ とは 困難なので、 必要に応じてダウンロー ドできるメ リ ッ トは極めて大きい。  In addition, if any abnormality occurs in the operation of the cartridge 503, a program for debugging can be loaded and used via the communication control unit 604. Usually, it is difficult to prepare an emergency program for a product to be distributed in advance, so the merit that can be downloaded as needed is extremely large.
( 2 ) コン ソールバネル 5 1 8の液晶ディ ス プレイ 5 1 8 bに表示を行なう構 成  (2) Configuration to display on the LCD panel 518b of the console panel 518
ダブルバン ク制御回路 6 2 4を介してマイ ク ロ プロセ ッ サ 6 0 1 から C P U 5 1 0に画像データ以外のデータを転送するこ とで、 コンソールパネル 5 1 8に所 望の表示を行なう こ とができる。 例えば、 データ転送制御部 6 0 3がページ記述 言語のプロ グラムを解釈して画像を展開している間、 使用者からみてプリ ンタ本 体 1 はあたかも止まっているかのように見えるため、 コ ン ソールパネル 5 1 8の 液晶表示バネルに 「データ展開中」 といった表示のみならず、 現在展開中のモジ ユールの名称を表示したり、 全モジ ュールに対して既に展開を完了したモジ ユー ルの割合をパーセ ン ト等で表示する といつた構成が考えられる。  By transferring data other than image data from the micro processor 601 to the CPU 510 via the double bank control circuit 624, the desired display can be performed on the console panel 518. Can be. For example, while the data transfer control unit 603 interprets the program of the page description language and develops the image, the printer main body 1 appears to the user as if it were stopped. The LCD panel on the sole panel 518 displays not only `` Data is being developed, '' but also the name of the module currently being deployed, and the percentage of modules that have already been deployed for all modules. When the is displayed as a percentage, a configuration that can be considered.
また、 カー ト リ ッ ジ 5 0 3側のメ モ リの使用状況や、 ページ記述言語の展開中 にエ ラーが生じた場合に、 エラーコー ドやその内容をコ ン ソールパネル 5 1 8の 液晶表示パネルに表示する こ とも好適である。 更に、 カー ト リ ッ ジ 5 0 3のマイ クロプロセ ッ サ 6 0 1 の動作モー ド、 例えば動作周波数ゃス リーブモー ドなどを 表示したり、 カー ト リ ッ ジ 5 0 3を装着した時点でメモ リ容量などにより電源容 量が不足する場合、 そのメ ッ セージを表示したり、 あるいはレーザプリ ンタ 5 0 0の増設メ モ リ を取り外すよう指示するメ ッ セ一ジなどを表示する こ とも有効で ある。 If an error occurs during the use of the memory on the cartridge 503 or during the development of the page description language, the error code and its contents are displayed on the LCD panel of the console panel 518. It is also suitable to display on a display panel. In addition, the operation mode of the microprocessor 601 of the cartridge 503, such as the operating frequency / sleeving mode, is displayed, and the memo is displayed when the cartridge 503 is attached. When the power capacity is insufficient due to the capacity of the power supply, etc., it is also effective to display the message or the message to instruct to remove the additional memory of the laser printer 500. is there.
以上、 本発明をプリ ン タに適用した実施例について説明したが、 本発明は、 プ リ ン タへの適用にに限るものではな く、 例えばワープロやパーソナルコンピュー タ、 あるいはワークステーシ ョ ンなどにも適用するこ とができる。 近年、 こう し たコ ン ビユ ータ関連機器は、 拡張スロ ッ トはも とより、 I C カー ドといったカー ト リ ッ ジタイ プの拡張装置が取付け可能となつているこ とが多い。 こ う した拡張 スロ ッ トゃ I C カー ドなどを備えたワープロ、 パーソナルコンピュータ等では、 こ こに本発明の付加制御装置を装着し、 本体側のプロセ ッサの処理を、 モニタコ マン ドなどで付加制御装置に内蔵したメ モ リに記憶した処理に移し、 付加制御装 置に備えられたプロセッサと共に情報を処理するものとすれば、 情報処理機能の 向上, 追加あるいは変更を実現する ことが容易である。 更に、 制御を付加制御装 置側に移してしまえば、 処理の内容はいかようにも変更することができるから、 既に販売した機器の機能の変更や向上、 ワープロなど各種専用機におけるソフ ト のパージ ョ ンア ツ プなどを実現する こ とができる。  The embodiment in which the present invention is applied to a printer has been described above. However, the present invention is not limited to application to a printer. For example, a word processor, a personal computer, or a workstation may be used. It can also be applied to such applications. In recent years, such computer-related equipment has often been equipped with a cartridge-type expansion device such as an IC card, as well as an expansion slot. In a word processor or personal computer equipped with such an extended slot IC card or the like, the additional control device of the present invention is mounted here, and the processing of the processor on the main body side is performed by a monitor command or the like. If the processing is shifted to the processing stored in the memory built in the additional control device and the information is processed together with the processor provided in the additional control device, it is easy to improve, add or change the information processing function. It is. Furthermore, if control is transferred to the additional control device side, the content of the processing can be changed in any way, so the functions of already sold devices can be changed or improved, and software for various dedicated machines such as word processors can be used. Purging up can be realized.
【産業上の利用可能性】 [Industrial applicability]
本発明は、 プロセ ッサを用いた装置であって、 外部がデータを受け取って動作 するあらゆる装置、 例えばプリ ン タ、 車載の電装品、 フ ァ ク シ ミ リ、 電話、 電子 手帳、 電子楽器、 翻訳器、 キ ャ ッ シ ュデイ スペンザ、 リ モ コ ン装置など、 コネク タにより付加制御装置が接続可能なあらゆる情報処理装置に適用可能である。  The present invention relates to an apparatus using a processor, which is an apparatus that receives data and operates externally, such as a printer, an on-board electrical device, a facsimile, a telephone, an electronic notebook, and an electronic musical instrument. The present invention can be applied to any information processing device to which an additional control device can be connected by a connector, such as a translator, a cache dispenser, and a remote control device.

Claims

請求の範囲 The scope of the claims
1 . 論理演算可能な第 1 のプロセ ッサ、 該プロセ ッ サが実行する処理を記 憶した第 1 の記憶手段、 および該第 1 のプロセ ッサに対してデータのやり取り可 能な信号線が接続されたコネクタを備えた電子装置と、 1. A first processor capable of performing a logical operation, first storage means for storing processing executed by the processor, and a signal line capable of exchanging data with the first processor An electronic device having a connector to which is connected,
該電子装置の該コネク タに接続される付加制御装置と  An additional control device connected to the connector of the electronic device;
からなる情報処理装置であって、  An information processing apparatus comprising:
前記付加制御装置には、  In the additional control device,
外部の機器からデータを受け取る通信手段と、  A communication means for receiving data from an external device;
前記第 1 のプロセ ッ サとは異なる処理を行なう第 2のプロセ ッ サと、 該第 2のプロセ ッサが、 前記通信手段を介して受け取ったデータに対して実 行する処理手順を少なく とも記億した第 2の記憶手段と、  A second processor that performs processing different from that of the first processor; and at least a processing procedure that the second processor executes on data received via the communication means. A second storage means,
該第 2のプロセ ッサにより処理されたデータを、 前記電子装置に出力するデ 一夕出力手段と  Data output means for outputting the data processed by the second processor to the electronic device;
を備えた情報処理装置。  Information processing device provided with.
2 . 請求の範囲第 1項記載の情報処理装置であって、 2. The information processing apparatus according to claim 1, wherein
前記通信手段が外部から受け取るデータには、 前記電子装置の第 1 のプロセ ッ サが処理可能なデータと性質を異にするデータが含まれ、  The data received from the outside by the communication means includes data different in properties from data that can be processed by the first processor of the electronic device,
前記第 2の記憶手段には、 該性質を異にするデータを処理する手順が記憶され た情報処理装置。  An information processing apparatus in which a procedure for processing data having different properties is stored in the second storage means.
3 . 請求の範囲第 1 項記載の情報処理装置であって、 3. The information processing apparatus according to claim 1, wherein
前記付加制御装置には、 前記第 2のプロセ ッサが前記データに対する処理を行 なっている間に、 該データの処理に関する情報を、 前記電子装置に出力する処理 情報出力手段を備える情報処理装置。  An information processing apparatus including: a processing information output unit that outputs information related to the processing of the data to the electronic device while the second processor is performing the processing on the data. .
4 . 請求の範囲第 3項記載の情報処理装置であって、 4. The information processing apparatus according to claim 3, wherein
前記処理情報出力手段は、 データ処理に関する情報と して、 処理されたデータ 量、 処理中のデータの名称、 残存処理時間、 付加制御装置内のエラー情報のうち の少な く とも一つを出力する情報処理装置。 The processing information output means includes information on data processing, An information processing device that outputs at least one of the quantity, the name of the data being processed, the remaining processing time, and error information in the additional control device.
5 . 請求の範囲第 3項記載の情報処理装置であって、 5. The information processing apparatus according to claim 3, wherein
前記電子装置は、 所定の情報を表示する表示手段を備え、  The electronic device includes a display unit that displays predetermined information,
前記処理情報出力手段が出力する情報を受け取って、 該情報を、 該表示手段に 表示するデータ表示手段を有する情報処理装置。  An information processing apparatus comprising: a data display unit that receives information output by the processing information output unit and displays the information on the display unit.
6 . 請求の範囲第 1項記載の情報処理装置であって、 6. The information processing apparatus according to claim 1, wherein
前記電子装置は、 電子装置側の情報を、 前記付加制御装置に出力する情報出力 手段を備える情報処理装置。  An information processing apparatus, comprising: an information output unit configured to output information of an electronic device to the additional control device.
7 . 情報出力手段が出力する情報は、 電子装置に設けられた操作部の操作 情報を含む請求の範囲第 6項記載の情報処理装置。 7. The information processing apparatus according to claim 6, wherein the information output by the information output means includes operation information of an operation unit provided in the electronic device.
8 . 請求の範囲第 6項記載の情報処理装置であって、 8. The information processing apparatus according to claim 6, wherein
前記電子装置のコネク タに接続された信号線は、 前記第 1 のプロセ ッサのア ド レ ス信号線の少な く とも一部を含んで構成され、  A signal line connected to a connector of the electronic device, the signal line including at least a part of an address signal line of the first processor;
前記情報処理出力手段は、 出力しょう とする情報をアクセスしょう とするア ド レ ス に反映させ、 該ア ド レ スに対して読出処理を行なう手段であり、  The information processing output means is means for reflecting information to be output on an address to be accessed and performing read processing on the address.
前記付加制御装置には、 前記第 1 のプロセ ッザからの該読出処理に応答して、 該ア ド レ スに含まれる情報を抽出する情報抽出手段を備える情報処理装置。  An information processing device, comprising: an information extracting unit configured to extract information included in the address in response to the reading process from the first processor.
9 . 請求の範囲第 1 項記載の情報処理装置であって、 9. The information processing apparatus according to claim 1, wherein
前記付加制御装置は、  The additional control device,
プロ ダラ ムを記憶する R A Mと、  R A M that memorizes the program and
前記通信部が受け取ったデータをプロ グラ ムとして前記 R A Mに展開するプ ログラ ム展開手段と、  Program expansion means for expanding the data received by the communication unit as a program in the RAM;
該展開されたプロ グラムの所定の番地に、 前記第 2のプロセ ッ サの制御を移 管する制御移管手段と The control of the second processor is transferred to a predetermined address of the expanded program. Control transfer means to pipe
を備えた情報処理装置。  Information processing device provided with.
1 0 . 前記 R A Mに展開されたプロ グラムは、 該付加制御装置のデバッ グ用 プロ グラム、 前記第 2の記億手段に記憶されたデータ処理用の処理手順を修正す るプロ グラム、 該データ処理用の処理手順より高機能の処理手順を実現するプロ グラムの内、 少な く とも一つである請求の範囲第 9項記載の情報処理装置。 10. The program expanded in the RAM is a program for debugging the additional control device, a program for modifying a processing procedure for data processing stored in the second storage means, and a program for modifying the data. 10. The information processing apparatus according to claim 9, wherein at least one of the programs realizes a processing procedure having a higher function than the processing procedure for processing.
1 1 . 請求の範囲第 1項記載の情報処理装置であって、 1 1. The information processing apparatus according to claim 1, wherein
前記付加制御装置は、 メ モ リを増設可能なコネクタを備え、  The additional control device includes a connector capable of adding memory,
該コ ネク タに、 前記通信手段を介して受け取ったデータに対して実行する処理 手順を記憶した R O Mも し くはデータを記憶可能な R A Mなどを備えたメ モ リ 力 ー ドを装着してなる情報処理装置。  The connector is equipped with a ROM storing a processing procedure to be executed on the data received through the communication means or a memory having a RAM capable of storing data, and the like. Information processing device.
1 2 . 請求の範囲第 1項記載の情報処理装置であって、 1 2. The information processing apparatus according to claim 1, wherein
前記付加制御装置には、 前記電子装置の第 1 のプロセ ッザが実行する処理を記 憶する第 3の記憶手段を備えると共に、  The additional control device includes third storage means for storing processing executed by a first processor of the electronic device,
前記電子装置には、 前記付加制御装置内の前記第 3の記憶手段に記憶された処 理に、 所定のタイ ミ ングで、 前記第 1 のプロセ ッ サの制御を移管する手段を設け た  The electronic device is provided with means for transferring control of the first processor at a predetermined timing to processing stored in the third storage means in the additional control device.
情報処理装置。  Information processing device.
1 3 . 論理演算可能な第 1 のプロセ ッサ、 該プロセ ッサが実行する処理を記 憶した第 1 の記憶手段を備えた電子装置に、 該電子装置に設けられたコネク タを 介して接続される付加制御装置であつて、 13. An electronic device including a first processor capable of performing a logical operation and first storage means for storing processing executed by the processor, via a connector provided in the electronic device. An additional control device to be connected,
外部の機器からデータを受け取る通信手段と、  A communication means for receiving data from an external device;
前記第 1 のプロセ ッサとは異なる処理を行なう第 2のプロセ ッサと、 該第 2のプロセ ッサが、 前記通信手段を介して受げ取ったデータに対して実行 する処理手順を少な く と も記憶した第 2の記憶手段と、 該第 2のプロセ ッサにより処理されたデータを、 前記電子装置に出力するデー タ出力手段と A second processor that performs processing different from that of the first processor, and a processing procedure that the second processor executes on data received via the communication unit are reduced. A second storage means that also memorizes, Data output means for outputting the data processed by the second processor to the electronic device;
を備えた付加制御装置。  Additional control device with
1 4 . 請求の範囲第 1 3項記載の付加制御装置であって、 14. The additional control device according to claim 13, wherein
前記通信手段が外部から受け取るデータには、 前記電子装置の第 1 のプロセ ッ ザが処理可能なデータと性質を異にするデータが含まれ、  The data received from the outside by the communication means includes data different in properties from data that can be processed by a first processor of the electronic device,
前記第 2の記憶手段には、 該性質を異にするデータを処理する手順が記憶され た付加制御装置。  The additional control device, wherein a procedure for processing data having different properties is stored in the second storage means.
1 5 . 請求の範囲第 1 3項記載の付加制御装置であって、 15. The additional control device according to claim 13, wherein
前記付加制御装置には、 前記第 2のプロセ ッサが前記データに対する処理を行 なっている間、 該データの処理に関する情報を、 前記電子装置に出力する処理情 報出力手段を備える付加制御装置。  The additional control device includes a processing information output unit that outputs information on the processing of the data to the electronic device while the second processor is performing the processing on the data. .
1 6 . 請求の範囲第 1 5項記載の付加制御装置であって、 16. The additional control device according to claim 15, wherein
前記処理情報出力手段は、 データ処理に関する情報と して、 処理されたデータ 量、 処理中のデータの名称、 残存処理時間のう ちの少な く とも一つを出力する付 加制御装置。  The additional control device, wherein the processing information output means outputs at least one of the amount of processed data, the name of the data being processed, and the remaining processing time as information relating to data processing.
1 7 . 論理演算可能な第 1 のプロセ ッサ、 該プロセ ッサが実行する処理を記 憶した第 1 の記憶手段、 使用者が操作する操作部を備えた電子装置に、 該電子装 置に設けられたコ ネ ク タを介して接続される付加制御装置であつて、 17. An electronic device including a first processor capable of performing a logical operation, first storage means for storing processing to be executed by the processor, and an operation unit operated by a user. An additional control device connected via a connector provided in
外部の機器からデータを受け取る通信手段と、  A communication means for receiving data from an external device;
前記第 1 のプロセ ッサとは異なる処理を行なう第 2のプロセッサと、 該第 2のプロセ ッサが、 前記通信手段を介して受け取つたデータに対して実行 する処理手順を少な く とも記憶した第 2の記憶手段と、  A second processor that performs processing different from that of the first processor, and at least a processing procedure that the second processor executes on data received via the communication means. A second storage means,
該第 2のプロセ ッサにより処理されたデータを、 前記電子装置に出力するデー タ出力手段と、 前記電子装置が前記操作部の操作による操作情報を出力したと き、 これを受け 取る操作情報受取手段と、 Data output means for outputting the data processed by the second processor to the electronic device; Operation information receiving means for receiving, when the electronic device outputs operation information obtained by operating the operation unit,
該受け取った情報に応じて前記第 2のプロセ ッサに所定の処理を実行させる応 答処理実行手段と  Response processing execution means for causing the second processor to execute predetermined processing according to the received information;
を備えた付加制御装置。  Additional control device with
1 8 . 論理演算可能な第 1 のプロセ ッサ、 該プロセ ッサが実行する処理を記 憶した第 1 の記憶手段、 該第 1 のプロセ ッサのア ドレス信号線の少な く とも一部 が接続されたコネク タを備えた電子装置に、 該コネク タ介して接続される付加制 御装置であつて、 18. First processor capable of logical operation, first storage means for storing processing executed by the processor, and at least a part of an address signal line of the first processor An additional control device connected via the connector to an electronic device having a connector connected to the electronic device;
外部の機器からデータを受け取る通信手段と、  A communication means for receiving data from an external device;
前記第 1 のプロセ ッサ とは異なる処理を行なう第 2のプロセ ッ サと、  A second processor that performs processing different from that of the first processor;
該第 2のプロセ ッサが、 前記通信手段を介して受け取ったデータに対して実行 する処理手順を少な く とも記憶した第 2の記憶手段と、  A second storage unit that stores at least a processing procedure executed by the second processor for data received via the communication unit;
該第 2のプロセ ッサにより処理されたデータを、 前記電子装置に出力するデー タ出力手段と、  Data output means for outputting the data processed by the second processor to the electronic device;
前記電子装置が、 出力しょう とする情報をァ ドレスに反映させて行なう該ァ ド レ ス に対する読出処理に対応して、 該ァ ド レ ス に含まれる情報を抽出する情報抽 出手段と  Information extraction means for extracting information included in the address in response to a read process for the address performed by the electronic device by reflecting information to be output in the address;
を備える付加制御装置。  An additional control device comprising:
1 9 . 請求の範囲第 1 3項記載の付加制御装置であって、 1 9. The additional control device according to claim 13, wherein
プロ グラ ムを記憶する R A Mと、  R A M, which memorizes programs,
前記通信部が受け取つたデータをプロ グラ ムと して前記 R A Mに展開するプ ロ グラム展開手段と、  Program development means for developing the data received by the communication unit into the RAM as a program,
該展開されたプログラムの所定の番地に、 前記第 2のプロセ ッ サの制御を移 管する制御移管手段と  Control transfer means for transferring control of the second processor to a predetermined address of the expanded program;
を備えた付加制御装置。 Additional control device with
2 0 . 前記 R A Mに展開されたプロ グラムは、 該付加制御装置のデバッ グ用 プロ グラム、 前記第 2の記憶手段に記憶されたデ タ処理用の処理手順を修正す るプログラム、 該データ処理用の処理手順より高機能の処理手順を実現するプロ グラムの内、 少な く とも一つである請求の範囲第 1 9項記載の付加制御装置。 20. The program expanded in the RAM is a program for debugging the additional control device, a program for modifying a processing procedure for data processing stored in the second storage means, and a data processing. 20. The additional control device according to claim 19, wherein at least one of the programs realizes a processing procedure having a higher function than the processing procedure for use.
2 1 . 請求の範囲第 1 3項記載の付加制御装置であって、 2 1. The additional control device according to claim 1, wherein
メ モ リ を増設可能なコ ネク タを備え、  Equipped with a connector that can add memory,
該コネ ク タに、 前記通信手段を介して受け取つたデータに対して実行する処理 手順を記憶した R O Mも し く はデー夕を記憶可能な R A Mなどを備えたメモ リ 力 一ドを装着してなる付加制御装置。  The connector is equipped with a ROM storing a processing procedure to be executed on data received via the communication means or a memory card having a RAM capable of storing data and the like. Additional control device.
2 2 . 請求の範囲第 1 3項記載の付加制御装置であって、 22. The additional control device according to claim 13, wherein
前記電子装置の第 1 のプロセ ッサが実行する処理を記憶する第 3の記憶手段を 備えると共に、  A third storage unit for storing a process executed by a first processor of the electronic device,
前記付加制御装置内の前記第 3の記憶手段に記憶された処理に、 所定のタイ ミ ン グで、 前記第 1 のプロセ ッサの制御を移管する手段を設けた  Means for transferring control of the first processor at a predetermined timing to processing stored in the third storage means in the additional control device is provided.
付加制御装置。  Additional control device.
2 3 . 論理演算可能な第 1 のプロセ ッサ、 該プロセ ッ サが実行する処理を記 憶した第 1 の記憶手段を備えた電子装置と、 該電子装置にコネク タを介して接続 され、 前記第 1 のプロセ ッサとは別個の処理を行なう第 2のプロセ ッサを備えた 付加制御装置とが共働して行なう情報処理方法であって、 23. A first processor capable of performing a logical operation, an electronic device including first storage means for storing processing executed by the processor, and a first processor connected to the electronic device via a connector; An information processing method performed in cooperation with an additional control device including a second processor that performs processing separately from the first processor,
前記付加制御装置では、  In the additional control device,
外部の機器から通信によりデータを受け取り、  Receives data from external devices via communication,
前記第 2のプロセ ッ サが、 該第 2のプロセ ザから読出可能に設けられた第 2の記憶手段に記憶された処理手順により、 前 通信によ り受け取ったデータに 対して処理を行ない、  The second processor performs processing on the data received by the previous communication according to the processing procedure stored in the second storage means readable from the second processor;
該第 2のプロセ ッサにより処理されたデータを、 前記電子装置に出力する 情報処理方法。 An information processing method for outputting data processed by the second processor to the electronic device.
2 4 . 請求の範囲第 2 3項記載の情報処理方法であって、 24. The information processing method according to claim 23, wherein
前記通信手段が外部から受け取るデータには、 前記電子装置の第 1 のプロセ ッ サが処理可能なデータと性質を異にするデータが含まれ、  The data received from the outside by the communication means includes data different in properties from data that can be processed by the first processor of the electronic device,
前記第 2の記憶手段には、 該性質を異にするデータを処理する手順が記憶され た情報処理方法。  An information processing method, wherein a procedure for processing data having different properties is stored in the second storage means.
2 5 . 請求の範囲第 2 3項記載の情報処理方法であって、 25. The information processing method according to claim 23, wherein
前記付加制御装置側では、 前記第 2のプロセ ッザが前記データに対する処理を 行なっている間に、 該データの処理に関する情報を、 前記電子装置に出力する情 報処理方法。  An information processing method in which, on the side of the additional control device, information about processing of the data is output to the electronic device while the second processor is processing the data.
2 6 . 請求の範囲第 2 5項記載の情報処理方法であって、 26. The information processing method according to claim 25, wherein
前記処理情報出力手段は、 データ処理に関する情報と して、 処理されたデータ 量、 処理中のデータの名称、 残存処理時間、 付加制御装置内のエラー情報のうち の少な く とも一つを出力する情報処理方法。  The processing information output means outputs at least one of the amount of processed data, the name of the data being processed, the remaining processing time, and the error information in the additional control device as information relating to data processing. Information processing method.
2 7 . 論理演算可能な第 1 のプロセ ッサ、 該プロセ ッサが実行する処理を記 憶した第 1 の記憶手段、 所定の情報を表示可能な表示手段を備えた電子装置と、 該電子装置にコネクタを介して接続され、 前記第 1 のプロセ ッサとは別個の処理 を行なう第 2のプロセ ッサを備えた付加制御装置とが共働して行なう情報処理方 法であって、 27. An electronic device comprising: a first processor capable of performing a logical operation; first storage means for storing processing executed by the processor; display means capable of displaying predetermined information; An information processing method which is connected to a device via a connector and cooperates with an additional control device including a second processor which performs processing different from the first processor, and
前記付加制御装置側では、  On the additional control device side,
外部の機器から通信によりデータを受け取り、  Receives data from external devices via communication,
前記第 2のプロセ ッサが、 該第 2のプロセ ッサから読出可能に設けられた第 2の記憶手段に記憶された処理手順により、 前記通信によ り受け取ったデータに 対して処理を行ない、  The second processor performs processing on the data received by the communication according to the processing procedure stored in the second storage means readable from the second processor. ,
該第 2のプロセ ッサにより'処理されたデータを、 前記電子装置に出力する ど 共に、 前記第 2のプロセ ッサが前記データに対する処理を行なっている間に、 該デ 一夕の処理に関する情報を、 前記電子装置に出力し、 Outputting the data processed by the second processor to the electronic device, While the second processor is performing processing on the data, outputting information on the processing of the data to the electronic device;
前記電子装置側では、 該付加制御装置が出力する該情報を受け取って、 該情報 を、 前記表示手段に表示する  The electronic device receives the information output by the additional control device, and displays the information on the display unit.
情報処理方法。  Information processing method.
2 8 . 前記電子装置は、 電子装置側の情報を、 前記付加制御装置に出力する 請求の範囲第 2 3項に記載の情報処理方法。 28. The information processing method according to claim 23, wherein the electronic device outputs information on the electronic device side to the additional control device.
2 9 . 論理演算可能な第 1 のプロセ ッサ、 該プロセッサが実行する処理を記 憶した第 1 の記憶手段、 使用者が操作する操作部備えた電子装置と、 該電子装置 にコネク タを介して接続され、 前記第 1 のプロセ ッサとは別個の処理を行なう第 2のプロセ ッサを備えた付加制御装置とが共働して行なう情報処理方法であって, 前記電子装置側では、 前記操作部の操作情報を前記付加制御装置側に出力し、 前記付加制御装置側では、 29. A first processor capable of performing a logical operation, first storage means for storing processing to be executed by the processor, an electronic device having an operation unit operated by a user, and a connector connected to the electronic device And an additional control device having a second processor for performing processing separate from the first processor, the information processing method being performed in cooperation with the first processor. Outputting operation information of the operation unit to the additional control device side;
電子装置が出力した前記操作情報を記憶し、  Storing the operation information output by the electronic device,
外部の機器から通信によりデータを受け取り、  Receives data from external devices via communication,
前記第 2のプロセ ッサが、 前記記憶された操作情報を参照しつつ、 該第 2の プロセ ッサから読出可能に設けられた第 2の記億手段に記憶された処理手順によ り、 前記通信により受け取ったデータに対して処理を行ない、  The second processor refers to the stored operation information and performs a processing procedure stored in a second storage unit readable from the second processor. Perform processing on the data received by the communication,
該第 2のプロセ ッサにより処理されたデータを、 前記電子装置に出力する 情報処理方法。  An information processing method for outputting data processed by the second processor to the electronic device.
3 0 . 論理演算可能な第 1 のプロセ ッサ、 該プロセ ッ サが実行する処理を記 憶した第 1 の記憶手段を備えた電子装置と、 該電子装置側からは読出専用のバス に結合されたコネク タを介して接続され、 前記第 1 のプロセ ッサとは別個の処理 を行なう第 2のプロセッサを備えた付加制御装置とが共働して行なう情報処理方 法であって、 30. A first processor capable of performing a logical operation, an electronic device provided with first storage means for storing processing executed by the processor, and a read-only bus from the electronic device side An information processing method that is connected through a connected connector and cooperates with an additional control device including a second processor that performs processing separately from the first processor,
前記電子装置側では、 出力しょう とする情報をアクセス しょう とするァ ドレス に反映させ、 該ア ド レスに対して読出処理を行ない、 On the electronic device side, an address to access information to be output And perform read processing for the address,
前記付加制御装置側では、 前記第 1 のプロセ ッサからの該読出処理に応答して、 該ア ド レ スに含まれる情報を抽出する  The additional control device extracts information included in the address in response to the reading process from the first processor.
情報処理方法。  Information processing method.
3 1 . 請求の範囲第 2 3項記載の情報処理方法であって、 31. The information processing method according to claim 23, wherein
前記付加制御装置は、  The additional control device,
プログラムを記憶する R A Mに、 通信により受け取つたデータをプロ グラム と して展開し、  The data received by communication is expanded as a program on the RAM that stores the program,
該展開されたプロ グラムの所定の番地に、 前記第 2のプロセ ッ サの制御を移 管する  The control of the second processor is transferred to a predetermined address of the expanded program.
情報処理方法。  Information processing method.
3 2 . 前記 R A Mに展開されたプロ グラムは、 該付加制御装置のデバッ グ用 プロ グラム、 前記第 2の記憶手段に記憶されたデータ処理用の処理手順を修正す るプロ グラム、 該データ処理用の処理手順より高機能の処理手順を実現するプロ グラムの内、 少な く とも一つであり、 前記第 2のプロセ ッ サは、 その処理を実行 する請求の範囲第 3 1項記載の情報処理方法。 32. The program developed in the RAM is a program for debugging of the additional control device, a program for modifying a processing procedure for data processing stored in the second storage means, and a program for data processing. 31. The information according to claim 31, wherein at least one of the programs realizes a processing procedure having a higher function than the processing procedure for use, and the second processor executes the processing. Processing method.
3 3 . 請求の範囲第 2 3項記載の情報処理方法であって、 33. The information processing method according to claim 23, wherein
前記付加制御装置に設けられたコ ネ ク タにメ モ リ カー ドを装着し、 該メ モ リ 力 一ド内の R 0 Mに記憶された処理手順に従って、 通信により受け取ったデータに 対して処理を行ない、 も し くは該メ モ リ カー ド内の R A Mに処理されるデータを 展開する情報処理方法。  A memory card is attached to a connector provided in the additional control device, and the data received through communication is stored in accordance with the processing procedure stored in R0M in the memory card. An information processing method for performing processing and expanding data to be processed in RAM in the memory card.
3 4 . 請求の範囲第 2 3項記載の情報処理方法であって、 34. The information processing method according to claim 23, wherein
前記電子装置は、 前記付加制御装置に設けられた第 3の記憶手段に記憶された 処理に、 所定のタイ ミ ングで、 前記第 1 のプロセ ッサの制御を移管する  The electronic device transfers control of the first processor to a process stored in third storage means provided in the additional control device at a predetermined timing.
情報処理方法。 Information processing method.
3 5 . 請求の範囲第 1項記載の情報処理装置であって、 35. The information processing apparatus according to claim 1, wherein
前記電子装置は、 外部から受け取った印字データを展開して印刷を行なうプリ ン タであり、  The electronic device is a printer that expands print data received from outside and performs printing,
前記付加制御装置は、 該プリ ン タの前記コネク タに装着されたカー ト リ ツ ジで あり、  The additional control device is a cartridge mounted on the connector of the printer,
前記第 2の記憶手段は、 前記通信手段を介して受け取った印字データを解釈し て画像データを展開するページ記述言語のィ ン タープリ タを記億した情報処理装 置。  An information processing apparatus storing an interpreter of a page description language for interpreting print data received via the communication means and developing image data;
3 6 . 請求の範囲第 3 5項記載の情報処理装置であって、 36. The information processing apparatus according to claim 35, wherein
前記付加制御装置は、 前記第 2の記憶手段に展開された画像データをビデオ信 号と して出力するビデオ信号出力手段を備えた情報処理装置。  An information processing apparatus, comprising: a video signal output unit that outputs, as a video signal, image data expanded in the second storage unit.
3 7 . 請求の範囲第 3 5項記載の情報処理装置であって、 37. The information processing apparatus according to claim 35, wherein
前記付加制御装置は、 その筐体に、 前記第 2の記憶手段に展開された画像デー タを表示する表示ディス プレイ装置を備えた情報処理装置。  The information processing apparatus, further comprising: a display device for displaying the image data developed in the second storage means on a housing of the additional control device.
3 8 . 請求の範囲第 1 3項に記載された付加制御装置であって、 38. An additional control device as set forth in Claim 13 wherein:
外部から受け取った印字データを展開して印刷を行なう プリ ン タである電子装 置のコネクタにカー ト リ ツ ジの形態で装着され、  It is mounted in the form of a cartridge on a connector of an electronic device that is a printer that expands and prints print data received from the outside.
前記第 2の記憶手段は、 前記通信手段を介して受け取つた印字データを解釈し て画像データを展開するページ記述言語のィ ンタープリ タを記憶した付加制御装  The second storage means includes an additional control device storing a page description language interpreter for interpreting print data received via the communication means and developing image data.
3 9 . 請求の範囲第 3 8項記載の付加制御装置であって、 39. The additional control device according to claim 38, wherein
前記第 2の記憶手段に展開された画像データをビデオ信号として出力するビデ ォ信号出力手段を備えた付加制御装置。 An additional control device comprising video signal output means for outputting the image data developed in the second storage means as a video signal.
4 0 . 請求の範囲第 3 8項記載の付加制御装置であって、 40. The additional control device according to claim 38, wherein
前記第 2の記憶手段に展開された画像データを表示する表示ディス プレイ装置 を、 その筐体上に備えた付加制御装置。  An additional control device, comprising: a display device for displaying the image data expanded in the second storage means on a housing thereof.
4 1 . 請求の範囲第 2 3項記載の情報処理方法であって、 41. The information processing method according to claim 23, wherein
前記電子装置のコネク 夕にカー ト リ ッ ジの形態で装着された付加制御装置が、 内部に記憶したページ記述言語のィ ンタープリ タにより、 通信によって外部か ら受け取った印字データを解釈して画像データを展開し、  An additional control device mounted in the form of a cartridge at the connector of the electronic device interprets print data received from the outside by communication using a page description language interpreter stored therein, and outputs an image. Unpack the data,
前記電子装置は、 該画像データを受け取って印刷を行い、  The electronic device receives the image data and performs printing,
該画像の印刷に先だって、 前記画像データを付加制御装置の筐体に設けられた ディ ス プレイ に所定の解像度で表示する  Prior to printing of the image, the image data is displayed at a predetermined resolution on a display provided in a housing of the additional control device.
情報処理方法。  Information processing method.
PCT/JP1992/000781 1992-06-18 1992-06-18 Information processing apparatus and additional control device used therefor, and information processing method therefor WO1993025957A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP1992/000781 WO1993025957A1 (en) 1992-06-18 1992-06-18 Information processing apparatus and additional control device used therefor, and information processing method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP1992/000781 WO1993025957A1 (en) 1992-06-18 1992-06-18 Information processing apparatus and additional control device used therefor, and information processing method therefor

Publications (1)

Publication Number Publication Date
WO1993025957A1 true WO1993025957A1 (en) 1993-12-23

Family

ID=14042397

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1992/000781 WO1993025957A1 (en) 1992-06-18 1992-06-18 Information processing apparatus and additional control device used therefor, and information processing method therefor

Country Status (1)

Country Link
WO (1) WO1993025957A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011233140A (en) * 2010-04-08 2011-11-17 Canon Inc Control device for reducing consumption power and noise

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6225320A (en) * 1985-07-26 1987-02-03 Ricoh Co Ltd Printer
JPS62195781A (en) * 1986-02-24 1987-08-28 Ricoh Co Ltd Data device using ic card
JPS63318626A (en) * 1987-06-23 1988-12-27 Fujitsu Ltd Printer control system by dual processor
JPH01217540A (en) * 1988-02-25 1989-08-31 Toshiba Corp Document preparing device
JPH01265779A (en) * 1988-04-18 1989-10-23 Canon Inc Recorder
JPH01292422A (en) * 1988-05-20 1989-11-24 Hitachi Ltd Distributed processing system for printer
JPH03121878A (en) * 1989-10-04 1991-05-23 Toshiba Corp Printer system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6225320A (en) * 1985-07-26 1987-02-03 Ricoh Co Ltd Printer
JPS62195781A (en) * 1986-02-24 1987-08-28 Ricoh Co Ltd Data device using ic card
JPS63318626A (en) * 1987-06-23 1988-12-27 Fujitsu Ltd Printer control system by dual processor
JPH01217540A (en) * 1988-02-25 1989-08-31 Toshiba Corp Document preparing device
JPH01265779A (en) * 1988-04-18 1989-10-23 Canon Inc Recorder
JPH01292422A (en) * 1988-05-20 1989-11-24 Hitachi Ltd Distributed processing system for printer
JPH03121878A (en) * 1989-10-04 1991-05-23 Toshiba Corp Printer system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011233140A (en) * 2010-04-08 2011-11-17 Canon Inc Control device for reducing consumption power and noise

Similar Documents

Publication Publication Date Title
JP3097130B2 (en) Additional control device and information processing device using the same
US7359202B2 (en) Printer apparatus
WO1993016883A1 (en) Additional electronic device and electronic system
US7804688B2 (en) Apparatus including processor
US5481656A (en) Accessory control device and information processing method
WO1993016882A1 (en) Additional electronic device and electronic system
US5537517A (en) Information processing device in an electronic apparatus utilizing an accessory control device and methods of application
JP3097131B2 (en) Additional control device and information processing device using the same
US5553202A (en) Accessory control device which transfers data from electronic device using part of address signal and latch
JPH11316659A (en) Interface card for connecting computer to external device, device including the card and method for printing graphic image to printing material by using the device including
US5461705A (en) Information processing device in an electronic apparatus utilizing an accessory control device and methods of application
WO1993025957A1 (en) Information processing apparatus and additional control device used therefor, and information processing method therefor
JPH05290905A (en) Cartridge for electron device
US20060085566A1 (en) System with data bus and method for controlling operation thereof
WO1993016881A1 (en) Type discrimination device and method thereof
Note LaserWriter 12/640 PS Printer
Note LaserWriter 16/600 PS Printer
JPH05124302A (en) Printer
JPH08263442A (en) Computer system

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): JP

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH DE DK ES FR GB GR IT LU MC NL SE