Cypress Notes
Cypress Notes
Notes related to Cypress Semiconductor parts.
These notes relate to the Cypress Semiconductor C USB Development kit. Byte Craft Limited supplies the compiler for this tool. For more information, see “Cypress C”.
FAQ
Some Cypress C distributions ship with a reference design for a Combination Interface Mouse. The files in question are not Byte Craft Limited files. We have identified some problems with the files as shipped, and offer the following information:
Problems with the reference design distribution:
-
When the reference design files are extracted, they are read-only. They must be changed to read/write files, using attrib at the command line or the Windows Explorer (select all the files, then right-click and choose ).
-
The Byte Craft project file (
.BCP) contains a working directory inE:and will not likely work. -
The reference design application was originally built with Cypress C 1.10, and will only compile cleanly using this version.
To fix these problems:
-
Obtain Cypress C 1.10 from Byte Craft Limited by emailing support@bytecraft.com
-
If you have Cypress C currently installed, check the shortcuts under . If the shortcuts are named Cypress C and Cypress C Tutorial, Cypress C 1.10 installation will overwrite them.
Rename these shortcuts to include a Cypress C version number. The way to do this depends upon your version of Windows: consult your Windows documentation for more details.
-
Extract all files from the
CyC110.ziparchive that you receive to a temporary directory, ensuring that the ZIP file folders are preserved during the extraction. -
Run
setup.exefrom(wheretemp\Installis the path to the temporary directory chosen in the last step.temp -
Follow the instructions given in the setup program, except for the installation folder. Change this to
X:\Program Files\Byte Craft\CyC110\where
Xis replaced by the drive you wish to install the program on. This ensures you do not overwrite your current Cypress C installation. -
Start the Byte Craft IDE
-
Create a new project and set up the items as seen below:

New project General properties. Note the Library path.

New project Compiler properties. This uses the Cypress C V1.10 compiler.
-
Open the file
combi.cand compile it.
Compiling
combi.c

July 2008: