The Shop > CNC |
DDCSV1.1 4 Axis controller |
<< < (35/202) > >> |
Benedikt:
Interesting news: Busybox, the FPGA driver and the main program are 100% the same for both models! They have just been compared from one 3-axis machine to one 4-axis machine using SHA256 checksums. So replacing the linuxrc file won't help anything and can't downgrade a machine either. |
BrokenEye:
--- Quote from: Benedikt M. on November 17, 2016, 12:40:43 PM ---Interesting news: Busybox, the FPGA driver and the main program are 100% the same for both models! They have just been compared from one 3-axis machine to one 4-axis machine using SHA256 checksums. So replacing the linuxrc file won't help anything and can't downgrade a machine either. --- End quote --- The plot thickens , there is not another Rom on the other side of the board is there, I haven't been that far yet ? |
Benedikt:
I have managed to put it into USB boot mode so it can boot linux from an USB stick. To do this you have to put a 10KOhm resistor across R91. CPU datasheet can be found here: http://www.nuvoton.com/resource-files/N3290xDataSheetrevisionA5.1.pdf (Pinout at 3.4) Also we have a ridiculus amount of Flash memory: 1 Gigabit (128 MB). Datasheet here: http://www.hynix.com/product/filedata/fileDownload.do?seq=4176 However it does not seem like the bootloader responds to anything sent over serial, so I fear this is the end of the road (for now from this side). I have no idea how to get the bootloader to do anything more than to try to boot from USB, there is absolutely no documentation on it and I am not able to get it's source code nor can I actually dump the bootloader. I would not be surprised if it actually resides in a mask rom in the CPU. I am not going to put uboot on it for a couple of reasons: - If I brick the controller I will have to pay another 160€, which I just can't spend atm (or learn to use my JTAG, but then I would still have nothing to copy back) - Getting uboot to work will require a lot of work, however somebody else has actually started to work on uboot on this CPU and it might work) - Nobody without a JTAG is most likely going to be able to flash uboot. While USB boot is there I have no clue if this would somehow make us able to install uboot from a usb stick. And even then would you have to put a 10KOhm jumper across the two pins. Now we should focus on finding a way of mounting the flash chip from Linux and getting access to the boot loader configuration from there. Or we could work on the translations some more. Any input from you, fellow modders? |
John Stevenson:
I have the so called V2..1 version as sold by Ratn Machine on Ebay. This one boots up with their screen set on it and it's 4 axis. I'll copy anything off mine provided that someone tells me in words of one syllable how to and it doesn't stop this one working |
Benedikt:
--- Quote from: John Stevenson on November 17, 2016, 05:27:34 PM ---I have the so called V2..1 version as sold by Ratn Machine on Ebay. This one boots up with their screen set on it and it's 4 axis. I'll copy anything off mine provided that someone tells me in words of one syllable how to and it doesn't stop this one working --- End quote --- Thanks a lot. Could you please copy the /mnt/nand1-1/motion.out file please? This is all that is needed for now because I need to make a little script. Later I would love if you could that script from a USB stick that will copy the other required files. First, insert the USB stick that came with it or any other FAT32 formatted stick into the controller. Now you need to go to press the button to switch between Pages until you land on the File page for the second time. This is important as there is a glitch with the copying. Now you need to go to the .. entry and press enter. Now do that until you reach the uppermost level (/) where you won't see the .. entry anymore. When that's done, you head over to the mnt folder, then to the nand1-1 folder and hover over the motion.out file (just make sure the blue bar is over it). Now press the FRO/SRO button. Then you go to the .. again until you reach the uppermost level again. Enter the udisk-sda1 folder and now just press 2ND. Now go back to the Main page. You can now power the controller off and remove the USB. After you have send me the file I will craft you a little "firmware upgrade" that will not do anything but copy a few files I need for further analysis. Thanks a lot in advance for your participation. This is how the new bootlogo looks like: And this is the output of the bootloader when bridging the resistor: I have posted some more pictures in my article over here: http://bmuessig.eu/posts/ddcsv11-cnc-controller-modding-part-2 |
Navigation |
Message Index |
Next page |
Previous page |