ZWP500
™
Z-Wave Production Programmer & Tester
www.ExpressControls.com
February 2018
Bringing
the Internet of Things (IoT) to Life
21
NVRSet 12=04<cr>
Set PINS to P04
NVRSet 18=02<cr>
Set NVMT to 0x02 which is the serial FLASH value
NVRSet 19=01<cr>
Set NVMS=0x0100 for a 2Mb serial flash
NVRSet 1A=00<cr>
Returns:
*<cr>
For each command that was executed
?<cr>
If the command was not properly formatted
ResetDUT [0]
Pulse the RESET_N signal to the DUT to exit programming mode and leave the RESET_N signal at the desired state. If
the optional parameter 0 is appended to the end of the command then the RESET_N signal is left at 0 (reset asserted),
otherwise RESET_N is asserted high and then tristated. RESET_N is driven low, then high, then low then optionally
driven high and then tristated to ensure programming mode has been exited. If reset is stuck either high or low an ! is
returned with a message indicating the stuck condition.
Example:
ResetDUT0
Pulse reset low, then high then low again and leave the chip in reset with RESET_N driven low
Returns:
*<cr>
If reset has tracks the desired levels
!RST_N Stuck HIGH<cr>
if reset is stuck high (or low)
RFAttenuatorSet DD
Set the RF attenuation to the hexadecimal value DD in the range from 0x00 (minimum) to 0x7F (maximum attenuation).
The ZWP500 contains a pair of Digital Step Attenuators (DSA) on the RF path from the Z-Wave chip to the antenna SMA
connector. The RF signal can be to be attenuated by up to 60db. Attenuating the RF signal enables the RF signal quality
to be measured without needing to physically move the DUT a long distance from the ZWP500.
Example:
RFAttenuatorSet 3F
Set the RF attenuation to be approximately 30db
Returns:
*<cr>
if the command executed properly
?<cr>
If the values DD is invalid or not a hexadecimal number
UARTGet
Return any characters received from the DUT UART pins. The Z-Wave programming cable contains two pins which are
typically connected to the UART of the DUT Z-Wave chip. The UART pins can be used to send debug or telemetry data to
aid in production testing. The pins are optional and can be used as generic GPIOs instead. The UART buffer is 64 bytes
so messages must fit within the buffer between UARTGet commands. Typically the command is a short response to a
UARTSend command. The baud rate is 115200, 8 data bits, 1 stop bit, no parity.
Example:
UARTGet<cr>
Returns:
*<cr> 56 33 2E 30 31<cr>
The DUT UART send the ASCII characters “V3.01”
UARTInit BB
Initialize the DUT UART interface to BB baud rate. Valid values are 09(9.6K), 14(14.4K), 19(19.2K), 38(38.4K), 57(57.6K),
11(115.2K). A value of 0 disables the UART and returns the UART pins to general purpose IOs. The UART always
operates with 8 data bits and 1 stop bit.
Example:
UARTInit 11<cr>
Sets the UART to 115.2K baud, 8 data bits, 1 stop bit.