![Cypress CY3631 Скачать руководство пользователя страница 13](http://html1.mh-extra.com/html/cypress/cy3631/cy3631_user-manual_2706415013.webp)
CY3631 WirelessUSB™ Manufacturing Test Kit User Guide, Doc. # 001-66724 Rev. *B
13
4.
Firmware
4.1
Overview
The MTK test firmware is divided into two parts: the Test Fixture firmware and the DUT Test Code.
The DUT test code is a small bit of additional code that resides in the DUT memory and can be
accessed only by placing the DUT into a special test mode (see section
for more
details). In test mode, the DUT in the test chamber exchanges packets with the test fixture. The data
packet from the test fixture to the DUT is checked for errors by the DUT and the error count
recorded. The DUT then sends a data packet back to the test fixture that includes the error count
information. The test fixture uses this information, as well as information it collects about errors in the
received data packet from the DUT, to determine if the test passes or fails.
4.2
DUT Test Code
All packets received by the DUT are ‘echoed’ with the addition of a byte that contains the count of
invalid bits for the received packet. Extra bytes in packets that are larger than what the DUT can
support are ignored. Received packets of the correct length are then parsed for possible RF
command packets. The RF command packets exchanged between the MTK test fixture and the
MTK DUT contain two or more bytes. The first byte contains the command type and the remaining
bytes contain the parameter value. All commands are executed after the received packets are
‘echoed’.
The DUT manufacturing test code adds approximately 500–800 bytes depending on the device and
firmware version. The CY4672 PRoC LP RDK Bridge enters the Manufacturing Test Mode when the
Bind button on the Bridge is pressed during power on. The CY4672 RDK mouse and keyboard use a
compile time define to enter the test mode by detecting a specific grounded pin or a special key
sequence during power-up. The following sections provide the details (the process of testing the
CY4636 WirelessUSB LP RDK is also the same).
4.2.1
CY4672 PRoC LP RDK Bridge
The manufacturing test module may be conditionally compiled to provide manufacturing test
support. The module configures the radio for reception and then enters a loop waiting for command
packets to be sent from the tester. The test echoes all echo command packets appended with the
number of invalid bits received and all other 'valid' command packets (no invalid bits). The
manufacturing test code can only be exited by cycling power.
You can enter the manufacturing test mode on the PRoC LP RDK Bridge using the following
methods depending on the compile time configuration:
1. Press the
Bind
button during dongle insertion into the USB Host.
2. Force a SE1 condition (D+ and D– are both high) on the USB bus and, at the same time, apply
power to the bridge.
3. Ground the P0.7 pin during dongle insertion into the USB Host.
Содержание CY3631
Страница 4: ...4 CY3631 WirelessUSB Manufacturing Test Kit User Guide Doc 001 66724 Rev B Contents...
Страница 12: ...12 CY3631 WirelessUSB Manufacturing Test Kit User Guide Doc 001 66724 Rev B Hardware...
Страница 16: ...16 CY3631 WirelessUSB Manufacturing Test Kit User Guide Doc 001 66724 Rev B Firmware...