#Manta M8P+CB1+U2C+EBB36

170 messages · Page 1 of 1 (latest)

limber garnet
#

hey everyone i am getting my new electronics setup with the above. i have already setup klipper and mainsail on the Manta M8P and already tested things work before trying to setup can. i believe i have a v1 manta board. i am following this guide (https://www.youtube.com/watch?v=5pLjeQz9pEI) with this referene(https://github.com/meteyou/KlipperMisc/tree/master/BigTreeTech-U2C) (https://github.com/meteyou/KlipperMisc/tree/master/BigTreeTech-EBB36-v1.1). but when i come to this section to run this command(python3 ~/CanBoot/scripts/flash_can.py -f ~/klipper/out/klipper.bin -d <serial device>) i get an error. everything else has gone just fine up until this point.
here is my error
in my opinion i am a noob when it comes to this. i really dont understand what im doing with most commands so let me know what you may need me to check. i have the newer version U2C and EBB 36

A modern 3D printer has many, many wires going from the mainboard to the print head. Each set is responsible for a component and its operation. But what if we reduced that loom to just four wires? Two power wires, and two communication wires. Today we are testing such a CAN BUS system with the Bigtreetech U2C and EBB modules.

This is currently ...

▶ Play video
GitHub

Contribute to meteyou/KlipperMisc development by creating an account on GitHub.

north monolith
#

I thought newer mantas have native can support and don’t need the u2c

north monolith
#

What version M8p do you have? Gargamel is the CAN expert from what I’ve read/heard, I’m sure he’ll be along to clarify

limber garnet
limber garnet
wide meteor
#

@limber garnet run the command pip3 install pyserial

limber garnet
#

boom. okay now let me see where i get stuck next

wide meteor
limber garnet
limber garnet
#

i now get no uuids to show up.

wide meteor
limber garnet
#

im at the point of flashing the ebb 36 with klipper. yes i added the U2C to the cfg and also the temp shows up.

wide meteor
#

The uuid won’t show up if it’s being used

limber garnet
#

i have my ebb36 plugged into the u2c with the high and low pins and powered off a usb. i have flashed the boot loader already on the ebb36. shouldnt i get one for the ebb36?

wide meteor
#

U2C has a thermistor on it?

#

Oh wait

#

what’s the temp from, not your ebb36?

limber garnet
#

per the guides im following above there is. now my printer wont startup. mainly following the teching tech guide

wide meteor
limber garnet
wide meteor
# limber garnet yes

I haven’t never done it this way. Usually you want candlelight on your u2c to have it acting as a can bridge only, not actually part of your network

limber garnet
wide meteor
#

I would personally

#

Candlelight on u2c, flash can boot to ebb36, then plug them in and when you search for uuids the one that comes up will be your ebb36

limber garnet
#

i get this error when i try to search for can ids with the u2c flashed with candlelight only and the ebb36 not plugged in. i should get something saying no uuids found correct?

wide meteor
limber garnet
limber garnet
#

says device "can0" doesnt exist

wide meteor
#

sudo nano /etc/network/interfaces.d/can0 ?

limber garnet
wide meteor
#

allow-hotplug can0
iface can0 can static
bitrate 500000
up ifconfig $IFACE txqueuelen 256
pre-up ip link set can0 type can bitrate 500000
pre-up ip link set can0 txqueuelen 256

limber garnet
north monolith
#

Gonna have to watch like 10 videos on it before I try it with my setup…

wide meteor
#

ok

#

lsusb

#

wait you rebooted right?

limber garnet
#

rebooted.

wide meteor
limber garnet
#

for U2C? yes. is there a way to check?

wide meteor
#

assuming you got it from this link then its the right one

#

ive used this before with success though too

limber garnet
wide meteor
#

hm flash that newer one, i dont think that one is updated for the v2

limber garnet
#

run this command but with the first address you provided?

wide meteor
#

probably, whats the rest of that command

#

are u using dfu util

limber garnet
wide meteor
limber garnet
wide meteor
#

gotta clone the exact file

#

U2C_V2_STM32G0B1.bin

limber garnet
wide meteor
limber garnet
#

same error.

wide meteor
#

ok it's easier to use stm32 cube programmer then

#

just download that bin and program it on pc

limber garnet
#

is there a guide for that?

wide meteor
#

just plug it in and select the bin file

limber garnet
wide meteor
#

yep

limber garnet
#

just hit start programming?

wide meteor
#

yeah just send it

limber garnet
wide meteor
#

now run those commands on your pi again to see if it works

limber garnet
#

with Ebb 36 plugged in with usb power and can cords hooked up.

wide meteor
limber garnet
wide meteor
#

wait type

#

cat /etc/*-release

limber garnet
wide meteor
#

ah

#

sudo nano /etc/systemd/network/80-can.network

#

[Match]
Name=can0

[Network]
BitRate=1000000

limber garnet
#

i have everything else i believe at 500000

wide meteor
#

actually before you do that you can just force the network online

#

sudo ip link set up can0

limber garnet
wide meteor
#

weird distro

#

sudo systemctl status systemd-networkd

limber garnet
wide meteor
#

ifconfig can0 Up

#

or ifup can0

limber garnet
wide meteor
#

sudo it

#

sudo ifup can0

limber garnet
wide meteor
#

ah i keep forgetting what net manager this is using

#

sudo ip link set dev can0 up

limber garnet
limber garnet
#

also i may have the incorrect jumpers. i dont have the 120r jumper on anything.

limber garnet
#

i have contacted btt to see what they say. hopefully they should know because its all there products.

wide meteor
#

I hate not being able to get something working 😡

#

I just bought one of these to try and get it working

#

gets here tomorrow

limber garnet
north monolith
#

I’ll need help soon! Lol, mine arrives today.

wide meteor
#

and you do have a v1.0 and not a v1.1 right ?

limber garnet
limber garnet
limber garnet
wide meteor
#

damn, v1.1 supports CANBUS natively so you wouldn’t even need a u2c 😭

limber garnet
#

I looked for one but couldn't find anything when I ordered but guess I'm just bad at looking

wide meteor
limber garnet
wide meteor
#

My main is a 06 sti but I have an 05 FXT and an 05 WRX hatch too

limber garnet
wide meteor
#

How crazy you going w the sti build?

somber fern
#

I had an issue where the bootloader does not like going on to the ebb36 v1.2 you have to compile it, download it and install with STM software.

#

I also have a m8p, no complaints amazing bit of kit.

limber garnet
somber fern
#

Yeah but you can't update via canboot.

limber garnet
somber fern
#

It's only the ebb32 v1.2 that's not working. Should be a bootloader fix coming out soon though.

limber garnet
somber fern
#

Exactly what I done, yeah remove bootloader.

#

But you have to do it everytime you update klipper. 😭

#

Mine is running 250000 if that makes a difference.

limber garnet
somber fern
#

You might have to flash the bootloader from the btt repo first.

#

In STM there is an erase chip option to get rid of the boot loader.

somber fern
#

Yeah.

wide meteor
#

your CAN network still has to be up to connect though

somber fern
limber garnet
#

also found this video from btt but i dont know if it will work. https://www.youtube.com/watch?v=GaMOe1yirPk

Hi all! If you're looking for a guide for using EBB42 +U2C on M8P+CB1,here it comes!
If you have issue on BIGTREETECH product,please feel free to contact [email protected] .

⏰ Timestamps:
USB Communication Settings: 0:00
CAN Communication Settings: 04:55
Fluidd Interface Settings: 07:35

BIGTREETECH EBB CAN, a 36/42-step adapter board, de...

▶ Play video
wide meteor
#

What do they flash the u2c with in that video

limber garnet
wide meteor
#

My u2c gets here tonight and I should have some time to play around with it

somber fern
#

I just flashed the bootloader from the btt website, then with klipper.

limber garnet
somber fern
#

No I posted the wrong link. Just do the canbus.

limber garnet
limber garnet
limber garnet
#

i have tried recompiling and flashing and still get this error when searching for uuids.

somber fern
#

Have you got the resistor in place?

limber garnet
somber fern
#

I'm not sure then. Can you run a usb scan to see what's connected just to make sure the u2c is connected and working?

#

lsusb -v 2>&1 1>/dev/null

#

Think that will tell you what usb things you have connected.

limber garnet
wide meteor
somber fern
#

If that shows everything so that. I'm no expert just piecing together bits from how I got it working. With a lot of help from gargamel.

wide meteor
#

yes, garg is the goat haha

limber garnet
#

so got another U2C and i have done nothing besides plug it in place of the other one. and get this. with no EBB36 plugged in.

wide meteor
#

nice

limber garnet
somber fern
#

That's correct. As the u2c does not show. It will only give you an I'd when the ebb36 is connected.

limber garnet
#

so im trying to flash klipper to the EBB and im not seeing any uuids. i have tried 120 jumper on ebb and both also.

wide meteor
#

ebb36 has canboot?

limber garnet
limber garnet
#

havent messed with it much but btt said i need to do the flash with 24v not jumper power. havent tried it yet but maybe.

limber garnet
#

still get same issue get no uuids to show up. with using full can wriring and having both 120R caps on.