Explorer 16/32 Development Board User's Guide - Developer Help
the COMx port number in software, when the USB Vendor ID (VID) and USB Product
ID (PID) values are known for the USB to serial adapter device. Identifying the COMx
number from the USB VID/PID is preferable for end consumers, as the USB VID/PID
are normally static for a given application (e.g., set at design time), and would not
normally change dynamically (like COMx port number assignments, which will not
be known at development time, and may change if the user moves the hardware
from one USB port to a different port, on a given machine).
The MCP2221A that comes on the Explorer 16/32 Development Board is
pre-programmed with USB VID = 0x04D8, and PID = 0x00DD, but these default
values can be changed with the MCP2221A utilities.
Mac OS X 10.7 or Later Operating Systems
Under Mac OS X 10.7 or later, the MCP2221A should appear as a
/dev/tty.usbmodemXXXX device, where "XXXX" are number and text wildcards
representing the hardware instance, similar to the COMx port number under
Windows. The /dev/tty.usbmodemXXXX device can be opened similar to a regular
Windows COMx port, using a standard serial terminal program.
Under Mac OS X 10.7 or later, the built in "screen" terminal utility can be used as a
serial terminal for accessing the device. To obtain the device name, open a terminal
(click the spotlight and search for "terminal"), then type:
ls /dev/tty.*
When
"/dev/tty.usbmodemXXXX" device entry should be shown corresponding to the
MCP2221A hardware. Once the specific name is known, it can be opened using:
screen -U /dev/tty.usbmodemXXXX 115200
(where XXXX should be replaced with the specific name applicable to the instance,
and the "115200" is the baud rate to open the serial port at, which can optionally be
changed to a different value within the MCP2221A's capability, ex: <= 460800 baud)
In order to send/receive UART RX/TX data bytes to/from the PIM microcontroller,
jumpers J37 and J38 should both be capped.
Note: Operation on Mac OS X versions prior to 10.7 may not work properly, as the
OS needs to have awareness/support for USB Interface Association Descriptors
(IAD).
Linux Operating Systems
Most modern Linux operating systems come with USB CDC-ACM support already
built into the kernel (and for distributions that may not already support this, it can
14 z 18
the
MCP2221A
USB
device
is
attached
http://microchipdeveloper.com/boards:explorer1632
and
enumerated,
a
7.6.2017 8:59
Need help?
Do you have a question about the Explorer 16/32 and is the answer not in the manual?