HuanorFx3Example

所属分类:嵌入式/单片机/硬件编程
开发工具:C/C++
文件大小:1888KB
下载次数:10
上传日期:2016-07-18 17:02:33
上 传 者scujsjzengshanhua
说明:  cypress 3014 固件程序源代码,用于华诺开发板,需要通过fxsdk中CyControl进行下载。
(poor english.)

文件列表:
HuanorFx3Example (0, 2016-06-15)
HuanorFx3Example\.cproject (80966, 2012-08-16)
HuanorFx3Example\.project (2485, 2012-09-02)
HuanorFx3Example\Debug (0, 2016-06-15)
HuanorFx3Example\Debug\HuanorCamera.map (1263383, 2012-09-02)
HuanorFx3Example\Debug\HuanorFx3Example.elf (2254086, 2012-10-12)
HuanorFx3Example\Debug\HuanorFx3Example.img (123676, 2012-10-12)
HuanorFx3Example\Debug\HuanorFx3Example.lst (1418688, 2012-10-12)
HuanorFx3Example\Debug\HuanorFx3Example.map (1270799, 2012-10-12)
HuanorFx3Example\Debug\SlaveFifoSync.map (1263248, 2012-08-24)
HuanorFx3Example\Debug\cyfx_gcc_startup.d (62, 2012-10-12)
HuanorFx3Example\Debug\cyfx_gcc_startup.o (1696, 2012-10-12)
HuanorFx3Example\Debug\cyfxslfifosync.d (3914, 2012-10-12)
HuanorFx3Example\Debug\cyfxslfifosync.o (35352, 2012-10-12)
HuanorFx3Example\Debug\cyfxslfifousbdscr.d (1067, 2012-10-12)
HuanorFx3Example\Debug\cyfxslfifousbdscr.o (5136, 2012-10-12)
HuanorFx3Example\Debug\cyfxtx.d (1234, 2012-10-12)
HuanorFx3Example\Debug\cyfxtx.o (19036, 2012-10-12)
HuanorFx3Example\Debug\makefile (2700, 2012-10-12)
HuanorFx3Example\Debug\objects.mk (237, 2012-10-12)
HuanorFx3Example\Debug\sources.mk (491, 2012-10-12)
HuanorFx3Example\Debug\subdir.mk (1461, 2012-10-12)
HuanorFx3Example\Release (0, 2016-06-15)
HuanorFx3Example\Release\HuanorCamera.map (1157571, 2012-09-02)
HuanorFx3Example\Release\HuanorFx3Example.elf (2132886, 2012-10-12)
HuanorFx3Example\Release\HuanorFx3Example.img (91996, 2012-10-12)
HuanorFx3Example\Release\HuanorFx3Example.lst (936722, 2012-10-12)
HuanorFx3Example\Release\HuanorFx3Example.map (1125461, 2012-10-12)
HuanorFx3Example\Release\cyfx_gcc_startup.d (62, 2012-10-12)
HuanorFx3Example\Release\cyfx_gcc_startup.o (936, 2012-10-12)
HuanorFx3Example\Release\cyfxslfifosync.d (3914, 2012-10-12)
HuanorFx3Example\Release\cyfxslfifosync.o (7216, 2012-10-12)
HuanorFx3Example\Release\cyfxslfifousbdscr.d (1067, 2012-10-12)
HuanorFx3Example\Release\cyfxslfifousbdscr.o (1558, 2012-10-12)
HuanorFx3Example\Release\cyfxtx.d (1234, 2012-10-12)
HuanorFx3Example\Release\cyfxtx.o (3580, 2012-10-12)
HuanorFx3Example\Release\makefile (2693, 2012-10-12)
HuanorFx3Example\Release\objects.mk (237, 2012-10-12)
HuanorFx3Example\Release\sources.mk (491, 2012-10-12)
HuanorFx3Example\Release\subdir.mk (1435, 2012-10-12)
... ...

CYPRESS SEMICONDUCTOR CORPORATION FX3 SDK SYNCHRONOUS SLAVE FIFO PROTOCOL EXAMPLE --------------------------------------- This example illustrates the configuration and usage of the GPIF II interface on the FX3 device to implement the synchronous slave FIFO protocol. A master device that implements the Cypress defined Sync Slave FIFO protocol is required to perform data transfers with this application. This application example does the following: 1. Configures the GPIF II interface to implement the Sync Slave FIFO protocol. 2. Enumerates as a vendor specific USB device with two bulk endpoints (1-OUT and 1-IN). 3. Create MANUAL DMA channels to enable the following data paths: a. All data received from the USB host through the 1-OUT endpoint is forwarded to the master device on the slave port through socket 3. b. All data received from the master device on the slave port through socket 0 is forwarded to the USB host through the 1-IN endpoint. 4. When any data packet is received through one of the ingress sockets, the application is notified and forwards the data to the recipient through a DMA callback function. Known limitation: In synchronous burst access operation, the minimum transfer size to perform data read/write accesses from/to the FX3 device should be three words. In 16-bit mode this is six bytes and 32-bit mode this is twelve bytes. To transfer data less than this, single cycle access operation needs to be used. Files: * cyfx_gcc_startup.S : Start-up code for the ARM-9 core on the FX3 device. This assembly source file follows the syntax for the GNU assembler. * cyfxslfifosync.h : C header file that defines constants used by this example implementation. Can be modified to select USB connection speed, endpoint numbers and properties etc. * cyfxslfifousbdscr.c : C source file that contains USB descriptors used by this example. VID and PID is defined in this file. * cyfxgpif_syncsf.h : C header file that contains the data required to configure the GPIF interface to implement the Sync. Slave FIFO protocol. * cyfxtx.c : C source file that provides ThreadX RTOS wrapper functions and other utilites required by the FX3 firmware library. * cyfxslfifosync.c : Main C source file that implements this example. * makefile : GNU make compliant build script for compiling this example. []

近期下载者

相关文件


收藏者