Communication DMA device for freeing the data bus from the...

Electrical computers and digital data processing systems: input/ – Input/output data processing – Direct memory accessing

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C710S066000, C710S305000, C710S307000, C710S308000, C710S313000, C710S315000

Reexamination Certificate

active

06584512

ABSTRACT:

TECHNICAL FIELD
The present invention relates to a communication DMA device, and more specifically to a communication DMA device that frees the data bus from the CPU and allows image data stored in a DRAM to be output via a communication channel in outputting image data of an image taken by a digital still camera to a personal computer.
BACKGROUND ART
Normally, in a digital still camera, image data of an image taken can be stored in a DRAM, and the CPU can read the stored image data and transfer the data to a recording medium to be saved as an image, or the data can be transferred to a display device to project the image. A DRAM can utilize the area other than the image data area as a work area for various processing. For instance, when image data is transferred to a personal computer by serial communication interface, a recording medium stores image data usually compressed in JPEG format, image data of a suitable size for transmission is read therefrom and is temporarily written into the work area of the DRAM, and thereafter the CPU reads the image data as transmission data and writes the data into a communication circuit, thereby the transmission data is serially output.
When the transmission of all image data to the work area is completed by repeating the above processing, image data of a suitable size for next transmission is read out and is written into the DRAM, and the same processing as above is repeated to continue the transmission.
In order to speed up the communication, however, the CPU must be monopolized by the communication control so that other processing cannot be performed during this time. In addition, the CPU seldom controls a camera using a 8 bit bus, but generally controls it using a 16 bit to 32 bit bus.
On the other hand, communication processing generally involves a unit of 8 bits, and the well-known asynchronous/synchronous communication chip 8251 is also processed by 8 bits. Therefore, supposing that the CPU that controls utilizes a 32 bit bus, the data is divided into 4 bytes, i. e. bits
7
to
0
,
15
to
8
,
23
to
16
, and
31
to
24
. Although the data of bits
7
to
0
can be directly written into the communication circuit, data from bits
31
to
8
must be written into the communication circuit after being allocated again to bits
7
to
0
. Thus, a greater load is imposed upon the CPU than when 32 bits of data is transferred at once, and as a result, the processing speed of the CPU becomes slower. In particular, when transferring image data directly from the camera to a printer, a very high-speed transmission is required, which has surpassed the processing capability of the CPU.
Thus, the present invention provides a communication DMA device that lightens the load for the CPU while allowing a high-speed transfer.
DISCLOSURE OF THE INVENTION
The present invention is a communication DMA device, with a CPU, a communication circuit and a memory sharing a data bus, for outputting to the outside via the communication circuit transmission data stored in the memory; wherein the information indicating an area of the memory in which data to be transmitted is stored, the information indicating the capacity of the data to be transmitted, and the information indicating the start of communication are stored in a register; release of the data bus from the CPU is requested in order to allow reading of the transmission data of a prescribed bit width from the memory; the data bus is immediately connected to the CPU by a bus switching request circuit after the termination of the read operation; the data read from the memory via the data bus based on the information stored in the register is temporarily stored in a temporary storage circuit; and the data of a prescribed bit width stored temporarily is divided and output to the outside via the communication circuit several bits at a time.
Thus, according to the present invention, in performing the serial communication control, the CPU can carry out the transmission by executing several instructions, and the CPU is kept from being monopolized by the communication control so that the time spent on it can be used for other processing. Moreover, communication data once DMAed, or direct-memory-accessed is processed for transmission by monitoring the flag of the communication circuit regardless of the state of the data bus so that transmission with no intermission between one transmission data and another is achieved. Furthermore, since the period during which DMA for communication monopolizes the data bus can made short, such monopolization seldom interferes with the CPU processing, and as a result, not only the high speed communication but also the high speed processing of the overall system is achieved.
In a more preferred embodiment, the number of times data is read from the memory or the number of times data is provided to the communication circuit is counted by a counting circuit, and the count value is output to the data bus to allow the CPU to read the count value via the data bus.
In another preferred embodiment, when some other device requests for release of the data bus and when the bus release request is made first by the other device, the data bus is freed for the other device and the communication DMA device carries out processing after processing by the other device is complete; and when the bus release request is made first by the communication DMA device and the other device requests for bus release during processing by the communication DMA device, the processing is immediately stopped by the communication DMA device, the data bus is handed over to the other device, and after processing by the other device is complete, the data bus is returned to the communication DMA device and the processing resumes.


REFERENCES:
patent: 5398244 (1995-03-01), Mathews et al.
patent: 5553310 (1996-09-01), Taylor et al.
patent: 5561819 (1996-10-01), Gephardt et al.
patent: 5826106 (1998-10-01), Pang
patent: 0 651 333 (1995-05-01), None
patent: 51-080135 (1976-07-01), None
patent: 61-265653 (1986-11-01), None
patent: 1-76356 (1989-03-01), None
patent: 64-76356 (1989-03-01), None
patent: 1-181145 (1989-07-01), None
patent: 3-228163 (1991-10-01), None
patent: 3-282954 (1991-12-01), None
patent: 7-334451 (1995-12-01), None
Supplementary European Search Report dated Nov. 7, 2001.
Office Action from Japanese Patent Office in Patent Application No. 9-142157 mailed Nov. 5, 2002 and translation.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Communication DMA device for freeing the data bus from the... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Communication DMA device for freeing the data bus from the..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Communication DMA device for freeing the data bus from the... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3120026

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.