摘要
为了实现ARM芯片对FPGA等外部设备的控制,分析了WinCE系统的虚拟内存模型,通过虚拟内存映射,配置芯片寄存器,将地址总线上的外部设备的物理地址映射到CE系统的虚拟地址,然后使用指向虚拟地址的指针读写外部设备的I/O端口,实现了应用软件对外部设备I/O端口的控制。本模块已应用于仪器开发项目中,具有实际的使用价值。
To control the external device like FPGA with ARM, WinCE system memory modal is discussed in this paper. After virtual address mapping, the special register in CPU is configured. Then, the external device's physical address is mapped as part of the virtual memory address. Using pointer, which points to the virtual address, to read and write that address, a solution of how to control the external equipment with ARM is archived. This solution has been successfully used in an instrument research project.
出处
《电子测量技术》
2009年第9期100-102,110,共4页
Electronic Measurement Technology
关键词
地址映射
虚拟内存
端口控制
address mapping
virtual memory
I/O control