I used Claude’s help to reverse engineer the NVMPG firmware and to create an open-source firmware replacement using NuttX RTOS. If you don’t know about NVMPG is, it is a MPG (Manual Pulse Generator: https://en.wikipedia.org/wiki/Manual_pulse_generator ) used on DigitalDream EC300, EC500 and Novusun NVUM.
Then I installed Mach3 version 3.043.062 on an old Windows 10 computer (I don’t use Windows, but I have a laptop with it to test some softwares). After installing it I downloaded DigitalDream plugin to EC300 (file DIGITALDREAM_20230513.rar) from http://www.ddcnc.com/?m=home&c=Lists&a=index&tid=106&lang=en&page2
Then I decompressed it and copied the file DIGITALDREAM_20230513.dll to C:\Mach3\PlugIns\
If you just want to test the NVMPG this next step could be omitted because it will fake a License to Mach3 and configure the CNC inputs. If you want to do it by our own risk, download the “File Config sample” from http://i40solutions.net/document/m3link.html
This .rar file contains two config files that you can copy to C:\Mach3, the files are: Mach1Lic.dat and Mach3Mill.xml. The first if file is a license file and the second file is the EC300 configuration setting.
Now connect an Ethernet cable to your EC300 and to your computer. Configure your computer Ethernet as fixed IP. In some sites they said the IP should be 192.168.1.10 to let EC300 or 192.168.4.10. Initially I tried 192.168.1.10, but it didn’t work, only after configuring my computer with IP 192.168.4.10 the CONN LED on EC300 turned ON when I ran Mach3.
Initially you need to confirm that Mach3 found the Digital Dream plugin, so go to Config -> Config Plugins and verify if DIGITALDREAM is with the green check on it. Then double click on CONFIG of this plugin, a Dialog window will appear, change the checkbox from Standard-MPG to NV-MPG and click OK.
Before clicking on Reset button to start you need to disable to Emergency Stop (if you don’t have it connected to your EC300 yet). To do it go to: Config -> Ports and Pins, then at the Input Signals tab scroll until EStop and click on that green check to disable it. Click on Apply and OK.
Now if you click on Reset button, it will become green.
You will notice that the X, Y, Z values will appear on the NVMPG LCD screen, but when you move the wheel nothing will happen. This is because the MPG#1 is not configured correctly.
Go to Configs -> Ports and Pins and at Encoder/MPG’s tab scroll until “MPG #1” row and confirm it has the green check. Then configure “A-Port #” to 1, “A-Pin #” to 21, “B-Port #” to 1 and “B-Pin #” to 22. Click Apply and OK.
After press TAB key on main screen and it will open a MPG Mode screen, click on “Jog Mode” button until it enable the MPG yellow indicator button.
