vxworks和Linux pci转串口卡调试
来源:互联网 发布:com.tw 域名注册 编辑:程序博客网 时间:2024/06/06 02:22
第一、vxworks下 pci转串口卡调试
1.网上查看是否有显示pci设备的函数,查到pciDeviceShow
2.在vxworks help中输pciDeviceShow,可以看到
pciConfigShow
NAME
pciConfigShow - Show routines of PCI bus(IO mapped) library
ROUTINES
pciDeviceShow( ) - print information about PCI devices
pciHeaderShow( ) - print a header of the specified PCI device
pciFindDeviceShow( ) - find a device by deviceId, then print an information.
pciFindClassShow( ) - find a device by 24-bit class code
pciConfigStatusWordShow( ) - show the decoded value of the status word
pciConfigCmdWordShow( ) - show the decoded value of the command word
pciConfigFuncShow( ) - show configuration details about a function
pciConfigTopoShow( ) - show PCI topology
4.仔细分析发现vxbNs16550Sio.c 文件的pcie卡信息
#define UART_VENDOR_MOSCHP_SIO 0x9710
#define UART_DEVID_MOSCHP_SIO 0x9901
5.修改pcie卡信息为
#define UART_VENDOR_MOSCHP_SIO 0x9710
#define UART_DEVID_MOSCHP_SIO 0x9912
6.运行通过
第二、 Linux 下pci转串口卡调试
lspci
- vxworks和Linux pci转串口卡调试
- Linux下PCI转串口卡驱动安装方法
- Linux下PCI转串口卡及USB转串口器的驱动方法
- VMware虚拟机上linux中pci转串口
- vxworks和linux比较
- VxWorks PCI配置方法
- vxworks pci驱动
- vxworks pci驱动解析
- vxworks pci驱动解析
- VxWorks PCI配置方法
- PCI串口
- vxworks串口的初始化和读写
- vxworks串口的初始化和读写
- S3C2440 VxWorks移植随笔--WDB串口调试小问题
- Linux 使用usb转串口作为调试串口
- PCI转串口驱动程序开发总结
- Ubutu9.10 安装PCI转串口
- PCI-Express卡串口在Linux下新内核识别的问题
- 此程序实现原码的加法运算
- 单片机 模拟SPI程序
- 一种特殊的SPI读写
- 装饰模式
- [《人件》摘录]: 生产力:赢得战役和输掉战争
- vxworks和Linux pci转串口卡调试
- C++虚函数探讨(一)
- VC 使用MSXML创建SVG文档中的新结点时出现xmlns="" 属性解决方法
- javascript里的document.all用法
- 即是水墨青花,何惧刹那芳华
- D3DXMatrixTranslation D3D中的平移函数
- 数据库操作封装
- 对simhash算法的一些思考
- 实验七文件的输入输出