CN104598410B - A kind of computer card for exempting to write driver and its development approach - Google Patents
A kind of computer card for exempting to write driver and its development approach Download PDFInfo
- Publication number
- CN104598410B CN104598410B CN201310529216.2A CN201310529216A CN104598410B CN 104598410 B CN104598410 B CN 104598410B CN 201310529216 A CN201310529216 A CN 201310529216A CN 104598410 B CN104598410 B CN 104598410B
- Authority
- CN
- China
- Prior art keywords
- module
- data
- write
- usb interface
- functional module
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
- 238000011161 development Methods 0.000 title claims abstract description 25
- 238000013459 approach Methods 0.000 title claims abstract description 17
- 238000004891 communication Methods 0.000 claims abstract description 31
- 230000006870 function Effects 0.000 claims description 36
- 230000009471 action Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 11
- 238000000034 method Methods 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 4
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 102100023727 Mitochondrial antiviral-signaling protein Human genes 0.000 description 1
- 101710142315 Mitochondrial antiviral-signaling protein Proteins 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/409—Mechanical coupling
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Systems (AREA)
Abstract
The invention provides a kind of computer card for exempting to write driver, including:Usb interface module, for being communicated with main frame, the data received from main frame include:Configuration information and parameter to functional module and the communication data with functional module;Memory modules, are divided into two regions, i.e. usb interface module write-in, functional module and read region and functional module write-in, usb interface module reading region, for memory communicating data;Flash memory module, for storing configuration information and parameter;Control module, for controlling the read-write of usb interface module and functional module to flash memory module and the data of memory modules different zones.The invention also discloses a kind of computer card development approach for exempting to write driver.Computer card is modeled to flash disk by the present invention, and the communication of all data is realized by the read-write to flash disk particular sector, accelerates the development rate of computer card, fund and time required for saving driver certification.
Description
Technical field
The present invention relates to a kind of computer card development field, more particularly, to a kind of calculating for exempting to write driver
Machine board and its development approach.
Background technology
Computer card is a kind of printed circuit board (PCB), and lock pin is carried during making, the main circuit board of computer is may be inserted into(It is main
Plate)Slot in, for controlling the operation of hardware, such as the equipment such as network interface card, capture card, install and phase can be achieved after driver
Answer the function of hardware.It is well known that computer card will realize the operating system communication with computer, it is necessary to there is corresponding drive
Dynamic program could be realized, however, the exploitation of driver is related to system bottom, it is a considerably complicated, time-consuming job, and
And, the exploitation of driver also needs to obtain the certification of operating system provider, and this is the wait of a long duration again, is subtracted
The development rate of computer card is delayed, has added the fund required for driver certification, improve cost.
The content of the invention
In view of this, it is a primary object of the present invention to provide a kind of computer card for exempting to write driver and its exploitation
Method, can solve the problem that computer card development rate present in prior art is slow, the problem of driver certification cost is high.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
On the one hand, the invention provides a kind of computer card for exempting to write driver, including usb interface module, function
Module, control module, flash memory module and memory modules, wherein, usb interface module, respectively with main frame, functional module and
Control module is connected, for being communicated with main frame, and the data received from main frame include:To functional module
Configuration information and parameter and the communication data with functional module;Memory modules, are connected with control module, are divided into two regions, i.e.,
Usb interface module write-in, functional module read region and functional module write-in, usb interface module read region, logical for storing
Interrogate data;Flash memory module, is connected with control module, for storing configuration information and parameter;Control module, respectively with USB interface
Module, functional module, flash memory module and memory modules are connected, for controlling usb interface module and functional module to flash memory module
And the read-write of the data of memory modules different zones.
Preferably, control module includes reading data unit, judging unit and write data unit, wherein, reading data unit is used
In when usb interface module receives the data that main frame is sent, the data of usb interface module are read, work as functional module
Data when having renewal, the data of read functions module;Judging unit, for judging from the data of usb interface module reading
Reading and writing type, and judge that it is the configuration information and parameter or and work(to functional module to read data type and write data type
The communication data of energy module;Write data unit, for by the different sectors address of configuration information and parameter read-in flash memory module, inciting somebody to action
The write-in of communication data write-in usb interface module, functional module read region, and functional module is updated the data into write-in functions module
Write-in, usb interface module read region.
Preferably, configuration information, the parameter to functional module that reading data unit is additionally operable to read in flash memory module are concurrent
Functional module is given, usb interface module write-in, functional module is read and reads the communication data in region and be sent to functional module
Updating the data and being sent to USB interface mould for the functional module in region is read with the write-in of read functions module, usb interface module
Block.
Preferably, control module also includes USB FIFO counters and function FIFO counters, wherein, USB FIFO are counted
Device, for being write to usb interface module, functional module read region in data count;Function FIFO counters, are used for
Functional module is write, the data that usb interface module is read in region are counted.
Preferably, control module is additionally operable to the setting to functional module for storing flash memory module by usb interface module
Information and parameter are sent to main frame.
On the other hand, present invention also offers a kind of computer card development approach for exempting to write driver, including:Calculate
Machine host sends the data to control module by usb interface module;Wherein, data include:To the configuration information of functional module
And parameter and the communication data with functional module;Control module control usb interface module and functional module to flash memory module and
The read-write of the data of memory modules different zones;Wherein, flash memory module is used to store configuration information and parameter;Memory modules, point
Region and functional module write-in, usb interface module read-out area are read for two regions, i.e. usb interface module write-in, functional module
Domain, for memory communicating data.
Preferably, control module control usb interface module and functional module are to flash memory module and memory modules not same district
The step of read-write of the data in domain, includes:Reading data unit reads the data that main frame is sent by usb interface module;Sentence
The reading and writing type of disconnected unit judges data, and judge that it is the setting letter to functional module to read data type and write data type
The communication data of breath and parameter still with functional module;When data are to write data type, write data unit by configuration information and
The different sectors address of parameter read-in flash memory module, by the write-in of communication data write-in usb interface module, functional module read-out area
Domain, when data are to read data type, the write-in of reading data unit read functions module, usb interface module read logical in region
News data are sent to usb interface module, and the configuration information and parameter read in flash memory module is sent to usb interface module.
Preferably, control module control usb interface module and functional module are to flash memory module and memory modules not same district
The step of read-write of the data in domain, also includes:When the data of functional module have renewal, reading data unit read functions module
Data;The update the data write-in of write-in functions module, usb interface module of functional module are read region by write data unit;Work as work(
When energy module is idle, reading data unit reads usb interface module write-in, the communication data in functional module reading region and transmission
To functional module.
Preferably, control module also includes USB FIFO counters and function FIFO counters, wherein, USB FIFO are counted
Device, for being write to usb interface module, functional module read region in data count;Function FIFO counters, are used for
Functional module is write, the data that usb interface module is read in region are counted.
Preferably, control module is additionally operable to the setting to functional module for storing flash memory module by usb interface module
Information and parameter are sent to main frame.
The technique effect of the present invention:
Computer card is modeled to flash disk by the present invention, and main frame is communicated with usb interface module, control module
The read-write of usb interface module and functional module to flash memory module and the data of memory modules different zones is controlled, flash disk is in meter
Extra driver is used without again on calculation machine, driver is write so as to avoid, computer card can be accelerated
Development rate, saves human and material resources, save exploitation driver and certification required for fund and the time.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair
Bright schematic description and description is used to explain the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 shows a kind of according to embodiments of the present invention one computer card structural representation for exempting to write driver;
Fig. 2 shows a kind of according to embodiments of the present invention two computer card structural representation for exempting to write driver;
Fig. 3 shows a kind of according to embodiments of the present invention three structural representation for exempting to write the computer card of driver
Figure;
Fig. 4 shows a kind of according to embodiments of the present invention four computer card and computer motherboard for exempting to write driver
Connected mode schematic diagram;
Fig. 5 shows that according to embodiments of the present invention four mainboard PCI or the Reset signals of PCI-E interface are carried out to board
The resetting pin connection diagram for the chip that high level resets during reset;
Fig. 6 shows a kind of according to embodiments of the present invention five computer card and computer motherboard for exempting to write driver
Connected mode schematic diagram;
Fig. 7 shows a kind of according to embodiments of the present invention six computer card and computer motherboard for exempting to write driver
Connected mode schematic diagram;
Fig. 8 shows a kind of according to embodiments of the present invention seven computer card and computer motherboard for exempting to write driver
Connected mode schematic diagram;
Fig. 9 shows a kind of according to embodiments of the present invention eight computer card and computer motherboard for exempting to write driver
Connected mode schematic diagram;
Figure 10 shows that according to embodiments of the present invention nine a kind of exempts to write the computer card development approach of driver
Flow chart;
Figure 11 shows that according to embodiments of the present invention ten a kind of exempts to write the computer card development approach of driver
Specific process chart;
Figure 12 shows a kind of according to embodiments of the present invention 11 computer card development approach for exempting to write driver
Computer terminal the specific process chart of application program.
Embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, the present invention is described in detail.
Embodiment one
Fig. 1 shows a kind of according to embodiments of the present invention one computer card structural representation for exempting to write driver;
As shown in figure 1, the computer card includes:Usb interface module 10, functional module 20, control module 30, flash memory module 40 and interior
Storing module 50, wherein,
Usb interface module 10, is connected with main frame, functional module 20 and control module 30 respectively, for calculating
Machine host is communicated, and the data received from main frame include:To the configuration information and parameter and and work(of functional module 20
Can module 20 communication data, wherein, functional module 20 realizes the function the need for computer card, such as, video, audio or
Other data acquisitions, A/D, D/A conversion, data processing, communication etc.;
Memory modules 50, are connected with control module 30, are divided into two regions, i.e. usb interface module write-in, functional module and read
Go out region 502 and functional module write-in, usb interface module read region 504, for memory communicating data;Memory modules 50 were both
Can be the region divided in imperial palace deposits single-chip microcomputer storage inside, or the memory bar or an internal memory extended out
Chip.
Flash memory module 40, is connected with control module 30, for storing configuration information and parameter, is all pressed during each system reboot
The parameter stored according to flash memory module 40 is initialized to system;
Control module 30, is connected with usb interface module 10, functional module 20, flash memory module 40 and memory modules 50 respectively,
For controlling the reading of usb interface module 10 and functional module 20 to flash memory module 40 and the data of the different zones of memory modules 50
Write.
Computer card is modeled to flash disk by embodiments of the invention, and main frame is communicated with usb interface module,
Control module controls the read-write of usb interface module and functional module to flash memory module and the data of memory modules different zones,
Flash disk is used without again extra driver on computers, and driver is write so as to avoid, and can accelerate to calculate
The development rate of machine board, saves human and material resources, save exploitation driver and certification required for fund and the time.
Embodiment two
Fig. 2 shows a kind of according to embodiments of the present invention two computer card structural representation for exempting to write driver;
As shown in Fig. 2 control module 30 includes reading data unit 302, judging unit 304 and write data unit 306, wherein,
Reading data unit 302, for when usb interface module 10 receives the data that main frame is sent, reading USB
The data of interface module 10, when the data of functional module 20 have renewal, the data of read functions module 20;
Judging unit 304, for the reading and writing type for the data for judging to read from usb interface module 10, and judges reading
According to type and to write data type be the communication data to the configuration information and parameter of functional module 20 or with functional module 20;
Write data unit 306, for by the different sectors address of configuration information and parameter read-in flash memory module 40, will communicate
The write-in of data write-in usb interface module, functional module read region 502, and functional module 20 is updated the data into write-in functions mould
Block write-in, usb interface module read region 504.
Configuration information, the parameter to functional module 20 that reading data unit 302 is additionally operable to read in flash memory module 40 are concurrent
Functional module 20 is given, usb interface module write-in, functional module is read and reads the communication data in region 502 and be sent to work(
It is concurrent that energy module 20 and the write-in of read functions module, usb interface module read updating the data for the functional module 20 in region 504
Give usb interface module 10.
Embodiment three
Fig. 3 shows a kind of according to embodiments of the present invention three structural representation for exempting to write the computer card of driver
Figure;As shown in figure 3, control module 30 also includes USB FIFO(FIFO)Counter 308 and function FIFO counters 310,
Wherein,
USB FIFO counters 308, for being write to usb interface module, functional module read region 502 in data enter
Row is counted;
Function FIFO counters 310, for being write to functional module, usb interface module read region 504 in data enter
Row is counted.
Control module 30 is additionally operable to the setting to functional module 20 for storing flash memory module 40 by usb interface module 10
Information and parameter are sent to main frame, be conducive to main frame real-time query flash memory module 40 store to functional module
20 configuration information and parameter.
Example IV
Fig. 4 shows a kind of according to embodiments of the present invention four computer card and computer motherboard for exempting to write driver
Connected mode schematic diagram;As shown in figure 4, the board for needing to be inserted in computer-internal, can use PCI(Peripheral
Component Interconnect, peripheral component interconnection)Or PCI-E(PCI express, quick peripheral component interconnection)Turn
USB interface control chip.It is connected, is connect with the USB of USB interface and computer card with computer motherboard with PCI or PCI-E interface
Mouth mold block 10 is connected.The manufacturer of these interface control chips provides corresponding driver for chip, without being again
It writes driver.Board can also be answered using the Reset signals of mainboard PCI or PCI-E interface using the method
Bit manipulation.Only need to mainboard PCI or PCI-E interface Reset being signally attached to the chip used resetting pin of each module of system
It can just realize.
Turn USB interface chip on PCI or PCI-E, the interface chip that current PCI turns USB only supports USB2.0, for only
The mainboard for having pci interface can select such chip.
If mainboard has PCI-E interface, turn USB interface chip from PCI-E as far as possible.Such chip can be supported
USB3.0, high speed USB 2.0, full speed USB2.0.5Gbps high speeds, 480Mbps middling speeds and 12Mbps low speed transmissions can be met
It is required that.When actual use suitable transmission means can be selected as needed on the premise of surplus is left.
, can be in advance in board system to avoid the problem of operating system detects prompting after flash disk " needing initialization "
A flash disk image file is set up, flash disk is initialized with this image file when board starts, can so avoid system from occurring
The prompting of " needing initialization ";Some specific files or data can also be added in flash disk image file, so as to system energy
Accurately recognize the read-write region of board.
PCI or the Reset signals of PCI-E interface are all that low level is effective, if with needing the reset level of reset chip
It is inconsistent, it can be realized using the connected mode of triode paraphase.As shown in figure 5, the resetting pin of the chip resetted for high level
Connected mode.
During normal work, mainboard Reset signals are high level, and now electric current is input to triode Q1 base through resistance R1
Pole, triode Q1 colelctor electrode and emitter stage are turned on, current collection extremely low level, chip normal work.
During system reset, mainboard Reset signals are low level, and triode Q1 base stage is low level, and triode Q1 ends,
It is presented high resistant between colelctor electrode and emitter stage, colelctor electrode is drawn high as high level by resistance R2, chip enters reset state.
After system completes to reset, mainboard Reset signals are changed into high level again, and now electric current is input to three through resistance R1
Pole pipe Q1 base stage, triode Q1 colelctor electrode and emitter stage are turned on, current collection extremely low level, chip normal work.
Resistance R1 resistance is 1K, and resistance R2 resistance is 10K.
Using PCI or PCI-E interface, other lines can be removed from, make system more stable, reliable.
Embodiment five
Fig. 6 shows a kind of according to embodiments of the present invention five computer card and computer motherboard for exempting to write driver
Connected mode schematic diagram;As shown in fig. 6, turning to realize by the way of USB chip+USB IP kernels+FPGA using PCI-E.
Embodiment six
Fig. 7 shows a kind of according to embodiments of the present invention six computer card and computer motherboard for exempting to write driver
Connected mode schematic diagram;As shown in fig. 7, turning to realize by the way of USB chips+USB interface chip+ARM using PCI-E.
Embodiment seven
Fig. 8 shows a kind of according to embodiments of the present invention seven computer card and computer motherboard for exempting to write driver
Connected mode schematic diagram;As shown in figure 8, many ARM chips have USB interface in itself now, if can from such ARM chip
To save USB interface chip;Directly turn USB chips with PCI-E with ARM USB interface to be connected, realize the transmission of data.
Embodiment eight
Fig. 9 shows a kind of according to embodiments of the present invention eight computer card and computer motherboard for exempting to write driver
Connected mode schematic diagram;As shown in figure 9, being less than 5kbps system for some transmitted data amounts, USB can be turned using PCI-E
Chip+USB turns serial port chip+ARM or the mode of other single-chip microcomputers is realized.Using which, without simulating flash disk, as long as from string
Mouth read-write data are that the transmission of data can be achieved.
Embodiment nine
Figure 10 shows that according to embodiments of the present invention nine a kind of exempts to write the computer card development approach of driver
Flow chart;As shown in Figure 10, this method comprises the following steps:
Step S1001, main frame sends the data to control module by usb interface module;Wherein, packet
Include:Configuration information and parameter to functional module and the communication data with functional module;
Step S1002, control module control usb interface module is different to flash memory module and memory modules with functional module
The read-write of the data in region;
Wherein, flash memory module is used to store configuration information and parameter;Memory modules, are divided into two regions, i.e. USB interface mould
Block write-in, functional module read region and functional module write-in, usb interface module read region, for memory communicating data.
Wherein, control module control usb interface module and functional module are to flash memory module and memory modules different zones
Data read-write the step of include:
Step S1002-1, reading data unit reads the data that main frame is sent by usb interface module;
Step S1002-2, judging unit judges the reading and writing type of data, and judges to read data type and write data class
Type is the communication data to the configuration information and parameter of functional module or with functional module;
Step S1002-3, when data are to write data type, write data unit is by configuration information and parameter read-in flash memory mould
The different sectors address of block, reads region, when data are readings by the write-in of communication data write-in usb interface module, functional module
During according to type, the communication data that the write-in of reading data unit read functions module, usb interface module are read in region is sent to USB
Interface module, the configuration information and parameter read in flash memory module is sent to usb interface module;
Control module controls usb interface module and functional module to flash memory module and the data of memory modules different zones
Read-write the step of also include:
Step S1002-1 ', when the data of functional module have renewal, the data of reading data unit read functions module;
Step S1002-2 ', write data unit updates the data the write-in of write-in functions module, USB interface mould by functional module
Block reads region;When functional module is idle, reading data unit reads usb interface module write-in, functional module and read in region
Communication data and be sent to functional module.
Control module also includes USB FIFO counters and function FIFO counters, wherein,
USB FIFO counters, by being write to usb interface module, functional module read region in data carry out based on
Number;
Function FIFO counters, by being write to functional module, usb interface module read region in data carry out based on
Number.
Control module is additionally operable to the configuration information and ginseng to functional module for storing flash memory module by usb interface module
Number is sent to main frame.
Computer card is modeled to flash disk by embodiments of the invention, and main frame is communicated with usb interface module,
Control module controls the read-write of usb interface module and functional module to flash memory module and the data of memory modules different zones,
Flash disk is used without again extra driver on computers, and driver is write so as to avoid, and can accelerate to calculate
The development rate of machine board, saves human and material resources, save exploitation driver and certification required for fund and the time.
Embodiment ten
Figure 11 shows that according to embodiments of the present invention ten a kind of exempts to write the computer card development approach of driver
Specific process chart;As shown in figure 11, comprise the following steps:
Step S1101, when system starts, reading data unit reads the configuration information and parameter in flash memory module, to system
All modules carry out Initialize installation;
Whether step S1102, usb interface module receives the data of main frameIf so, step S1103 is performed, if
It is no, perform step S1107;
Step S1103, reading data unit reads the data of usb interface module;
Step S1104, judging unit judges the reading and writing type of data, if reading data type, performs step S1105, if
It is to write data type, performs step S1106;
Step S1105, judging unit judges to read data type, if communication data, when function FIFO counter values are big
When 0, read region reading data from functional module write-in, usb interface module and be sent to usb interface module, function FIFO meters
The numerical value of number device subtracts 1, return to step S1102, when function FIFO counter values are less than 0, sends the number with empty Data Labels
Usb interface module, return to step S1102 are arrived according to bag;If configuration information and parameter, reading data unit are read from flash memory module
Configuration information and parameter are sent to usb interface module, return to step S1102;
Step S1106, judging unit judges to write data type, if communication data, write data unit writes data into USB
Interface module write-in, functional module read region, and USBFIFO counter values add 1, if configuration information and parameter, write data
Unit by parameter read-in flash memory module and carries out Initialize installation, return to step S1102 according to parameter to system;
Step S1107, the status data of query function module, if data have renewal, performs step S1108, if idle
State, performs step S1110, if busy, return to step S1102;
Step S1108, the data of reading data unit read functions module;
Step S1109, write data unit writes data into functional module write-in, usb interface module and reads region, function
FIFO counter values add 1, return to step S1102;
Step S1110, USB FIFO counter values are more than 0If so, step S1111 is performed, if it is not, return to step
S1102;
Step S1111, reading data unit writes from usb interface module, functional module reads region and reads data, is sent to
Functional module, USB FIFO counter values subtract 1, return to step S1102.
Embodiment 11
Figure 12 shows a kind of according to embodiments of the present invention 11 computer card development approach for exempting to write driver
Computer terminal the specific process chart of application program;As shown in figure 12, comprise the following steps:
Because this method is that computer card is modeled into flash disk with computer application program to carry out data transmission, own
Data transfer be required for by computer terminal application program initiation.I.e.:Data are sent to computer card to be changed to flash disk
The sector write-in data of " usb interface module write-in, functional module read region ";When reading the data of computer card, read
Take the sector data of flash disk " functional module write-in, usb interface module read region ".If necessary to set the shape of computer card
State and parameter, it is only necessary to write configuration information and parameter to the respective sectors of flash disk flash memory module.
Step S1201, it is application software initiated after, if need to read computer card dataIf so, performing step
S1202, if it is not, performing step S1204;
Step S1202, the write-in of read functions module, usb interface module read the sector in region, if the sector read is carried
Empty Data Labels, that is, remove the data, without any processing, if the sector read does not have band to be free Data Labels, performs step
S1203;
Data are passed to processing function and handled by step S1203;
Step S1204, if need to transmit data to computer cardIf so, step S1205 is performed, if it is not, performing step
Rapid S1206;
Step S1205, writes data into the sector that usb interface module write-in, functional module read region;
Step S1206, if need to set computer card state and parameterIf so, performing step S1207;If it is not, will
Directly return and proceed by next round circulation;
Step S1207, writes data into flash memory module respective sectors, and return proceeds by next round circulation.
As can be seen from the above description, the above embodiments of the present invention realize following technique effect:The present invention's
Computer card is modeled to flash disk by embodiment, and main frame is communicated with usb interface module, control module control USB
The read-write of interface module and functional module to flash memory module and the data of memory modules different zones, flash disk makes on computers
With need not extra driver again, write driver so as to avoid, the development rate of computer card can be accelerated,
Save human and material resources, save exploitation driver and certification required for fund and the time.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general
Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and constituted
Network on, alternatively, the program code that they can be can perform with computing device be realized, it is thus possible to they are stored
Performed in the storage device by computing device, either they are fabricated to respectively each integrated circuit modules or by they
In multiple modules or step single integrated circuit module is fabricated to realize.So, the present invention is not restricted to any specific
Hardware and software is combined.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.
Claims (10)
1. a kind of computer card for exempting to write driver, it is characterised in that including usb interface module, functional module, control mould
Block, flash memory module and memory modules, wherein,
The usb interface module, is connected with main frame, the functional module and the control module respectively, for institute
State main frame to be communicated, the data received from the main frame include:To the configuration information of the functional module
And parameter and the communication data with the functional module;
The memory modules, are connected with the control module, are divided into two regions, i.e. usb interface module write-in, functional module and read
Go out region and functional module write-in, usb interface module read region, for storing the communication data;
The flash memory module, is connected with the control module, for storing the configuration information and parameter;
The control module, respectively with the usb interface module, the functional module, the flash memory module and the internal memory mould
Block is connected, for control the usb interface module and the functional module to the flash memory module and the memory modules not
With the read-write of the data in region.
2. a kind of computer card for exempting to write driver according to claim 1, it is characterised in that the control module
Including reading data unit, judging unit and write data unit, wherein,
The reading data unit, for when the usb interface module receives the data that the main frame is sent, reading
The data of the usb interface module, when the data of the functional module have renewal, read the data of the functional module;
The judging unit, for the reading and writing type for the data for judging to read from the usb interface module, and judges described
Reading data type and writing data type is led to the configuration information and parameter of the functional module or with the functional module
Interrogate data;
Write data unit, for by the different sectors address of flash memory module described in the configuration information and parameter read-in, inciting somebody to action
The communication data writes the usb interface module write-in, functional module and reads region, by updating the data for the functional module
Write the functional module write-in, usb interface module and read region.
3. a kind of computer card for exempting to write driver according to claim 2, it is characterised in that the reading data sheet
Member be additionally operable to read in the flash memory module to the configuration information of the functional module, parameter and be sent to the function mould
Block, read usb interface module write-in, functional module read the communication data in region and be sent to the functional module and
Read functional module write-in, usb interface module and read updating the data and being sent to institute for the functional module in region
State usb interface module.
4. a kind of computer card for exempting to write driver according to Claims 2 or 3, it is characterised in that the control
Module also includes USB FIFO counters and function FIFO counters, wherein,
The USB FIFO counters, are carried out for reading the data in region to usb interface module write-in, functional module
Count;
The function FIFO counters, are carried out for reading the data in region to functional module write-in, usb interface module
Count.
5. a kind of computer card for exempting to write driver according to claim 1, it is characterised in that the control module
It is additionally operable to send out the configuration information and parameter to the functional module that the flash memory module is stored by the usb interface module
Give the main frame.
6. a kind of computer card development approach for exempting to write driver, it is characterised in that the computer card connects including USB
Mouth mold block, functional module, control module, flash memory module and memory modules, the computer card development approach include:
Main frame sends the data to control module by usb interface module;
Wherein, the data include:Configuration information and parameter to functional module and the communication data with the functional module;
The control module controls the usb interface module and the functional module to flash memory module and memory modules not same district
The read-write of the data in domain;
Wherein, the flash memory module is used to store the configuration information and parameter;
The memory modules, are divided into two regions, i.e. usb interface module write-in, functional module reads region and functional module is write
Enter, usb interface module reads region, for storing the communication data.
7. a kind of computer card development approach for exempting to write driver according to claim 6, it is characterised in that described
Control module controls the usb interface module and the functional module to flash memory module and the data of memory modules different zones
Read-write the step of include:
Reading data unit reads the data that the main frame is sent by the usb interface module;
Judging unit judges the reading and writing type of the data, and it is to institute to judge the reading data type and write data type
State the communication data of the configuration information and parameter of functional module still with the functional module;
When the data are to write data type, write data unit is by flash memory module described in the configuration information and parameter read-in
Different sectors address, writes the usb interface module write-in, functional module by the communication data and reads region, when the number
During according to being reading data type, the reading data unit reads the functional module write-in, usb interface module and reads leading in region
News data are sent to the usb interface module, and the configuration information and parameter read in the flash memory module is sent to the USB and connect
Mouth mold block.
8. a kind of computer card development approach for exempting to write driver according to claim 7, it is characterised in that described
Control module controls the usb interface module and the functional module to flash memory module and the data of memory modules different zones
Read-write the step of also include:
When the data of the functional module have renewal, the reading data unit reads the data of the functional module;
Write data unit reads update the data the write-in functional module write-in, usb interface module of the functional module
Go out region;
When the functional module is idle, the reading data unit reads the usb interface module write-in, functional module read-out area
Communication data in domain is simultaneously sent to the functional module.
9. a kind of computer card development approach for exempting to write driver according to claim 7 or 8, it is characterised in that
The control module also includes USB FIFO counters and function FIFO counters, wherein,
The USB FIFO counters, are carried out for reading the data in region to usb interface module write-in, functional module
Count;
The function FIFO counters, are carried out for reading the data in region to functional module write-in, usb interface module
Count.
10. a kind of computer card development approach for exempting to write driver according to claim 6, it is characterised in that institute
Control module is stated to be additionally operable to believe the setting to the functional module that the flash memory module is stored by the usb interface module
Breath and parameter are sent to the main frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310529216.2A CN104598410B (en) | 2013-10-31 | 2013-10-31 | A kind of computer card for exempting to write driver and its development approach |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310529216.2A CN104598410B (en) | 2013-10-31 | 2013-10-31 | A kind of computer card for exempting to write driver and its development approach |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104598410A CN104598410A (en) | 2015-05-06 |
CN104598410B true CN104598410B (en) | 2017-07-25 |
Family
ID=53124215
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310529216.2A Expired - Fee Related CN104598410B (en) | 2013-10-31 | 2013-10-31 | A kind of computer card for exempting to write driver and its development approach |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104598410B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106845130A (en) * | 2017-02-13 | 2017-06-13 | 深圳市笨笨机器人有限公司 | A kind of depth map framework |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN200972650Y (en) * | 2006-08-21 | 2007-11-07 | 上海奥索汉泰电子科技有限公司 | Main control plate based on PPC microprocessor and system using the main control plate |
JP3141451U (en) * | 2008-01-18 | 2008-05-08 | 龍駿國際科技股▲分▼有限公司 | Solid state disk unit |
US8069257B1 (en) * | 2006-05-15 | 2011-11-29 | American Megatrends, Inc. | Universal serial bus system interface for intelligent platform management interface communications |
CN102708218A (en) * | 2012-04-10 | 2012-10-03 | 广州致远电子股份有限公司 | USB (universal serial bus) compound device integrated with U (USB) disc and data acquisition module |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080288709A1 (en) * | 2007-05-15 | 2008-11-20 | Imagestream Internet Solutions | Wide area network connection platform |
-
2013
- 2013-10-31 CN CN201310529216.2A patent/CN104598410B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8069257B1 (en) * | 2006-05-15 | 2011-11-29 | American Megatrends, Inc. | Universal serial bus system interface for intelligent platform management interface communications |
CN200972650Y (en) * | 2006-08-21 | 2007-11-07 | 上海奥索汉泰电子科技有限公司 | Main control plate based on PPC microprocessor and system using the main control plate |
JP3141451U (en) * | 2008-01-18 | 2008-05-08 | 龍駿國際科技股▲分▼有限公司 | Solid state disk unit |
CN102708218A (en) * | 2012-04-10 | 2012-10-03 | 广州致远电子股份有限公司 | USB (universal serial bus) compound device integrated with U (USB) disc and data acquisition module |
Also Published As
Publication number | Publication date |
---|---|
CN104598410A (en) | 2015-05-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1764703B1 (en) | A system for providing access to multiple data buffers of a data retaining and processing device | |
CN1595381B (en) | Bridge controllers, bridge and method for operating the bridge | |
CN100492334C (en) | String peripheral interface device | |
CN103366794B (en) | For reducing the device and method of pin count rambus interface | |
CN103092810B (en) | Processor, the method to processor programming and electronic equipment | |
CN106815157A (en) | A kind of data acquisition module and data collecting system | |
CN101814058A (en) | Commonly-used storing device | |
KR20140036094A (en) | Host for controlling non-volatile memory crad, system including the same and operating method there-of | |
CN113872796B (en) | Server and node equipment information acquisition method, device, equipment and medium thereof | |
CN105335548B (en) | A kind of MCU emulation mode for ICE | |
CN107678988A (en) | A kind of multifunctional serial port device and implementation method | |
CN102073611B (en) | I2C bus control system and method | |
CN102063939B (en) | Method and device for implementing electrically erasable programmable read-only memory | |
CN101436171A (en) | Modular communication control system | |
CN110795369B (en) | Method and terminal for realizing MDIO slave function based on GPIO pin | |
CN100432970C (en) | Streamlining ATA device initialization | |
CN104571942B (en) | Data-storage system and non-signal analysis method | |
CN113485672B (en) | Information generation method, device, equipment and medium based on FIFO memory | |
CN104598410B (en) | A kind of computer card for exempting to write driver and its development approach | |
CN100533424C (en) | Single line transmission interface and single byte operational keyboard display module | |
CN102567270A (en) | USB (universal serial bus)-to-I2C (inter-integrated circuit) adapter | |
CN101998135A (en) | System for collecting and playing mobile television signal and control method | |
CN105893036A (en) | Compatible accelerator extension method for embedded system | |
CN112732176B (en) | SSD (solid State disk) access method and device based on FPGA (field programmable Gate array), storage system and storage medium | |
CN107704417A (en) | The method and its communication system to be communicated with equipment under test |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170725 |