-
-
Notifications
You must be signed in to change notification settings - Fork 599
Added installation and basic support of Katapult #439[https://github.com/dw-0/kiauh/issues/439] #741
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
base: master
Are you sure you want to change the base?
Conversation
…change despite being actually changed.
Fot me that would be the main use case. So I can trigger Boot Mode with Katapult and then flash two MCUs with Kiauh. Edit: I will give it a try tommorow Edit2: I realized Klipper has an option to jump to bootloader so I no longer have need for that as my chip is RP2040 and there is already flash option for that. And I can do without disassembly it seems |
I'll work on that this week then, it shouldn't be too difficult. However, I might not be able to test it locally, as I'm running USB to can bridge on both my machines. Would you be kind enough to try it and give me feedback @AreYouLoco ?
Could you describe the steps to do this please? I couldn't find the option on my end, and figured either I'm looking in the wrong place or went too fast over the different menus. |
|
@theogayar I also use CAN-to-USB. Here is documentation Based on that I did small bash script. jump_to_bootloader.sh $device So I just use that and then normal flash using RP2040 mechanism in KIAUH when device is in Boot Mode |
Thanks, I never knew about this. I'll try to add it in order to automatically request the bootloader, but I need to figure out a bit more about the way it works. |
After working for a bit on this, I can say it wasn't as easy as I first thought it would be. I focused on #439, but I've tried to use methods and an implementation to think of #480.
I figured I'd post this draft as of now, in order to allow others to test what I couldn't and gather feedback.
@dw-0, I've tried to keep using the helpers and wrappers from KIAUH as much as possible, but I might have missed some. For instance, I couldn't find one to look for a specific running "pythonExampleScrypt.py", so I made my own, but I might have missed it. If I did not miss it, I think it should live with the other core utils and helpers, not in the katapult module.
--
What's working as of now (at least for me) :
If you guys are able to test this on your end that would be great. Be advised I'm not responsible for any issues related to bricking your devices because of this implementation. Let me know if you encounter problems, I'll try to resolve them with you !
--
I've tried documenting a lot of what I did inline, but need input on many questions, that are not necessarily technical, but rather practical :
--
Overall, the code might not be of the best quality, please let me know of anything I should change/review in the way I approached things.
Note that the commits make no sense, as I was pushing very frequently to my fork as I'm not developing on the same machine I'm testing on.