Chapter 8
Table 8-9 describes the constants usually defined in app_cfg.h which allows you to use the
serial demo.
8
Constant
APP_CFG_USBD_CDC_EN
APP_CFG_USBD_CDC_SERIAL_TEST_EN
APP_CFG_USBD_CDC_SERIAL_TASK_PRIO
APP_CFG_USBD_CDC_SERIAL_TASK_STK_SIZE
Description
General constant to enable the CDC ACM demo application.
Must be set to DEF_ENABLED .
Constant to enable the serial demo. Must be set to
DEF_ENABLED .
Priority of the task used by the serial demo.
Stack size of the task used by the serial demo. A default
value can be 256.
Table 8-9 Device Application Configuration Constants
RUNNING THE DEMO APPLICATION
In this section, we will assume Windows as the host operating system. Upon connection of
your CDC ACM device, Windows will enumerate your device and load the native driver
usbser.sys to handle the device communication. The first time you connect your device to
the host, you will have to indicate to Windows which driver to load using an INF file (refer
to section 3-1-1 “About INF Files” on page 46 for more details about INF). The INF file tells
Windows to load the usbser.sys driver. Indicating the INF file to Windows has to be done
only once. Windows will then automatically recognize the CDC ACM device and load the
proper driver for any new connection. The process of indicating the INF file may vary
according to the Windows operating system version:
Windows XP directly opens the Found New Hardware Wizard. Follow the different steps
of the wizard until you reach the page where you can indicate the path of the INF file.
Windows Vista and later won’t open a “Found New Hardware Wizard”. It will just
indicate that no driver was found for the vendor device. You have to manually open the
wizard. When you open the Device Manager, your CDC ACM device should appear
with a yellow icon. Right-click on your device and choose ‘Update Driver Software...’ to
open the wizard. Follow the different steps of the wizard until the page where you can
indicate the path of the INF file.
130
相关PDF资料
AD637-EVALZ BOARD EVALUATION FOR AD637
AD736-EVALZ BOARD EVALUATION FOR AD736
AD737-EVALZ BOARD EVALUATION FOR AD737
AD8007AKS-EBZ BOARD EVAL FOR AD8007AKS
AD8018ARU-EVAL BOARD EVAL FOR AD8018
AD8034ART-EBZ BOARD EVAL FOR AD8034ART
AD8040AR-EBZ BOARD EVAL FOR AD8040AR
AD8045ARD-EBZ BOARD EVAL FOR AD8045ARD
相关代理商/技术参数
AD-UCUSB-HCCDC-SPL 制造商:Analog Devices 功能描述:?C/USB HC CDC FOR CCES SINGLE PROD LIC - Virtual or Non-Physical Inventory (Software & Literature)
AD-UCUSB-HCMSC-SPL 制造商:Analog Devices 功能描述:?C/USB HC MSC FOR CCES SINGLE PROD LIC - Virtual or Non-Physical Inventory (Software & Literature)
AD-UCUSBH-MCDC-SPL 制造商:Analog Devices 功能描述:MAINTENANCE ?C/USBH CDC SINGLE PRD LIC - Virtual or Non-Physical Inventory (Software & Literature)
AD-UCUSBH-MHID-SPL 制造商:Analog Devices 功能描述:MAINTENANCE ?C/USBH HID SINGLE PRD LIC - Virtual or Non-Physical Inventory (Software & Literature)
AD-UCUSBH-MMSC-SPL 制造商:Analog Devices 功能描述:MAINTENANCE ?C/USBH MSC SINGLE PRD LIC - Virtual or Non-Physical Inventory (Software & Literature)
AD-UCUSBH-SPRD 功能描述:PRD LIC UCUSB DEV CORE CCES SGL 制造商:analog devices inc. 系列:CrossCore? Embedded Studio 零件状态:在售 类型:- 应用:- 版本:- 许可长度:- 许可 - 用户明细:- 操作系统:- 配套使用产品/相关产品:Blackfin? 处理器 媒体分发类型:- 标准包装:1
ADUM1100 制造商:AD 制造商全称:Analog Devices 功能描述:iCoupler Digital Isolator
ADUM1100AR 功能描述:IC DIGITAL ISOLATOR 1CH 8-SOIC RoHS:否 类别:隔离器 >> 数字隔离器 系列:iCoupler® 产品培训模块:IsoLoop® Isolator 标准包装:50 系列:IsoLoop® 输入 - 1 侧/2 侧:5/0 通道数:5 电源电压:3 V ~ 5.5 V 电压 - 隔离:2500Vrms 数据速率:110Mbps 传输延迟:12ns 输出类型:CMOS 封装/外壳:16-SOIC(0.154",3.90mm 宽) 供应商设备封装:16-SOIC N 包装:管件 工作温度:-40°C ~ 85°C 其它名称:390-1053-5