Bulk_PingExample

所属分类:USB编程
开发工具:C/C++
文件大小:483KB
下载次数:33
上传日期:2009-10-10 09:10:16
上 传 者小胡同志
说明:  CYPRESS公司关于触摸屏芯片的USB编程,对电容式触摸屏感兴趣的请下载!这是二种方式!
(CYPRESS company on the touch screen chip USB programming, pairs of capacitive touch screens are interested please download! This is a two way!)

文件列表:
Bulk_PingExample\Driver_Setup (0, 2006-09-27)
Bulk_PingExample\Driver_Setup\BulkPing.inf (1703, 2005-05-31)
Bulk_PingExample\Driver_Setup\BulkPing.SYS (31104, 2005-05-31)
Bulk_PingExample\PC_Host_App (0, 2006-09-27)
Bulk_PingExample\PC_Host_App\Bulk_Ping_Host.exe (228549, 2005-05-31)
Bulk_PingExample\PC_Host_App\Source (0, 2006-09-27)
Bulk_PingExample\PC_Host_App\Source\Bulk_Ping_Host.cpp (1370, 2005-05-31)
Bulk_PingExample\PC_Host_App\Source\Bulk_Ping_Host.dep (1240, 2005-05-31)
Bulk_PingExample\PC_Host_App\Source\Bulk_Ping_Host.dsp (4817, 2005-05-31)
Bulk_PingExample\PC_Host_App\Source\Bulk_Ping_Host.dsw (640, 2005-05-31)
Bulk_PingExample\PC_Host_App\Source\Bulk_Ping_Host.h (329, 2005-05-31)
Bulk_PingExample\PC_Host_App\Source\Bulk_Ping_Host.mak (5721, 2005-05-31)
Bulk_PingExample\PC_Host_App\Source\Bulk_Ping_Host.rc (1404, 2005-05-31)
Bulk_PingExample\PC_Host_App\Source\Bulk_Ping_Host.sln (1207, 2005-05-31)
Bulk_PingExample\PC_Host_App\Source\Bulk_Ping_Host.vcproj (4415, 2005-05-31)
Bulk_PingExample\PC_Host_App\Source\conversion.cpp (4313, 2005-05-31)
Bulk_PingExample\PC_Host_App\Source\conversion.h (330, 2005-05-31)
Bulk_PingExample\PC_Host_App\Source\CyAPI.h (14164, 2005-05-31)
Bulk_PingExample\PC_Host_App\Source\CyAPI.lib (145012, 2005-05-31)
Bulk_PingExample\PC_Host_App\Source\domake (1053, 2005-05-31)
Bulk_PingExample\PC_Host_App\Source\environment (868, 2005-05-31)
Bulk_PingExample\PC_Host_App\Source\fls (74, 2005-05-31)
Bulk_PingExample\PC_Host_App\Source\Resource.h (448, 2005-05-31)
Bulk_PingExample\PC_Host_App\Source\string_functions.cpp (6086, 2005-05-31)
Bulk_PingExample\PC_Host_App\Source\string_functions.h (4168, 2005-05-31)
Bulk_PingExample\PC_Host_App\Source\Transport.cpp (13875, 2005-05-31)
Bulk_PingExample\PC_Host_App\Source\Transport.h (2312, 2005-05-31)
Bulk_PingExample\PSoC Project (0, 2006-09-27)
Bulk_PingExample\PSoC Project\backup (0, 2006-09-27)
Bulk_PingExample\PSoC Project\boot.asm (20024, 2006-09-27)
Bulk_PingExample\PSoC Project\boot.tpl (19851, 2006-06-23)
Bulk_PingExample\PSoC Project\bulk_ping.SOC (4213, 2006-09-27)
Bulk_PingExample\PSoC Project\bulk_ping.WNP (21930, 2006-09-27)
Bulk_PingExample\PSoC Project\flashsecurity.txt (2185, 2005-05-31)
Bulk_PingExample\PSoC Project\isr_hndlr.c (272, 2005-05-31)
Bulk_PingExample\PSoC Project\isr_hndlr.s (1653, 2006-09-27)
Bulk_PingExample\PSoC Project\lib (0, 2006-09-27)
Bulk_PingExample\PSoC Project\lib\GlobalParams.h (8391, 2006-09-27)
... ...

Example: Bulk_Ping_Host Device: CY8C24794 ** Description ** The host application was created with Microsoft Visual Studio version 6.0. However, visual studio 7/.NET or a free Microsoft C++ compiler can be used. Please refer to the "Readme.txt" in the Source folder. This console application sends a series of end point sized USB write (OUT) and read (IN) requests. The host effectively sends blocking writes and reads while the PSoC firmware reads the OUT packets and fills the IN data from it. The read data, following the write, is compared to the write data to produce a loop back. The PSoC Designer project is configured to use 2 *** byte end points (OUT and IN). No special modifications were made to the USB user module. ** Driver Interface ** A division of Cypress Semiconductor has created a "generic" USB driver which we use in these host examples. You can install this USB driver development environment from the USB DevStudio installation. The interface between the host application and the driver is accomplished through CyAPI.h and CyAPI.lib. ** Sequence of Operation ** 1) Plug in the mini USB cable from the PC to the CY8C24794 pod or 3214 Eval board 2) Connect PSoC Designer to the ICE CUBE. 3) Open the PSoC Designer project in the PSoC Project folder. 4) Build and Download the PSoC Project into the device. 5) Run the project from the debugger without breakpoints 6) The Windows "new" Hardware wizard will be shown if this is the first time the project has be run on the PC or the USB port location is changed. a) Select the radio button to "Install from a list or specific location (Advanced)". Press next. b) In the next wizard page, choose the radio button for "Don't search. I will choose the driver to install". Press next. c) You may have to select Next to see the wizard page that has a "Have Disk" button. d) Browse to the "Driver_Setup" folder for the specific example and select the .INF file. e) Press OK. If you OS is XP you will have to dismiss the digital signature warning.

近期下载者

相关文件


收藏者