Jump to content
lucky1

Pin2Dmd Colorprism V2.0 Firmware

Recommended Posts

We proudly announce the version 2.X of our device firmware with colorprism technology and support
for the pin2dmd editor by Steve.
 
You can download the latest version here
https://github.com/lucky01/PIN2DMD/archive/master.zip

To upgrade or install follow the instructions from here
https://github.com/lucky01/PIN2DMD/blob/master/documentation/Pin2DMD%20installation%20-%20FW%20and%20Driver.pdf
 
When you start the device for the first time you get a unique ID displayed starting with #.
You have to request a activation key to make it work.
Members of the hall of fame and content contributors get the key for free by sending me a PM.
For the rest, we kindly request to send your UID and username with the donation link in my signature below.
 
You have to place the key file in your pin2dmd.exe directory or rename it to pin2dmd.key and copy it to your sd card.
 
Featurelist:
- Pinball Browser / SmartDMD color switching for full color Stern ROMS
- Frame colorization with PIN2DMD Editor by Steve (beta) for all pinball machines
- Visual Pinball / PinMame USB input
- Future Pinball with DMD interceptor DLL
- Unit3d Pinball
- Ultra DMD (currently 16 shades)
- XDMD (full color)
- PinballX (full color with latest version)
- WPC real pinball input
- Stern real pinball input
- Whitestar real pinball input
- DataEast real pinball input
- WPC95 real pinball input
- WPC PinLED
- Stern Spike real pinball input
- Gottlieb real pinball input
- Capcom real pinball input
- AlvinG real pinball input
- Spooky real pinball input (using modified dmd code. See integration on github)
- SPinball real pinball input (beta)
- DataEast 128x16 real pinball input for Nucleo only (beta)
- WCID Windows automated driver installation

Changelog

V2.44

- fix playback of full color scenes for panels with different rgb sequence

V2.43

- automatically reset config to default when no valid config is found
- added DataEast 128x16 mode (config through onscreen only)
- changed color handling for Gottlieb V2

V.2.42

No new features but new hardware support. Due to the production change of the chinese advertising panels.
a redesign of the shield hardware was necessary. The new shield supports the piggy-back installation on all supported panel types (64x32 and 64x64). We took the chance to also change from the STM32F4 DISCO  board to the  Nucleo-144 board series.
We currently support the STM32F429 Nucleo-144 which more or less is the same as the discovery board but Nucleo-144 series offers a wide range of  powerful processors (up to 400Mhz ARM7) for the future.

- added support for panels with different RGB color sequence (GRB etc) (use onscreen menu to change)
- added support for 4bit high speed SD card access on Nucleo board
- store config also in eeprom
- PIN2DMD XL support on Nucleo-144 shield (public firmware Version 2.01)

V.2.41

real pinball machine improvements
- fix colorization in Gottlieb modes

V.2.40

- fix bug in palette switching
- improve dump routine on slow USB connection

V2.39

general

- added support for pin2dmd editor V2.0 in firmware and dmddevice.dll
- automatically playback boot.fsq from SD on startup
  (sample in pin2dmd.exe folder)


virtual pinball improvements

- added support for v-pin export (not usable on real pins)
 

real pinball machine improvements

- improved Gottlieb support 
  V1 for machines from '92
  V2 for machine from '93-'95 (Shaq Attaq)
  V3 for later machines
- set default mode of enhancer to ON
- enter menu mode if any user button is pressed during boot

V2.38

virtual pinball improvements

-new dmddevice.dll with improved frame processing of fsq files for Replacement frames and
ColorMasks

real pinball machine improvements

- fix bitorder for dataeast and whitestar machines
- improved frame processing of fsq files for Replacement frames and
ColorMasks

V2.37
virtual pinball improvements

-new dmddevice.dll with improved timing for colouring  features

real pinball machine improvements

- fix bug with colormask
- modified parallax propeller code for Spooky Pinballs AMH V23
 

V2.36
virtual pinball improvements

- added support for modular dmddevice.dll driver interface. Currently supported by VPinMame 2.8, PinballX and UltraDMD with modified XDMD.DLL and XDMDNative.DLL
- dmddevice.dll loads palette files from %pinmame dir%\altcolor\%machine name% directory
copy your pin2dmd.pal and pin2dmd.fsq files to that directory
- support for SmartDMD sidechannel protocol (e.g SpiderMan VE from Sharkky)
- added support for pin2dmd colorization methods to DmdDevice.DLL from freezy. 
Now every VpinMame user with DMD on 3rd LCD screen, pindmdV3 or pin2dmd can use 16color palette files and colorization
made with Pin2DMD.Exe tool, Pin2DMD Editor from Steve or PinballBrowser from Oga83.

real pinball machine improvements

- support for AlvinG and Spooky real pinball machines
- support for signal enhancer on V3 shields (check setting for WPC, DataEast, Whitestar, Gottlieb and Spike real pinball machines)
- faster frame update routine on alle machines except Gottlieb and CapCom
- added support for SmartDMD sidechannel on SAM machines

Pin2DMD.exe tool improvements

- added advanced colorpicker to edit custom palettes.
- import palettes as .dmc or .pal file 
- added offline mode for config. If no device is connected config files (pin2md.pal, pin2dmd.dat) are stored in directory
Works also with (pin2dmd XL for sega machines)
- added upload button to frontend
- improved real pinball dump routine in pin2dmd.exe tool
 

V2.35
- internal release for testing Spooky Pinball real pinball input

V2.33
- sync fix for Stern Spike
- changed sync for Gottlieb
- changed wifi reset (new upgrade procedure for wifi chip)


V2.32
!! removed redundant device modes (PinLED,WPC95 => Bally/Williams, Classic Pinmame)
You may need to reconfigure your device using e.g. pin2dmd.exe
- added realpin Capcom support
- added realpin Gottlieb mode for early machines (1992)
- adjusted Gottlieb modes to latest vpinmame palettes
- added onscreen menu (hold config/blue button during boot) for basic config (only custom controller)
- first release with wifi html interface (see flash.md) for basic config (only custom controller)
- added reset function for wifi (hold menu and press option button) (only custom controller)
- added support for serial port for control of additional sub devices and Stern SAM palette switching (only custom controller)
 
V2.31
- internal release
 
V2.30
- added evaluation mode
- stable release
 
V2.27-2.29
- several mods to improve sync on Stern SAM
 
V2.26
- revert sync of SAM machines back to OE (pre 2.23)
Reported problems from older machines were power supply related.
 
V2.25
- fix display update for vpin
 
V2.24
- fix for display errors reported on SAM machines
 
V2.23
- sync fix for older Stern SAM machines
 
V2.22
- fix for vpin full color mode
 
V2.21
- fix for usb activation
 
V2.20
!!! renamed palettes.dat to pin2dmd.pal !!!
- completely reworked sync routine. Now resync is lossless. No artifacts on resync
- working Stern Spike input for colorization with pinballbrowser
- working Gottlieb input
- New colorization feature : increase colordepth of 4 color animations 16 Colors) . Working with dynamic frames (score display etc. )
  Use latest editor version
  -> cut scene with "Mark Start" - "Mark End" - "Cut"  and select scene
  -> Check ColMask ->
  ->  edit scene with tools (only colors 4 to 15 available for drawing)
  -> Select Keyframe where to start playback of additional colors (same as startingpoint of scene)
  -> Assign Scene in FrameSeq Dropdown
  -> Add ColorMask
  -> export project and copy to device
- increased number of detection masks to 10
 
V2.12
- fix for random pixel
- fix for sync on G-R-B panels
 
V2.11
- fix of frame replacement routine
- sync on lowest bit in Spike mode

V2.10
- fix of Whitestar input from real pin
- change autosync to resync only on two successive errors
- first implementation of wifi module (EPS8266) on UART4 (PC10/PC11)
 
V2.09
- show list of parameters of pin2dmd.exe when invalid parameter is used
- change devicemode without reboot (for editor preview)

V2.08
- fallback to default palette if invalid palette is adressed
- added /l option for brightness to tool
- use paletteID instead of key for smartDMD

V2.07
- fix in display update routine

V2.06
- fix for black display when no valid key present

V2.05
- massive speedup of color calculation routine
- new timing for output routine for better handling of
lower brightness
- added file upload feature to tool using /u srcfile destfile
- added import of dmc palettes for real pins
- added save palettes.dat button for real pins
- seperation of interrupt routines for different device modes
- added Stern Spike and WPC pinled mode for testing (alpha)

V2.04
- fix for old config files (palettes.dat / pin2dmd.dat)
- added automatic resync. Check status of red LED
off = no resync necessary = OK
on = sporadic resync = OK
blinking = constant resync = not ok

V2.03
- sync fix for Stern pinball machines
- increased color depth
- first working version with keyframe detection from new upcoming editor
- full color support for XDMD (PinballX / UltraDMD)
- added orange to standard palettes

V2.02
- new sync routine for real pinball machines
using lossless doublebuffer

V2.00
- added usb dump for real pinball machines

Share this post


Link to post
Share on other sites

flashed new firmware and provided lucky1 with the UID.  received the reply key right away but i dont know where to put it.  He said to place it with my pin2dmd.exe but i dont use one.  anyone have this working?  I dont want to bug lucky too much  :)

Share this post


Link to post
Share on other sites

flashed new firmware and provided lucky1 with the UID.  received the reply key right away but i dont know where to put it.  He said to place it with my pin2dmd.exe but i dont use one.  anyone have this working?  I dont want to bug lucky too much  :)

 

Yeah, I haven't put the pin2dmd.exe on my machine either... So, not quite sure what to do.

Share this post


Link to post
Share on other sites

Hi Solrac21,

Didn't you use pin2dmd.exe to get the uid of the STM32 board?

I have several boards, I connected them to my computer with the usb cables as described in the install instructions and flashed the latest firmware. Then ran pin2dmd.exe and a popup window opened with the UID I sent to lucky. The key file I got back I placed into the same directory on the PC that the pin2dmd.exe file is in. Then the next time I ran pin2dmd.exe the popup window did not open so I assume it found the key file and activated the firmware. 

 

Did you see the UID on the LED display not the PC.?

My STM32 was not connected to a LED display at the time.

 

Did you try putting the key file on the sd card? like pin2dmd.dat and palettes.dat.

Share this post


Link to post
Share on other sites

So i flashed the firmware with the st flasher and the uid was on the lcd panels. Im not sure if it's because im running Windows 10 but i can't run the pin2dmd. Ive downloaded the new one from github and it says its not made for my version of windows. Its a 64bit version if that matters. I have not added it to the usb as i never installed it.

Share this post


Link to post
Share on other sites

Hi Solrac21,

Didn't you use pin2dmd.exe to get the uid of the STM32 board?

I have several boards, I connected them to my computer with the usb cables as described in the install instructions and flashed the latest firmware. Then ran pin2dmd.exe and a popup window opened with the UID I sent to lucky. The key file I got back I placed into the same directory on the PC that the pin2dmd.exe file is in. Then the next time I ran pin2dmd.exe the popup window did not open so I assume it found the key file and activated the firmware. 

 

Did you see the UID on the LED display not the PC.?

My STM32 was not connected to a LED display at the time.

 

Did you try putting the key file on the sd card? like pin2dmd.dat and palettes.dat.

 

I'm a little confused as well. I've never had Pin2DMD on my cabinet either... I just flashed my STM32 with the new firmware and had the number on the display. I just put Pin2DMD on my cabinet and when I run it I get the following:

 

post-2-0-04875900-1456275571_thumb.png

Share this post


Link to post
Share on other sites

A question... if I have two (2) stm32 boards, do I have to send 2 uid numbers ? and then have 2 keyfile ? so I have to change the keyfile for each board ? when I update the firmware...

Yes I have 2 stm32 boards and 2 keyfiles.

Share this post


Link to post
Share on other sites

I'm a little confused as well. I've never had Pin2DMD on my cabinet either... I just flashed my STM32 with the new firmware and had the number on the display. I just put Pin2DMD on my cabinet and when I run it I get the following:

 

attachicon.gifpin2dmd.png

 

 

Maybe we are all getting confused. I am using mine in Real pinball machines not Virtual ones. Perhaps the procedure is a little different.

Share this post


Link to post
Share on other sites

I am using mine in a pinmame cab.

I must be missing a step somewhere... Flashed again with firmware on GitHub. Key in same folder with pin2dmd.exe. Nothing will display on my displays except the Pin2DMD screen with my number on it. I can't get pinmame to display on it.

Share this post


Link to post
Share on other sites

I am using mine in a pinmame cab.

I must be missing a step somewhere... Flashed again with firmware on GitHub. Key in same folder with pin2dmd.exe. Nothing will display on my displays except the Pin2DMD screen with my number on it. I can't get pinmame to display on it.

Until lucky answers we can only speculate about the method of activation and the difference's between real pinball and virtual ones.

So you flashed it while the STM32 was in your pinmame cab, is that right?

So ST-Link is in your pinmame cab, so the PC can see the STM32. So when you run pin2dmd.exe again you don't get any activation message or cant fine key file message?

Sorry I don't have virtual pinball to try it on.

Share this post


Link to post
Share on other sites

Make sure you also use the latest pin2dmd.exe from github. Older versions don´t recognize the keyfile.

As an alternative for users with sd card you can also rename it to pin2dmd.key and copy it to the sd card.

Share this post


Link to post
Share on other sites

Thanks lucky but i cant run the pin2dmd from github as it says this app cant run on your pc on both my win 10 x64 box.  If i go the sd card route..does that mean  i need to leave it in there?  Im running a virtual cab.

Share this post


Link to post
Share on other sites

Make sure you also use the latest pin2dmd.exe from github. Older versions don´t recognize the keyfile.

As an alternative for users with sd card you can also rename it to pin2dmd.key and copy it to the sd card.

 

I'm running both the firmware and pin2dmd.exe from gthub. On my cab I've never had pin2dmd.exe installed. So I created pin2dmd folder where I keep my pin2dmd files. My DMD shows the Pin2DMD logo and my key in BLUE (i'm guessing the blue is the default palate).  The key file you sent me is in the same folder as pin2dmd.exe and named as #(my key).key.  When I run pin2dmd.exe I get the image I posted above. I don't get any messages regarding the key.  When I run a game via VP or PinMAME test I am no longer getting the PinMAME dmd to show on the pin2dmd as I was previously.  My screen does not change from the Blue pin2dmd logo and my key #. :(

 

BTW - I'm running Win7x64 on my cabinet.  Perhaps I just forgot to UNBLOCK the pin2dmd files?  I'll check that when I get home this evening. 

 

I gotta get this up and running nicely pretty quick... Hoping to show it off this year at Texas Pinball Festival coming up in March.

Share this post


Link to post
Share on other sites

Ok, so after more testing... First off I'm not sure how to tell what version firmwares are.

I installed old firmware from from 12/28 and installed it. Then used the pin2dmd.exe tool from 12/28 as well. I was able to successfully send commands to the display, tested /i, /b and /t. All worked.

Then I flashed to current firmware from GitHub. Screen changed to logo showing my device id. I then used the tool currently on GitHub withOUT my .key in the folder. I ran commands from command line and the display never changed. Nor did I receive any errors. I put my .key into the folder where pin2dmd.exe is located. I tested with the key named as pin2dmd.key as well as #12345678910 (my key). I then run commands to send palates and ppm images but again the display never changed.

Should I have received an error regarding missing key? Any other suggestions?

Share this post


Link to post
Share on other sites

The V2.x doesn´t take any commands when it is unregistered, so that is o.k. I sent you a new keyfile.

You can also activate using a SD card and copy the key to it renamed to pin2dmd.key.

After registration you can remove the SD card again, since the key gets copied to the device.

You only get a "missing key" error when there is no key with the correct name in your directory.

If the key has wrong content that is only checked on the device and not from pin2dmd.exe.

Did you try to run it as administrator ? Any further problems send me a pm.

Share this post


Link to post
Share on other sites

Ok, so after more testing... First off I'm not sure how to tell what version firmwares are.

I installed old firmware from from 12/28 and installed it. Then used the pin2dmd.exe tool from 12/28 as well. I was able to successfully send commands to the display, tested /i, /b and /t. All worked.

Then I flashed to current firmware from GitHub. Screen changed to logo showing my device id. I then used the tool currently on GitHub withOUT my .key in the folder. I ran commands from command line and the display never changed. Nor did I receive any errors. I put my .key into the folder where pin2dmd.exe is located. I tested with the key named as pin2dmd.key as well as #12345678910 (my key). I then run commands to send palates and ppm images but again the display never changed.

Should I have received an error regarding missing key? Any other suggestions?

 

Dazz, i made some headway thanks to Lucky1.  Looks like it was a bad download on my part.  Lucky1 PM'd me the files and those worked without a problem.

Share this post


Link to post
Share on other sites

well 1 problem down...1 to go.  when i copy he xdmdnative.dll file to the pinballx directory...all my videos are black and white.  when i use the one that came with pinballx, they are in color.  anyone else seeing this issue?

Share this post


Link to post
Share on other sites

well 1 problem down...1 to go. when i copy he xdmdnative.dll file to the pinballx directory...all my videos are black and white. when i use the one that came with pinballx, they are in color. anyone else seeing this issue?

Cant help you there... I don't use PinballX.

Sent from my iPhone using Tapatalk

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×