bigtreetech / EBB

433 stars 100 forks source link

CAN Klipper reserved pin problem EBB36 / Manta E3EZ #115

Open cs301cs301 opened 2 months ago

cs301cs301 commented 2 months ago

I have the problem that some of the specified pins are already reserved for CAN. This means that I cannot use the ADXL cs_pin: EBBCan:PB12. Klipper gives error, is reserved for CAN. The E3EZ uses PB12 and PB13 for CAN communication. I also cannot use the heater_pin: EBBCan:PB13, also reserved for CAN. So can I not use CAN in this board combination?

Monra124 commented 2 months ago

I have the same problem, I have the ebb with usb communication plus the two power cables, when I turn it on it tells me that PIN PB13 is reserved for SPI2, have you found a solution?.

Thanks

cs301cs301 commented 2 months ago

I have the same problem, I have the ebb with usb communication plus the two power cables, when I turn it on it tells me that PIN PB13 is reserved for SPI2, have you found a solution?.

Thanks

I have now switched and use the CAN lines for USB. This works for the E3EZ + EBB36 combination. As for your problem, maybe a pin is named wrong? PB13 is actually the Heater pin on v1.2, SPI2 is PB12. Which boards are you using?

Monra124 commented 2 months ago

I have the same problem, I have the ebb with usb communication plus the two power cables, when I turn it on it tells me that PIN PB13 is reserved for SPI2, have you found a solution?. Thanks

I have now switched and use the CAN lines for USB. This works for the E3EZ + EBB36 combination. As for your problem, maybe a pin is named wrong? PB13 is actually the Heater pin on v1.2, SPI2 is PB12. Which boards are you using?

Exactly the same board, the E3EZ blanket. With the fimrware installed from github.

Thanks for answering, I've also sent a ticket to BTT, let's see if they answer me

cs301cs301 commented 2 months ago

Then it can only be a config problem... my configs: config-20240430-173109.zip my menuconfigs: E3EZ E3EZ_menuconfig EBB36 EBB36_menuconfig

Firmware is Armbian 24.2.3 Bookworm with Linux 6.1.79-legacy-sun50iw9-btt

Monra124 commented 2 months ago

Then it can only be a config problem... my configs: config-20240430-173109.zip my menuconfigs: E3EZ E3EZ_menuconfig EBB36 EBB36_menuconfig

Firmware is Armbian 24.2.3 Bookworm with Linux 6.1.79-legacy-sun50iw9-btt

Thanks. I have done this exactly the same, but when I enter the ebb input I get the PIN error PB13 reserved SPI2

Monra124 commented 2 months ago

I put an older version of the EBB CAN frimware, the error did not come out, I asked to update, it updates everything but the EBB, I downloaded the latest firmware_usb.bin version from the official repository and nothing.

What version of the EBB mcu do you have??

I currently have: Your Klipper version is: v0.12.0-177-gaf149b47-dirty MCU(s) which should be updated: mcu: Current version v0.12.0-177-gaf149b47 EBBCan: Current version v0.12.0-9-gbb4711c5d

Monra124 commented 2 months ago

I updated the firm from menuconfig and the same error comes up again: Captura de pantalla 2024-04-30 190239

With the configuration: 326878465-7cf9a6a5-43e9-4222-ace0-1c9b2b4a43f1

cs301cs301 commented 2 months ago

It seems that you still have the old "fire-hazardous" v1.0 of EBB36. PB13 is there for SPI2.

old For the heater you have to use PB1 in the config.

This is no longer the case with the new v1.2.

new

Monra124 commented 2 months ago

The ebb 36 can is v1.2.

The firm I install is the one they have on github v1.1 since it is the same as v1.2.

You won't have the firm you installed on yours to see if that's the problem.

Thank you very much for your time, I really appreciate it as I can't get it to work.

IMG_20240430_205507

cs301cs301 commented 2 months ago

That's right, I did not use the pre-built firmware. I followed the instructions for Canboot (now Katapult).

https://wiki.kb-3d.com/en/home/btt/voron/BTT_EBB36

Monra124 commented 2 months ago

Ok, so you have it connected by CAN, instead of USB?

cs301cs301 commented 2 months ago

No, as I said, I use USB. (https://lab4450.com/latest-projects/upgrade-can-ebb36-to-usb-toolhead/) Initially yes, but that didn't work. I then flashed Klipper over it with USB settings. I just don't know whether any of the old firmware remains on it, because sometimes you specify a bootloader offset, sometimes not. I don't really know why it doesn't work for you. Have you also rebuilt and flashed Klipper for the EBB36 or is it still running the firmware from github? The E3EZ board sees the EBB, so you can simply flash Klipper in DFU mode there and don't need the pre built firmware.

Monra124 commented 2 months ago

The board sees the EBB36. I've tried building the firmware, I've even tried installing RATOS from its installer and the same thing always ends up happening to me, it's as if you always give me a v1.0 signature.

I will take a look at the information you have given me, thank you very much

Monra124 commented 2 months ago

Good morning. There is no way, no matter what I do the same result, I built the firmware and flashed it in dfu mode, it did it correctly, the result is the same, it's like you always build with the v1.0 board pins.

cs301cs301 commented 2 months ago

Can you pls upload your Klipper configs for EBB & E3EZ?

Monra124 commented 2 months ago

Can you pls upload your Klipper configs for EBB & E3EZ?

I don't have everything done, as I first tried to link the E3EZ board with the EBB and then connect everything and finish the printer with its macros... print_ebb.zip

shh

cs301cs301 commented 2 months ago

That's crazy, there is no double reference to PB13, so where is this error message coming from? Just out of interest, have you tried entering PB1 for the heater instead of PB13? Not that it would work, but just to see if other error messages appear.

cs301cs301 commented 2 months ago

However, it appears that the board is faulty. Do you have the option of returning it?

Monra124 commented 2 months ago

I opened a ticket on the official BTT website where I bought it, but they don't answer