tailieunhanh - The UART project
The UART project aims learning the hardware device’s capabilities, deciding which driver-methods to implement, accommodating your platform’s interfaces, Exploiting the OS kernel’s support-functions, Devising a strategy for testing and debugging. | The UART project Applying what we’ve learned about Linux device-drivers to the PC’s serial-port controller Project’s purpose • Allow you to gain experience encountering the kinds of issues that commonly arise in crafting software to operate real hardware: – Learning the hardware device’s capabilities – Deciding which driver-methods to implement – Accommodating your platform’s interfaces – Exploiting the OS kernel’s support-functions – Devising a strategy for testing and debugging Universal Asynchronous Receiver-Transmitter (UART) See our CS635 course website at: for links to the UART manufacturer’s documentation and to an in-depth online programming tutorial Tx and Rx • The UART has a transmission-engine, and also a reception-engine, which are able to operate simultaneously (., “full-duplex”) • Software controls the UART’s operations by accessing several registers, using the x86 processor’s ‘in’ and ‘out’ instructions • Linux provides some convenient ‘macros’ that ‘hide’ the x86 machine-code details PC-to-PC communications student workstation KVM cable rackmount PC system student workstation KVM cable ‘null-modem’ serial cable rackmount PC system ethernet .
đang nạp các trang xem trước