| The embedded controller is the main control computer in the embedded test system,which plays a very important role in control and data transmission.In the face of foreign technology blockade and chip supply interruption,the requirement of equipment localization is increasing,this subject designs a VME bus controller which is based on Rockchip RK3399 processor.Through the in-depth analysis of the requirements and indicators of the VME controller,and the in-depth research on the RK3399 processor,the overall design scheme of the VME controller based on the RK3399 processor is determined.In terms of hardware design,this paper mainly focuses on RK3399 minimum system,FPGA minimum system,controller interface and VME interface circuit.RK3399 minimum system design realized the processor minimum operation unit,FPGA minimum system design realized the FPGA minimum operation unit,the controller interface circuit realized Ethernet,serial port,HDMI,USB and other functional interfaces,VME interface through the design of FPGA logic to achieve.RK3399 uses PCIE bus to read and write the storage space in FPGA device,so as to control VME bus.The software design adopts Linux operating system as the core,providing a good software development environment for VME controller system.This paper analyzes the Boot process of U-boot to complete the transplantation of U-boot,and according to the actual needs of the subject to complete the transplantation and tailoring of Linux operating system.PCIE device driver development follows the general character device driver development principles,from the PCIE device driver framework,PCIE read and write driver and PCIE interrupt driver to carry out the design of three parts.This paper also tests and verifies the controller system.Firstly,the controller debugging and testing scheme is introduced,then debug and test each module,mainly including the debug and test of the minimum processor system,the controller function interface,PCIE interface and VME interface.Among them,the VME bus interface test needs to build a VME test system,through the communication between the VME controller module and other functional modules to test the VME interface of the controller.The final test results show that each hardware interface and each function index of the controller meet the design requirements. |