Cypress CY3633 Gebruikershandleiding - Pagina 19

Blader online of download pdf Gebruikershandleiding voor {categorie_naam} Cypress CY3633. Cypress CY3633 20 pagina's. Wirelessusb ls gaming dvk

9. You are now ready to begin executing and debugging firmware.
4.0

PlayStation2 Firmware Development

Firmware development for the PS2 Dongle (Receiver) and Game Controller is very similar to the
XBOX Game Controller development as noted in section 3.2. Both the receiver dongle and Game
Controller use the PSoC Designer development system. Information regarding the PSoC develop-
ment environment can be found at Cypress MicroSystems' website at www.cypressmicro.com.
The PSoC Microcontroller Basic Development Kit (CY3205-DK) provides the PSoC ICE-4000 In-
Circuit Emulator for development and debugging (with breakpoint support) of PSoC application
code. The PDIP Pod Kit (CY3206-PI) provides programming and emulation support for the 48-pin
DIP package used on the PDC-9075 Platform Boards, (socket U3).

4.1 PS2 Receiver Firmware Development

The code for the receiver is located under the PSDongle directory. The configuration process is
similar to the process listed in Section 3.2.1.
Connect the ICE Pod into socket U3 of the Platform Board (PDC 9075).
Connect the CAT5e cable between the ICE Pod and the ICE-4000.
Plug the 5.0V DC adapter into connector J5 of the PDC-9075 board.
Copy the Game Controller files along with the lib directory located under the WirelessUSB
LS Gaming DVK directory from the CD-ROM to your local hard-drive.
The steps below are required after copying the files from CD-ROM in the Software directory to the
local hard-drive.
1. Change the file attributes for all of the source files to read/write before proceeding
2. Launch PSoC™ Designer by double clicking on the project file 'psdongle.soc'
3. It is important that the pod does not provide power to the development system hardware. Make
sure that Project/Settings/Debugger page is configured for "Pod uses external power only".
4. Click Config -> Generate Application to build the complete application.
5. Click Build -> Start Debug to compile the code and prepare for debugging
6. Click Debug -> Connect in order to establish communication with the PSoC ICE-4000.
7. Click Debug -> Download to Emulator in order to load the code image to the emulator pod.
8. You are now ready to begin executing and debugging firmware.

4.2 PS2 Game Controller Firmware Development

The firmware for the PS2 Game Controller is located in the Firmware\PSoC\GameController direc-
tory on the CD-ROM. The PS2 Game Controller firmware is the same code base as used for the
XBOX game controller. The only difference is that the "#define PS2" line in the main.h header file
must be enabled to switch the Game Controller to PS2 support.
Please refer to section 3.2 for information on developing Game Controller firmware.
WirelessUSB™ LS Gaming DVK User's Guide Rev 1.1
Page -15