Welcome! Log In Create A New Profile

Advanced

Reverse engineering a CreatBot 2560 ramps style board

Posted by Modmike 
Reverse engineering a CreatBot 2560 ramps style board
September 29, 2018 10:04AM
I am trying to reverse engineer a CreatBot controller in order to install an updated version of Marlin. I am able to get Marlin on but all the pins are wrong. I manually traced the the stepper and limit switch pin connections using a multi-meter but it just won't work. I also tried disassembling the hex but all the characters were stripped.

The machine really is well built and otherwise excellent, what is the best path forward? I heard there was a way to actually decompile a hex, thought not fool proof. Any tips?

Edited 1 time(s). Last edit at 09/29/2018 10:05AM by Modmike.
Re: Reverse engineering a CreatBot 2560 ramps style board
September 29, 2018 08:33PM
use the ramps test firmware [reprap.org]

far quicker to compile

avoids issues that are not related to pins (incorrect steps/mm, feed rates, not working endstops, etc)

try your measured pins with that.
Re: Reverse engineering a CreatBot 2560 ramps style board
September 29, 2018 08:34PM
That’s a basic definition I imagine?

Edited 1 time(s). Last edit at 09/29/2018 08:35PM by Modmike.
Re: Reverse engineering a CreatBot 2560 ramps style board
September 29, 2018 08:41PM
in the extreme..

no intelligence, no safeties, just turns the correct pins on to moves all stepper back and forward and mosfets on and off
Re: Reverse engineering a CreatBot 2560 ramps style board
September 30, 2018 08:14AM
What is the expected behaviour of this configuration? I’m not a programmer but it looks like it switches the pins on and off and if it doesn’t get a response it kills the function.

Is this correct?
Re: Reverse engineering a CreatBot 2560 ramps style board
September 30, 2018 08:27PM
So how do I use it? Just open in ide and upload?
Re: Reverse engineering a CreatBot 2560 ramps style board
September 30, 2018 08:56PM
load the test into the ide, edit the pins to what you think they are. Upload and test

there is no "if it doesnt get a response" stepper drivers have no feed back.

It just looks at the time, for some of the time it moves steppers in one direction, or it reverse the direction.
Re: Reverse engineering a CreatBot 2560 ramps style board
September 30, 2018 08:58PM
Ok got it to upload to a test board. For an unknown ramps based on a 2560 do I just use Arduino/Genuino mega or mega 2560 board in IDE? I imagine that should work on any 2560 based controller, right?

Edited 4 time(s). Last edit at 09/30/2018 10:00PM by Modmike.
Re: Reverse engineering a CreatBot 2560 ramps style board
October 01, 2018 01:14AM
yes, as long it it uses the standard bootloader as the board defines the cpu, the bootloader protocols and baud rate (and the compiler, linker etc)
Sorry, only registered users may post in this forum.

Click here to login