Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support CanBoot bootloader on rp2040 #5874

Merged
merged 2 commits into from
Nov 8, 2022

Conversation

KevinOConnor
Copy link
Collaborator

This is an alternative to PR #5844 .

-Kevin

@sh83
Copy link

sh83 commented Nov 3, 2022

This PR was tested on rp2040 dev board with usb connection mode.

  1. The standalone mode (without bootloader) klipper.uf2 flashed and booted well, create usb serial device.
  2. The bootloader mode klipper.bin flashed with CanBoot master. It boots well, create usb serial device, with stty -F /dev/ttyACM0 1200 command it reboot back to CanBoot. So I assume CanBoot detection is correct as well.

I have found no regression or issue.
Thank your, @KevinOConnor.

@mikethms
Copy link

mikethms commented Nov 7, 2022

Tested this PR in combination with the SB2040 and a BTT Octopus as CAN bridge. Was able to flash klipper over CAN using canboot.

Specify the arm architecture flash bootup address for each chip type
in Kconfig using a new FLASH_BOOT_ADDRESS setting.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
@KevinOConnor KevinOConnor merged commit 6485ff8 into master Nov 8, 2022
@KevinOConnor KevinOConnor deleted the work-rp2040canboot-20221103 branch November 8, 2022 14:54
@KevinOConnor
Copy link
Collaborator Author

Thanks. I committed this PR.

-Kevin

@github-actions github-actions bot locked and limited conversation to collaborators Nov 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants