Installation

1. Firmware installation

1.1 Installation using ST-Link interface
(STM32F407 Discovery Board and Nucleo 144)

1) Download and install ST Link Utility: http://www.st.com/web/en/catalog/tools/PF258168
!! Note : Latest Discovery boards MB997D may need a ST-Link firmware update from here
http://www.st.com/content/st_com/en/products/embedded-software/development-tool-software/stsw-link007.html
2) The latest PIN2DMD files can be found here https://github.com/lucky01/PIN2DMD . For your first installation you can download all files here https://github.com/lucky01/PIN2DMD/archive/master.zip and extract them in a local folder.
3) Connect your controller to power
4) On the Discovery board connect to the PC using a mini-USB cable (not the smaller microUSB cable). On the Nucleo-144 connect to the MicroUSB port on the opposite side of the ethernet RJ45 connector (not the one next to it). The board will light up and you should an STM32 STLink USB device connected in the Windows notification tray
5) Flash firmware: Target → Program
Choose PIN2DMD.BIN file from firmware/latest folder.

st-link

5) Programming STM board is done

1.2 Installation using DFU boot mode
(EVO board and other custom controller without ST-Link interface)

1) Download and install DfuSE Utility: http://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stsw-stm32080.html
2) The latest PIN2DMD files can be found here https://github.com/lucky01/PIN2DMD . For your first installation you can download all files here https://github.com/lucky01/PIN2DMD/archive/master.zip and extract them in a local folder.
3) Set controller into DFU boot mode with the following procedure:
– EVO board hold DFU button – press/release the reset button – release DFU button.
– DMDST32 DIP2 off or hold boot button and powercycle.
4) Connect the controller board to the PC using a mini-USB cable.
5) Flash firmware using DfuSEDemo choose/upgrade function
6) Set controller into run mode and powercycle
If you have any problems please contact the manufacturer of your controller board.

1.3 Updating firmware from microSD card

With firmware version 2.50 and higher it is possible to upgrade the firmware of the device by copying a pin2dmd.upd file to the SD card and reboot the device. This file can also be found in the github repository. Make sure you use the correct pin2dmd.upd file for your hardware otherwise you may need to reprogram your device using the above methods.

2. Windows driver installation

1) Connect the your PIN2DMD to power,if not already connected.
2) Connect the STM board using the microUSB cable to PC. Windows 7 and later should automatically install a WinUSB device.

Optionally for compatibility to some older applications like Future Pinball you may need to install older libusb-win32 drivers with libusbk.dll. To do this
1) Start Zadig Utility from usb_driver folder.
2) Choose Options → List All Devices
3) Choose LIB-USB-WIN32 as driver and install

zadig

3. Device activation

After a successful installation or update of the firmware you should see the PIN2DMD logo together with a number on the display. which means the device is not activated.

uid

To receive an activation key please send a donation (minimum 10€ per device) together with this information in the donation text:
1. Your device number
2. Your forum member name
3. The name of the pinball forum  (e.g. vpuniverse.com)
If any of this information is missing we may be unable to generate and send you the key.

If all information is provided you will receive the key within 24 hours.

Please click on this donation button to get to the donation screen.

btn_donate_CC_LG2
The keyfile can also be used to activate the export function of the pin2dmd editor

3.1 Activation using pin2dmd.exe

1) Connect the your controller to power, if not already connected.
2) Connect the STM board using the microUSB cable to your PC.
3) Copy the keyfile in the same directory where your pin2dmd.exe is located.
4) Start the pin2dmd.exe tool without any option.
5) Your device should automatically register.

3.2 Activation using SD Card

1) If your key starts with # please rename your keyfile to pin2dmd.key
if not continue with 2)
2) Copy the .key file to your micro SD card using a USB cardreader
3) Put the micro SD card in the pin2dmd device cardreader.
4) Restart your device
5) Your device should automatically register.