Serial Number¶
The XVF3610 allows a 24 ASCII character long serial number to be stored in the external flash memory. This can be accessed using the VocalFusion Control application using the following commands. To write to the serial number register use:
vfctrl_usb SET_SERIAL_NUMBER "DEADBEEF"
and to read use:
vfctrl_usb GET_SERIAL_NUMBER
USB device enumeration¶
The XVF3610-UA additionally allows the Serial Number to be copied into the iSerialNumber field of the USB descriptor. As the host reads the USB descriptor on enumeration the command to copy the serial number must be present in the Data Partition. To illustrate this process the following commands must be incorporated into a Data Partition in the specified order (example assumes SERIAL_NUMBER field is already populated).
To set the USB configuration to use the serial number in the descriptor add the following lines, in this order, to the Data Partition:
SET_USB_SERIAL_NUMBER 1
To set the USB configuration, then to start enumeration:
SET_USB_START_STATUS 1