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

Easier Klipper flash procedure for BTT Octopus. #360

Open
cmdremily opened this issue May 11, 2023 · 3 comments
Open

Easier Klipper flash procedure for BTT Octopus. #360

cmdremily opened this issue May 11, 2023 · 3 comments

Comments

@cmdremily
Copy link

The documentation notes "don't power the Pi from the Octopus as it's more tedious (due to power cycles)" and that there are two power cycles of the BTT board. It's not true that it's more tedious, and the power cycles aren't necessary. Simply hold down the reset button next to the type-c connector on the edge while inserting or removing the BOOT0 jumper. No power cycles are necessary.

By holding down the reset button, the MCU is kept in reset and it's not executing any code. All of the GPIO pins are in HiZ, i.e. nothing is driven. Plugging the jumper is safe in this state (as long as you don't roll a 1 on the dexterity check and plug the jumper into a random other pin pair, but a power off won't save you from that either). Upon releasing reset, the MCU executes the reset vector, with BOOT0 bridged it goes into dfu bootloader. Same thing for exiting dfu bootloader, just hold reset button and unplug jumper.

@shiftingtech
Copy link
Contributor

I strongly disagree with this proposal. People trying to insert the jumper hot are going to short random things and wreck their boards.

If you're comfortable doing it that way (and have the steady hands for it, great. But as the official practice? No way.

@cmdremily
Copy link
Author

The jumper has plastic covers everywhere and the conductive pins are inset in the housing. People drop them all the time and they're designed to not short stuff when dropped onto a motherboard etc. As long as you don't actually push it onto the wrong pins you're fine even if it bumps something. And if you plug it into the wrong pins, you run the same risk when powering on the board anyway. But fair enough, please at least mention it as a possibility for people who are confident.

@kubik369
Copy link

kubik369 commented Jul 2, 2023

It might be good to leave it as it is simply because it teaches people good practices. Yes, it is ok to hot-plug it in this case, but then you get people hot-plugging stepper drivers, motors, or god-forbid, some heating elements, where it is either destructive, dangerous, or both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants