Klipper on Makerbase SBASE 1.3

I have an SBASE 1.3 here and I can’t get klipper to load.

I can flash firmware and there is no response when I flash the klipper firmware and there IS response when I flash the Makerbase provided firmware back.

I’ve also tried “encoding” the binary with the script for robin nano. That doesn’t seem to fully help.

I decoded the makerbase firmware with that script and went from 754 “UNDEFINED instruction” in the disassembly to only 74. So it seems that the binary should indeed be encoded this way. But the 74 remaing “undefined instructions” worry me. Not sure what’s normal.

Has anybody used Klipper with a Makerbase SBASE board? What configuration was required to get the firmware to work ?

Build (make menuconfig) for LPC1768 and use klipper/generic-smoothieboard.cfg at master · Klipper3d/klipper · GitHub

Duh!
I think I searched on the internet what CPU I"d have and found LPC1769. So I selected that. I just checked the hardware, but it’s a '68 as you say. Aargh!

Thanks for the hint. :slight_smile:

Update: Works! I now have the clipper firmware running and communicating. I had already started using the smoothieboard cfg file. currently there is something with controlling the axes, I’ll figure it out from here. :smiley:

Hi, sorry to hijack this topic. I cannot get the firmware.bin file to build (what starts out life as the config.bin file, and ends up being the firmware.cur file). Topic-starter, can you share your firmware.bin file with me? I have the same MKS SBase 1.3 board with the same processor. It would be a great help.

Cheers,

Hugo

Hmm. I don’t remember where I left the klipper sources/ binary. I searched the whole system and there is a directory that was last modified dec 31, 2021 (inconsistent with posted 8 months ago), but doesn’t contain any BIN files.

Thanks for the quick reply. Do you remember the settings when making the config file? I know I have an LPC1768 @ 100 MHz, but I cannot find the GPIO pin. Maybe filling that correctly will allow it to make the file.
Cheers,
Hugo

I have a MKS SBASE V1.3 with Marlin 2.10, Compile Klipper for 1768 processor but when I insert the microSD the klipper firmware never works, it always loads the marlin firmware.

I assume you have renamed the file on the SD card??

Thanks, if the problem was the file name, I changed it to firmare.bin and it worked.

1 Like

For completeness, start with generic-smoothieboard as the printer.cnf . It seems to have most of the pins correct. So far I’ve had to invert the endstop signals and a direction signal, but the generic configuration of course can’t know how I wired up the endstops or the polarity of the motor.