Jump to content

MMB CAN V1.0


McCosch

Recommended Posts

Hello, I would like to connect the MMB CAN V1.0 to the BIGTREETECH Octopus Pro. The cable supplied should be connected to the Octobus board, unfortunately I can't find the connector for the CAN-L cable. According to various drawings and pictures on the Internet, the place where the CAN-L is marked is the LAN connection for the BIGTREETECH Octopus Pro. Can someone help me there .

MMB CAN V1.0 ERCF .png

CAN_Buskabel.png

bigtreetech-octopus.jpg

Edited by McCosch
Link to comment
Share on other sites

The RJ11 jack on the octopus board is the can connection. However - you will need to flash the octopus board with the canbus software to enable USB -Can bridge. 

I assume you have already flashed the MMB board.

Start with installing katapult

Then install katapult for octopus

cd ~/katapult
make menuconfig

image.thumb.png.d23461386bd42efdb66c537801b84491.png

and compile it

make

Set the octopus in DFU mode by applying the jumper from the 5V (blue area) to the boot pin (purple area)  as shown and pressing the reset button (green area) once after power up.

image.thumb.png.4e22174dbb50adbb9d74b8cfade7a754.png

enter

lsusb

and you should see the board in dfu mode. then issue the following command to get the boards address:

dfu-util -l

You should see a line stating the internal flash address of 0x08000000 and the USB address of 0483:df11

sudo dfu-util -a 0 -D ~/katapult/katapult.bin --dfuse-address 0x08000000:force:mass-erase:leave -d 0483:df11

Remove the boot jumper and restart the board.

Set up your can network:

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

Add the following to the newly created file

allow-hotplug can0
iface can0 can static
  bitrate 1000000
  up ifconfig $IFACE txqueuelen 1024

Save and exit the editor.

Time to flash klipper with can to the octopus board:

cd ~/klipper
make menuconfig

image.thumb.png.20275996a31ed7e70a3d3cb3ac58fc56.png

and compile it

make

Flash the firmware to the octopus board by obtaining your boards serial. Issue the following command.

ls -al /dev/serial/by-id

Note the serial and copy it

cd ~/katapult/scripts
pip3 install pyserial
python3 flash_can.py -f ~/klipper/out/klipper.bin -d /dev/serial/by-id/{insert your serial here}

Reboot the board and you should be up and running.

4 hours ago, McCosch said:

where the CAN-L is marked is the LAN connection

That is correct. You will need to make up a connection to the supplied cable by either utilising and old telephone cable,

image.png.1ce58428d2e73b1e968fc119e28391fe.png

or crimping on a RJ11 jack

image.png.78794a95807313504fab890313fb3dd6.png

or using an adapter.

image.png.1ddec55a771a21c6433374248f9bd162.png

Connect the CanH and CanL to the two middle pins of either solution..

image.thumb.png.9c8ac3a911ebd57978cf83cae0e0044c.png

Connect the 24V power cords to your 24V power source.

I have also linked to a post in this forum explaining it in a bit more detail, and a manual you can download.

Hope this helps

 

  • Like 2
Link to comment
Share on other sites

8 hours ago, McCosch said:

Hello, I would like to connect the MMB CAN V1.0 to the BIGTREETECH Octopus Pro. The cable supplied should be connected to the Octobus board, unfortunately I can't find the connector for the CAN-L cable. According to various drawings and pictures on the Internet, the place where the CAN-L is marked is the LAN connection for the BIGTREETECH Octopus Pro. Can someone help me there .

MMB CAN V1.0 ERCF .png

CAN_Buskabel.png

 

Link to comment
Share on other sites

5 hours ago, mvdveer said:

The RJ11 jack on the octopus board is the can connection. However - you will need to flash the octopus board with the canbus software to enable USB -Can bridge. 

I assume you have already flashed the MMB board.

Start with installing katapult

Then install katapult for octopus

cd ~/katapult
make menuconfig

image.thumb.png.d23461386bd42efdb66c537801b84491.png

and compile it

make

Set the octopus in DFU mode by applying the jumper from the 5V (blue area) to the boot pin (purple area)  as shown and pressing the reset button (green area) once after power up.

image.thumb.png.4e22174dbb50adbb9d74b8cfade7a754.png

enter

lsusb

and you should see the board in dfu mode. then issue the following command to get the boards address:

dfu-util -l

You should see a line stating the internal flash address of 0x08000000 and the USB address of 0483:df11

sudo dfu-util -a 0 -D ~/katapult/katapult.bin --dfuse-address 0x08000000:force:mass-erase:leave -d 0483:df11

Remove the boot jumper and restart the board.

Set up your can network:

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

Add the following to the newly created file

allow-hotplug can0
iface can0 can static
  bitrate 1000000
  up ifconfig $IFACE txqueuelen 1024

Save and exit the editor.

Time to flash klipper with can to the octopus board:

cd ~/klipper
make menuconfig

image.thumb.png.20275996a31ed7e70a3d3cb3ac58fc56.png

and compile it

make

Flash the firmware to the octopus board by obtaining your boards serial. Issue the following command.

ls -al /dev/serial/by-id

Note the serial and copy it

cd ~/katapult/scripts
pip3 install pyserial
python3 flash_can.py -f ~/klipper/out/klipper.bin -d /dev/serial/by-id/{insert your serial here}

Reboot the board and you should be up and running.

That is correct. You will need to make up a connection to the supplied cable by either utilising and old telephone cable,

image.png.1ce58428d2e73b1e968fc119e28391fe.png

or crimping on a RJ11 jack

image.png.78794a95807313504fab890313fb3dd6.png

or using an adapter.

image.png.1ddec55a771a21c6433374248f9bd162.png

Connect the CanH and CanL to the two middle pins of either solution..

image.thumb.png.9c8ac3a911ebd57978cf83cae0e0044c.png

Connect the 24V power cords to your 24V power source.

I have also linked to a post in this forum explaining it in a bit more detail, and a manual you can download.

Hope this helps

thank you very much for the detailed explanation. Unfortunately the board doesn't fit, I have a different one and the slot that you marked in red is missing. I'll send you a picture of my circuit board.

Link to comment
Share on other sites

7 hours ago, McCosch said:

I have a different one and the slot that you marked in red is missing.

You have an Octopus pro board. I have marked the location of the boot jumper for your board

20240131_1424241.thumb.jpg.3eb4d783598ca99092a109e3d5871cac.jpg.1bc1b72973cd2c8d128dc952fd25160b.jpg.

Just remember, if you are going to flash the board as described above, you will need to unplug all cables.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...