전체 글
-
윈도우즈 디바이스 드라이버 개발 방법프로그래밍 언어/WinApi 2014. 12. 18. 21:52
윈도우즈 디바이스 드라이버 개발 방법 디바이스 드라이버 개발을 처음 시작하시는 분들이 가장 많이 하시는 질문은 “ 디바이스 드라이버를 개발하려면 무엇을 어떻게 공부해야 하나요 ? ” 라는 것이다 . 일반 애플리케이션 프로그램 개발을 시작하는 경우에는 자료도 많고 , 주변에 개발자들도 많아서 공부 방법이나 자료들을 쉽게 접할 수 있는데 , 디바이스 드라이버 분야는 개발자들이 많은 분야도 아니고 , 자료도 쉽게 찾을 수도 없다 보니 입문자들에게는 어디서부터 어떻게 시작해야 할지 막막해 한다 . 간혹, 디바이스 드라이버에 열정이 있으신 분들중에는 홀로 무수한 나날을 디버깅과 테스트를 통해 개발의 고수가 되는 경우도 있다. 하지만 , 일반 개발자들은 아직도 디바이스 드라이버 개발을 위해 어떻게 준비를 해야 할지..
-
USB Descriptor 정의Embedded/USB 2014. 12. 17. 19:30
I. USB Descriptor 정의 v DEVICE DESCRIPTOR 정의 및 종류 1. USB Descriptor 정의 * USB는 대표적인 PnP (Plug & Play)를 지원하는 인터페이스 => 디바이스에 대한 정보 및 설정 사항을 알기 위해 Descriptor를 읽어 와야 함 => Host가 Device에게 Device에 대한 정보를 요구하고, Device가 자신의 정보를 전달 이 때 사용하는 정보 의미 * 연결된 디바이스의 종류를 알게 되고, 디바이스의 특성에 맞게 데이터 전송 양을 조절 할 수 있음 * USB Enumeration (열거) 과정에서 중요하게 사용 2. USB Descriptor 종류 (1) Device Descriptor : 디바이스에 대한 일반정보, 단 하나의 descr..
-
USB Descriptor 종류Embedded/USB 2014. 12. 11. 21:12
USB Descriptors All USB devices have a hierarchy of descriptors which describe to the host information such as what the device is, who makes it, what version of USB it supports, how many ways it can be configured, the number of endpoints and their types etc The more common USB descriptors are Device Descriptors Configuration Descriptors Interface Descriptors Endpoint Descriptors String Descripto..
-
다양한 시리얼 통신Embedded/USB 2014. 12. 11. 17:08
UART 가장 대중적으로 사용되는 시리얼 통신은 UART device를 사용하는 것으로 보통 RS-232C transceiver와 함께 쓰인다. 하지만 RS-422이나 LIN등 다른 IF도 많이 사용된다. UART는 RX/TX 라인이 별도로 존재하고(full duplex) 별도의 clock라인은 사용하지 않는다. 따라서 양측이 서로 Baud rate를 맞추어야 통신이 가능하다. 즉 Asyn.통신이라는 말씀. 따라서 UART와 함께 사용되는 RS-232C도 동일한 특성을 가진다. 하지만 LIN transceiver를 사용할 경우에는 RX/TX선을 따로 가지는 대신 1개의 선만 사용하므로 full duplex가 아닌 half duplex로 동작하게된다. 또한 RS-232C는 1:1통신용으로만 사용되지만, 다..
-
USB Class codeEmbedded/USB 2014. 12. 11. 15:11
USB Class Codes August 11, 2014 USB defines class code information that is used to identify a device’s functionality and to nominally load a device driver based on that functionality. The information is contained in three bytes with the names Base Class, SubClass, and Protocol. (Note that ‘Base Class’ is used in this description to identify the first byte of the Class Code triple. That terminolo..
-
-
List of USB ID's - Linux USBEmbedded/USB 2014. 12. 6. 12:43
--------------------------USB의 VID, PID list--------------------------http://www.linux-usb.org/usb.ids 에서 퍼옴# #List of USB ID's # #Maintained by Stephen J. Gowdy #If you have any new entries, please submit them via #http://www.linux-usb.org/usb-ids.html #or send entries as patches (diff -u old new) in the #body of your email (a bot will attempt to deal with it). #The latest version can be obtain..