1.USB/PCI/LANOC instruction satellite ground detection module, is characterized in that:
Described module is formed by USB/PCI/LAN multibus core board and OC instruction general detection interface floor combination;
Described USB/PCI/LAN multibus core board includes FPGA device, DDRSDRAM device, FLASH device, PCI device, LAN device, USB device, core board power-supplying circuit and core board I/O;
Described OC instruction general detection interface base plate includes 5V and turns 28V circuit, OC instruction issue circuitry and OC command reception circuit;
Described USB/PCI/LAN multibus core board and described OC instruction general detection interface base plate complete structure and electrical connection by 2.0mm spacing double-row needle and 2.0mm spacing double-row hole linker; The OC command logic of described OC instruction general detection interface base plate, by described core board I/O, the PLB bus being articulated in described FPGA Embedded Soft Core Microblaze completes control and data communication;
USB, PCI, LAN tri-kinds of standard industry interfaces are arranged on one piece of core board by described module, utilize the dirigibility of the self-defined IP of FPGA Embedded Soft Core Microblaze complete the integrated of USB, PCI, LAN tri-kinds of standard industry interfaces and control, its idiographic flow is:
Step one: module power up rear first by the procedural copy of FPGA Embedded Soft Core Microblaze in DDRSDRAM, Microblaze jumps to DDRSDRAM Program code section start and starts run time version, Microblaze judges after reading USB status register that USB receives FIFO and whether has number, reads USB receive FIFO if any number by the PLB bus of Microblaze;
Read a byte and judge whether it is OXEB95, read core board I/O status register and USB status register in this way, judge in USB status register, whether USB transmission FIFO is empty, if not empty wait 1ms reads core board I/O status register and USB status register again, as core board I/O status register, USB status register are added 0XEB97 frame head and data length framing write USB transmission FIFO by sky;
Read a byte and judge whether it is OXEB95, if not being that OXEB95 judges whether reading one byte is OXEB90, read core board I/O status register in this way and judge whether OC instruction transmission FIFO is empty, as sky reads USB receiving data frames the 3rd byte, by its value read data frame content, write OC instruction sends FIFO, if not empty wait 1ms reads core board I/O status register again;
OXEB95 reads a byte neither neither just empty USB reception FIFO by OXEB90, data are not had as USB receives in FIFO, just read core board I/O status register, judge whether OC command reception FIFO is empty, if not being whether be sky to the empty USB of reading status register if judging that USB sends FIFO, if not being that the empty 1ms of wait again reads USB status register whether judge that USB sends FIFO be sky, the empty OC of reading command reception FIFO writes in DDRSDRAM in this way, then read core board I/O status register and judge whether OC command reception FIFO is empty, sky will receive OC director data interpolation 0XEB96 frame head and data length framing write USB transmission FIFO in write DDRSDRAM in this way, if not being empty wait for that 1ms again reads core board I/O status register and judges whether OC command reception FIFO is sky, as judged, OC command reception FIFO is empty, just return and enter LANOC instruction flow reading LAN status register,
Step 2: USBOC instruction flow judges that LAN receives FIFO and whether has number, reads LAN receive FIFO if any number by the PLB bus of Microblaze after returning and entering LANOC instruction flow reading LAN status register;
Read a byte and judge whether it is OXEB95, read core board I/O status register and LAN status register in this way, judge in LAN status register, whether LAN transmission FIFO is empty, if not empty wait 1ms reads core board I/O status register and LAN status register again, as core board I/O status register, LAN status register are added 0XEB97 frame head and data length framing write LAN transmission FIFO by sky;
Read a byte and judge whether it is OXEB95, if not being that OXEB95 judges whether reading one byte is OXEB90, read core board I/O status register in this way and judge whether OC instruction transmission FIFO is empty, as sky reads LAN receiving data frames the 3rd byte, by its value read data frame content, write OC instruction sends FIFO, if not empty wait 1ms reads core board I/O status register again;
OXEB95 reads a byte neither neither just empty LAN reception FIFO by OXEB90, data are not had as LAN receives in FIFO, just read core board I/O status register, judge whether OC command reception FIFO is empty, if not being whether be sky to the empty LAN of reading status register if judging that LAN sends FIFO, if not being empty wait for that 1ms again reads LAN status register and judges whether LAN transmission FIFO is sky, the empty OC of reading command reception FIFO writes in DDRSDRAM in this way, then read core board I/O status register and judge whether OC command reception FIFO is empty, sky will receive OC director data interpolation 0XEB96 frame head and data length framing write LAN transmission FIFO in write DDRSDRAM in this way, if not being empty wait for that 1ms again reads core board I/O status register and judges whether OC command reception FIFO is sky, as judged, OC command reception FIFO is empty, just return and enter PCIOC instruction flow chart reading PCI status register,
Step 3: LANOC instruction flow returns to enter after PCIOC instruction flow reads PCI status register and judges that PCI receives FIFO and whether has number, reads PCI receive FIFO if any number by the PLB bus of Microblaze;
Read a byte and judge whether it is OXEB95, read core board I/O status register and PCI status register in this way, judge in PCI status register, whether PCI transmission FIFO is empty, if not empty wait 1ms reads core board I/O status register and PCI status register again, as core board I/O status register, PCI status register are added 0XEB97 frame head and data length framing write PCI transmission FIFO by sky;
Read a byte and judge whether it is OXEB95, if not being that OXEB95 judges whether reading one byte is OXEB90, read core board I/O status register in this way and judge whether OC instruction transmission FIFO is empty, as sky reads PCI receiving data frames the 3rd byte, by its value read data frame content, write OC instruction sends FIFO, if not empty wait 1ms reads core board I/O status register again;
OXEB95 reads a byte neither neither just empty PCI reception FIFO by OXEB90, data are not had as PCI receives in FIFO, just read core board I/O status register, judge whether OC command reception FIFO is empty, if not being whether be sky to the empty PCI of reading status register if judging that PCI sends FIFO, if not being that the empty 1ms of wait again reads PCI status register whether judge that PCI sends FIFO be sky, the empty OC of reading command reception FIFO writes in DDRSDRAM in this way, then read core board I/O status register and judge whether OC command reception FIFO is empty, sky adds 0XEB96 frame head and data length framing write PCI transmission FIFO by receiving OC director data in write DDRSDRAM in this way, if not being empty wait for that 1ms again reads core board I/O status register and judges whether OC command reception FIFO is sky, as judged, OC command reception FIFO is empty, just return and enter USBOC instruction flow reading USB status register, enter flow cycles until module power-down quits work.