BTT-Pi icon indicating copy to clipboard operation
BTT-Pi copied to clipboard

Enabling the U2C can adapter

Open orotecluc opened this issue 1 year ago • 6 comments

I have bought a BTT-Pi and the U2C pinboard,bt when I assemble them, the PI does not find the canbus... Is there somewhere an explanation on how to enable the U2C pinboard?

orotecluc avatar Jun 28 '23 11:06 orotecluc

Hi, I have a similar problem. I bought a U2C module for the BTT Klipper Pi. Pi does not see U2C when connected, but the LEDs light up. When turned on with BOOT pressed, it can be seen in usb devices, can be flashed. and that's all. we did not find a guide or a manual anywhere. and technical support doesn't know either.

Byourei avatar Jul 06 '23 06:07 Byourei

Hi, I also have questions about how to use it. If you could provide more information on how to enable and use it, there isn't much information on the web.

pauluchin avatar Aug 17 '23 18:08 pauluchin

I had the same issue. Just compile and flash a new firmware and it should work:

  • sudo apt install cmake gcc-arm-none-eabi -y
  • cd ~
  • git clone --depth=1 -b stm32g0_support https://github.com/bigtreetech/candleLight_fw
  • cd ~/candleLight_fw
  • mkdir build
  • cd build
  • cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/gcc-arm-none-eabi-8-2019-q3-update.cmake
  • make budgetcan_fw bring CAN Adapter in DFU Mode ... Attach to USB C Cable, hold BOOT button and connect ...
  • Flash Adapter : dfu-util -R -a 0 -s 0x8000000:mass-erase:force -D ~/candleLight_fw/build/budgetcan_fw.bin

DrKlipper avatar Sep 12 '23 08:09 DrKlipper

Just to be sure.

Is this for the can adapter v1.0 which is mounted on top of the btt pi? Or for the bigger u2c can adapter V2.1?

Hoeby avatar Jun 30 '24 06:06 Hoeby

For the small v1 that goes on top of pi v1

Verzonden vanaf Outlook voor Androidhttps://aka.ms/AAb9ysg


From: Hoeby @.> Sent: Sunday, June 30, 2024 8:39:36 AM To: bigtreetech/BTT-Pi @.> Cc: Luc Van den Borre @.>; Author @.> Subject: Re: [bigtreetech/BTT-Pi] Enabling the U2C can adapter (Issue #11)

Just to be sure.

Is this for the can adapter v1.0 which is mounted on top of the btt pi? Or for the bigger u2c can adapter V2.1?

— Reply to this email directly, view it on GitHubhttps://github.com/bigtreetech/BTT-Pi/issues/11#issuecomment-2198453614, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXQ642SOCXPXIQTSUCDHKBDZJ6R2NAVCNFSM6AAAAABKD23BVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGQ2TGNRRGQ. You are receiving this because you authored the thread.Message ID: @.***>

orotecluc avatar Jun 30 '24 06:06 orotecluc

i ask it here, because there is not much information to find online about this u2c boad.

When i run "lsusb", then i find "OpenMoko, Inc. Geschwister Schneider CAN adapter". It finds the board. When i run "~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0", then i don't see an ID from this board, is this correct? I would say every canbus device must have an ID, also this can adapter.

The reason why, i tried multi can boards to run on the can adapter, but nothing works. Looks like the issue is in the can adapter, but i am not sure

Hoeby avatar Jun 30 '24 08:06 Hoeby