The invention relates to a host controller drive implementation method of high-capacity storage equipment in a VxWorks
system, and belongs to the technical field of embedded communication. The methodcomprises the following steps: firstly, replacing a PCI (
Peripheral Component Interconnect)
configuration space by utilizing a BSP (
Basic Service Provider) under a VxWorks
system, and
cutting off a related function for calling a PCI
bus in the
system to realize direct access to a host controller; Secondly, mapping the CPU address into a PCI address, obtaining a register
base address for initializing a host controller by utilizing a
conversion function from a
physical address to a virtual address, and modifying an interrupt function of the host controller; And finally, different types of HCDs are hung on the USBD by utilizing host controller port routing
control logic, so that the support for three transmission rates, namely
low speed, full speed and high speed, is realized. According to the method, the problem that the
transmission rate of the PCI-based host controller is low can be solved, meanwhile, a good solution is provided for achieving drive development of the non-PCI host controller under VxWorks, and the read-write speed of the high-capacity storage device is increased.