14
CY3631 WirelessUSB™ Manufacturing Test Kit User Guide, Doc. # 001-66724 Rev. *B
Firmware
4.2.2
CY4672 PRoC LP RDK Mouse
The manufacturing test module may be optionally compiled, at the expense of code space, by
defining the macro MFG_TEST_CODE. In addition, a more complete version may be compiled by
defining MFG_TX_MODES. The TX modes include the code to perform a carrier test and a random
data test. Entry into this mode on the mouse is performed by placing a shorting block over pins 4 and
5 of the ISSP programming header and then inserting the batteries. To exit the test mode, remove
the batteries and the shorting block.
4.2.3
CY4672 PRoC LP RDK Keyboard
The RDK provides a compile time option to add a manufacturing test mode to the keyboard. If
MFG_TEST_CODE is defined and ENTER_BY_PIN is not defined, you can enter the manufacturing
test mode by holding down the system sleep key and the Bind button, while inserting the batteries
into the keyboard.
If MFG_TEST_CODE and ENTER_BY_PIN are both defined, you can enter the manufacturing test
mode by connecting pins 4 and 5 on the ISSP header with a shunt and then inserting the batteries
into the keyboard. The only way to exit this mode is to cycle power.
4.3
Test Fixture Firmware
The test fixture firmware controls the standard test that is executed when the START button is
pressed. It also enables communication over the serial port. The source code for PSoC
®
in the MTK
test fixture is included in the kit CD-ROM. You may customize the test firmware as desired. PSoC
can be reprogrammed using the ISSP header on the board.
shows the location of the
header.
Figure 4-1. ISSP Header Location