![Connect Tech Multi-I/O Скачать руководство пользователя страница 8](http://html.mh-extra.com/html/connect-tech/multi-i-o/multi-i-o_user-manual_2652843008.webp)
Connect Tech - Xtreme/Multi-I/O - Users Guide
Document: CTIM-00116
Revision: 0.02
0.02
Page 8 of 50
Connect Tech Inc. Proprietary Information
Date: Apr. 14, 2015
Configuration
This product can be configured for operation by 3 different modes.
1.
In or Out of the target system, via a USB connection, using a configuration file.
2.
In or Out of the target system, via a USB connection, using the Virtual COM port interface.
3.
In the target system using an on-board serial port (which is usually accessed from the target system by
a Serial Port Driver software).
When the board is
not
installed in the target system, and then plugged into a USB port, a portion of the board’s
circuits are powered from the USB port which causes a (very small) USB Mass Storage Device and a Virtual
COM port interface to be available to the computer.
It is highly recommended that the USB port be used for configuring the board due to its simplicity.
USB Configuration File Method
When connected to a Windows computer the USB Plug&Play mechanism will automatically detect the
Xtreme/Multi-I/O as a small
Mass Storage Device
. This allows the board’s settings to be defined by a file
which is “placed” onto the storage device implemented on the product.
The storage space is very limited
(about 8K bytes) and is only intended for the files related to the board’s setup.
The product is shipped with a default CONFIG.TXT file which has been placed there when the unit was tested.
This file is a good starting point for any customer desired settings.
Copy this file to some other folder on your computer system.
Edit the copy, and save it.
Delete the CONFIG.TXT file from the folder on the Xtreme/Multi-I/O board.
Copy the file back to the folder on the Xtreme/Multi-I/O board.
This file is processed (and the settings stored in non-volatile memory) as the file is streamed to the
board from the USB interface. The file
cannot
be edited directly on the device.
Remember, to change the configuration file, first
delete
it from the Xtreme/Multi-I/O board , then
copy
a new file to the folder on the board.
If the board is “in” the target system (powered by the target system), then that system must be reset
(shutdown and powered back up) so that all the configuration changes will take effect.
If the board is “out of” the target system, then the settings are just retained for use when the board is
installed in the target system.
On power-up the on-board FPGA applies defaults for all configuration settings, and then, within 500
mS, the PIC32 applies all the settings that have been stored.
Three files are used
CONFIG.TXT
o
Is the file that contains the configuration commands (see sample on install disk).
o
This file is processed as soon as the file is “placed” onto the USB drive, with results placed
into the ERRORS.TXT file.
ERRORS.TXT
o
A file that shows results of processing the CONFIG.TXT file (after it has been read and
processed).
README.TXT
o
A short reminder file about how to perform the configuration.