USBCDC()

所属分类:处理器开发
开发工具:C/C++
文件大小:381KB
下载次数:54
上传日期:2013-09-01 18:36:48
上 传 者教主
说明:  路虎开发板LPC1768官方一个USB虚拟串口例程,适合开发USB转串口线等应用
(Land Rover LPC1768 development board official a USB virtual serial port routines, suitable for developing applications such as USB to serial cable)

文件列表:
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\cdc.h (11991, 2009-07-28)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\cdcuser.c (13937, 2009-07-29)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\cdcuser.h (2681, 2009-07-29)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\common\inc\core_cm3.h (46533, 2009-06-22)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\common\inc\LPC17xx.h (34929, 2009-12-17)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\common\inc\system_LPC17xx.h (1601, 2009-08-12)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\common\inc\type.h (775, 2009-06-11)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\common\src\core_cm3.c (17206, 2009-05-22)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\common\src\startup_LPC17xx.s (10863, 2009-11-24)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\common\src\system_LPC17xx.c (21674, 2010-01-07)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\FLASH.ini (996, 2009-07-28)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\JLink Regs CM3.txt (497, 2010-12-08)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\JLinkLog.txt (55464, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\JLinkSettings.ini (285, 2010-12-08)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\lpc17xx-vcom.inf (1476, 2009-08-12)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Lst\startup_LPC17xx.lst (34204, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Lst\USBCDC.map (36292, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\cdcuser.crf (25368, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\cdcuser.d (298, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\cdcuser.o (35860, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\core_cm3.crf (3532, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\core_cm3.d (90, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\core_cm3.o (10112, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\serial.crf (48606, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\serial.d (272, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\serial.o (44284, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\startup_LPC17xx.o (5280, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\system_lpc17xx.crf (45842, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\system_lpc17xx.d (268, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\system_lpc17xx.o (36564, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\USBCDC.axf (90684, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\USBCDC.hex (21185, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\USBCDC.htm (50352, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\USBCDC.lnp (463, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\USBCDC.plg (269, 2012-06-28)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\USBCDC.sct (554, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\USBCDC.tra (1554, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\usbcore.crf (29666, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\usbcore.d (327, 2012-06-14)
【实验16】USBCDC()(2012.4.13)\【实验16】USBCDC\Obj\usbcore.o (50364, 2012-06-14)
... ...

The Virtual COM port project is a demo program for using the NXP LPC17xx Microcontroller. It demonstrates an USB Virtual COM port based on a Windows USB host driver (usbser.sys). The PC will install a virtual COM port on the PC (see Driver Installation). After installation an additional port "LPC17xx USB VCom Port(COMx)" can be found under System/Hardware/Device Manager/Ports(COM&LPT). Number "x" is not fixed as different PC configuration may have different "x" displayed on the device manager. The USB host driver assigns "x" dynamically based on the existing COM port configuration of the system. Testing the USB Virtual COM port with serial cable: Open two Hyperterminal windows. One with "LPC17xx USB VCom Port(COMx)" One with "Communications Port (COM1)". Connect PC port COM1 to the comport on the board and open "COM1" and "COMx". Data from COM1 will be echoed on "COMx" and visa versa. So, this is bi-directional communication between the physical COM port 0 or 1 on the board and the virtual COM port COMx on host PC. By default, COM PORT1 on the board is used for VirtualCOM port test. In order to use COM PORT0 on the board, modify the definition PORT_NUM from 1 to 0 in serial.h, recompile and reprogram the flash. RST jumper needs to removed to start the Virtual COM port test. The Virtual COM Port program is available for the following targets: Keil MCB1700 Eval board: configured for on-chip Flash ROM (used for production or target debugging) Driver Installation: -------------------- "Welcome to the Found New Hardware Wizard" appears - select 'No, not this time' - press 'Next' - select 'Install from a list or specific location (Advanced)' - press 'Next' - select 'Search for the best driver in these locations' - check 'include this location in the serach' - set to - press 'Next' "Hardware Installation" appears "has not passed Windows Logo testing..." - press 'Continue Anyway' "Completing the Found New Hardware Wizard" appears - press 'Finish' /********************************** ** 路虎开发板 ** 论坛:bbs.openmcu.com ** 旺宝:www.openmcu.com ** 邮箱:support@openmcu.com ** 实验名:【16】USBCDC实验 ** KEIL MDK-ARM Standard Version:V4.22A ** 软件库(keil) Version: unused ** 固件库(ST) Version: unused ** 使用外设: **********************************/ /********************************* ** 实验说明: 插上D+ 、D- 、JP10的2-3插上usb到cn12驱动在例程里 ** 实验现象: 在电脑上面会出现一个虚拟串口 **********************************/

近期下载者

相关文件


收藏者