CanBoot icon indicating copy to clipboard operation
CanBoot copied to clipboard

Firmware "Disapering" on CAN Board with RP2040 Chip after Reboot

Open TWim3 opened this issue 2 years ago • 5 comments

Hello

I instaled CanBoot + Klipper on my SB2040 Toolboard Now every time I restart everything the Toolboard is not recognized. But for some reason if I connect my Toolboard after the Pi boots to USB and power everything works just fine.

TWim3 avatar Dec 21 '22 21:12 TWim3

This may not be an issue caused by CanBoot as it happens on my "ercf eazy board CAN" (based on the rp2040 chip) (it's using the CAN interface) made by mellow (recently released)

and it happens both with canboot + klipper as well as just klipper on its own (no bootloader offset) (My board seams to have a possibly separate issue with can communication in general (no uuid at all))

Can confirm the first part, haven't tested what happens when board is connected after rpi is booted. Will try that tomorrow too.

However. Everytime the rpi is rebooted the firmware appears to be "gone" in the board in some way.

It will no longer show up in ls ....dev/by-id/.... I verified it further by defining a pin as the "gpio pin to turn on when booting (make menuconfig)". When the rpi reboots, the led turns off and will never turn back on.

MarvinBeym avatar Jan 03 '23 22:01 MarvinBeym

Do anyone have reproducible case with canboot problem on rp2040 with up-to-date canboot/klipper? Assuming standalone klipper itself run fine on same hardware ( klipper can be used without canboot if it configured so).

Probably it was some problems, but I do not remember the way to reproduce them. Currently in my setup sb2040/canboot/klipper work very stable.

sh83 avatar Jan 14 '23 21:01 sh83

I think it was always the other way around. Canboot was working but standalone klipper wasn't. Y.

On Sat, Jan 14, 2023 at 22:31 Alex @.***> wrote:

Do anyone have reproducible case with canboot problem on rp2040 with up-to-date canboot/klipper? And with standalone klipper itself run fine on same hardware ( klipper can be used without canboot if it configured so).

Probably it was some problems, but I do not remember the way to reproduce them.

— Reply to this email directly, view it on GitHub https://github.com/Arksine/CanBoot/issues/58#issuecomment-1382923564, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUKYX3OOORN4LCYGUSUTZLWSMLMBANCNFSM6AAAAAATGCGCSA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jtrmal avatar Jan 15 '23 11:01 jtrmal

I have this problem on a Mellow Fly SB2040 V1 using a RP2040 chip. I flashed the latest CanBoot, can flash the latest Klipper and it then works nicely. Until I power cycle the system, then I have to re-flash klipper using the still existing canboot.

I gladly test things if I am told what to do, currently I have no clue where to start looking into this problem.

hvraven avatar May 21 '23 11:05 hvraven

(should) be fixed by now:

https://github.com/Klipper3d/klipper/commit/bec1d957d216986da8da216aca557c4d31623fd2

MarvinBeym avatar May 21 '23 15:05 MarvinBeym