Greetings fellow madmodders.
A few days ago i ordered my unit, in the meantime i decided to look over the stuff it can do and i saw it had some limitations. So i made some research and maybe i can help with the software rewrite.
Soo.. i started to look over the stuff Benedikt did, and started to dig deeper in the reverse engineering, and found that for sure the internal UI made with Segger EmWIN.
I also started to a reverse engineer the motion driver (motiondev.ko), sorted out the low level comm stuff, and started writing source code for it. It's basically a character driver that uses some ioctl commands to acces some memory areas by a simple parallel port emulated through the GPIOs (more details in the code). I will upload it on github.
I am not that experienced in linux and maybe someone can help me with the files needed for the compilation of the kernel object so i can make a replacement for the original driver (from the reverse engineering it looks poorly written), i know that i need some headers for the version i want to build.
Basically the application writes some registers in the FPGA.
For example to beep the buzzer you have to write address 0x63 LSB with 1 or 0.
If you will look over the decompilation you can see some examples (look for functions that contain WR_DATA). The hard part will be the interpolation stuff, but i guess it should be doable. Maybe i can hook mine to a JTAG adapter when it arrives.
Also I will embed some disassembly/decompilation from IDAhttps://github.com/iocapa/motiondev