The Shop > CNC
DDCSV1.1 4 Axis controller
<< < (108/202) > >>
iocapa:
You can read the flash with some jtag adapter, although the binary is really useless. There is no chance at reverse engineering from FPGA bitstreams (at least with the tools available now).
BrokenEye:

--- Quote from: iocapa on April 18, 2017, 01:58:57 PM ---You can read the flash with some jtag adapter, although the binary is really useless. There is no chance at reverse engineering from FPGA bitstreams (at least with the tools available now).

--- End quote ---

And there is no way to tell if any IP's have been used, like a NIOS processor , trying to decipher the routing would be pretty much impossible to do, as they will have been optimised for timing and power usage, I certainly wouldn't attempt it  :bang:
Benedikt:

--- Quote from: chriscnc on March 16, 2017, 08:09:09 PM ---Benedikt, can the USB port support a HAL/HID keyboard with Pandora? If so i can program a Teensy for a custom layout mini panel keyboard with screen ref buttons and feed/ spindle override knobs. Pandora would just need to be able to map a keyboard input to functions. This way we have quick access to functions.

--- End quote ---
Now you actually can  :thumbup:

I have just read the datasheet of the configuration flash and it seems like it can actually be read out.
I was initially thinking these specific FPGA flash chips would have encryption or at least some kind of IP protection, but this appears not to be the case.
The datasheet can be found here: https://www.altera.com/content/dam/altera-www/global/en_US/pdfs/literature/hb/cfg/cyc_c51014.pdf
Benedikt:
Good news, I have reverse-engineered the keypad driver and written an open source replacement.
There is still a little hardware revision specific code left to be included, but the basic functionality is now finally there  :D

Hint, the original driver was absolute rubbish. I have greatly improved on it and fixed some evil bugs.

I have published my current reverse-engineering progress in this repository:
https://github.com/bmuessig/Pandora-Reverse-Engineering

And the driver can be found here:
https://github.com/bmuessig/pdkeypad

This is the second big step to an completely open source DDCSV1.1 after iocapa's rewritten motion driver.

Regards,
Benedikt
Benedikt:
The driver is progressing fine. Soon the keypad will be driven by my open source driver.
Digging through my documentation I figured a way to eventually upgrade the operating system on every controller (this includes the splash screen) from within Linux.
This is still not yet researched very well and would require a lot of work to actually perform well and reliable.
This discovery also led to the creation of the flash image dumper which copies the contents of the NAND memory chip to the attached USB stick.
Since I know that 4-axis controllers, 3-axis controllers and the RATTM model have different NAND contents, I need your help to get the software working on every system alike.
Please, if that person had 5 minutes, could someone with a 4-axis and someone with a RATTM system please run the image dumper attached to this post and provide me with the resulting nand.img file?
This would really help speed up development and check the differences between the different models.

The attached utility should not harm your controller and will not leave any permanent modifications.
After running it, it is enough to delete the ndutils folder and the startup.done file from the USB stick to free up the few KB that the dumper needs.
To execute the utility, simply extract the zip file onto an USB stick and reboot the controller with the stick inserted. The controller will now guide you through the automated process.

Kind regards,
Benedikt
Navigation
Message Index
Next page
Previous page

Go to full version