Ситуация такая : все время работал с микроконтроллерами SiliconLaboratories, которые оставили хорошее впечатление, и тут пришлось использовать микроконтроллеры Microchip. Необходимо передавать данные по USB к ПК и обратно. SiliconLaboratories для работы с USB предоставляет специальный драйвер, и две библиотеки - одна для самого микроконтроллера , другая для ПК (USBXpress) - в которых содержаться функции для работы(передать , отправить данные в USB, прерывания , ....) с помощью которых можно даже не разбираться с процессом передачи - написал что отправлять , количество байт для отправки и все. Существует ли что-нибудь подобное для микроконтроллеров Microchip ??? На их сайте я даже драйвера не нашел, неужели надо все делать вручную самому?????????
Communication Device Class (CDC) firmware http://www.microchip.com/stellent/idcplg?I...¶m=en022625 The Communication Device Class firmware is the most direct way or migrating a serial port (legacy) application to USB. In fact this firmware provides direct emulation of a serial port on PC running Windows 2K and Windows XP. As the PIC18F4550 is attached to the PC, a virtual COMx port is created. All PC software using a COM1-4 port will work without modifications with the virtual COM port if only at a much higher speed (approx 1Mbit/s)
Microchip Custom Driver http://www.microchip.com/stellent/idcplg?I...¶m=en022629 Microchip Custom Driver is the ultimate solution for the more advance users. It allows full flexibility and configurability to allow the use of all data transfer modes (control, interrupt, bulk, isochronous) defined in the USB 2.0 specs and provides the highest bandwidth. It requires a deeper understanding of the internal workings of the bus as well as the development of custom interfaces (Windows code development) on the PC.
Full Speed USB Solutions http://www.microchip.com/stellent/idcplg?I...¶m=en022625 The Communication Device Class firmware is the most direct way or migrating a serial port (legacy) application to USB. In fact this firmware provides direct emulation of a serial port on PC running Windows 2K and Windows XP. As the PIC18F4550 is attached to the PC, a virtual COMx port is created. All PC software using a COM1-4 port will work without modifications with the virtual COM port if only at a much higher speed (approx 1Mbit/s)