MT-DB-U4
User Guide
#define USB_CONTROL_EP_SIZE 16
#define USB_CONTROL_EP_BANKS 1
#define USB_DEFAULT_EP_SIZE 32
#define USB_DEFAULT_EP_BANKS 2
#define USB_CDC_NOTIFICATION_EP_SIZE 16
#define USB_CDC_NOTIFICATION_EP_BANKS 1
#define USB_CDC_DATA_EP_SIZE 32
#define USB_CDC_DATA_EP_BANKS 2
// These can optionally be used by PluggableUSB libraries
#define USB_HID_EP_SIZE 16
#define USB_HID_EP_BANKS 1
#define USB_MIDI_EP_SIZE 32
#define USB_MIDI_EP_BANKS 2
#define USB_MSD_EP_SIZE 32
#define USB_MSD_EP_BANKS 2
Installation
Driver Installation
Windows
Prior to core version 1.6.9mt1, sketches compiled with both CDC and HID USB code by default, thus
requiring a CDC driver for the bootloader and a CDCHID driver for sketches. Now that PluggableUSB
is supported, sketches compile with only CDC code by default. Thus, only one driver is needed. Since
HID and MIDI are currently supported (and MSD potentially in the future), driver installation will be
required for each different combination of USB devices. There are currently four USB composite
device combinations that include CDC as well as a CDC only device. Each supported combination has
a unique USB VID:PID pair, and these are listed in the .inf file. Once the first device is installed (the
CDC only device), future installations
might
be automatic, otherwise, you may direct the installer to the
same .inf file. The drivers are signed and support both 32 and 64 bit versions of Windows XP(SP3),
Vista, 7, 8, and 10.
1.
If you do not already have the CDC bootloader installed, see below.
2.
Download
https://www.mattairtech.com/software/MattairTech_CDC_Driver_Signed.zip
and
unzip into any folder.
3.
Plug in the board with the jumper installed. The LED should light.
4.
Windows will detect the board. Point the installer to the folder from above to install the
bootloader driver.
5.
If you don't intend on using Arduino, you can skip the rest of this list. See Using AVRDUDE
Standalone below.
6.
If you do not already have the test firmware installed, see Using AVRDUDE Standalone below.
7.
Press the reset button to run the test firmware (blink sketch).
8.
Windows will detect the board. Point the installer to the above folder to install the sketch driver
(if needed).
December 30, 2015
20
http://www.mattairtech.com/