-
Notifications
You must be signed in to change notification settings - Fork 138
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
Add partial urclock support for parts with bootloaders in low flash #1208
Conversation
This seems to work fine for optiboot_x with ATtiny817.
|
No regression for optiboot 8.3 either.
|
No issues with optiboot_x for ATmega4808 from @MCUdude's MegaCoreX, using Nano 4808 board.
|
No issues with picoboot either.
|
No issues with Optiboot 4.4 (Arduino version).
|
It is okay for Optiboot 8.0 version from @MCUdude's MiniCore.
|
Today's last test with optiboot_dx.
|
So far so good. And I think we are lucky that I do not need to use |
@mcuee Grazie mille for testing and checking against regression.
Well, it was hard calibration work for which you carried out many a test! Without these it wouldn't have been possible :) |
BTW, I kind of figured out how to get GNU Readline to work with MSVC build. The binary seems to work fine (history, pipe and keep-alive) with a minor issue on the piping side.
|
I have also done some tests under Linux and macOS and no issues found. |
Ok, thanks. Planning on a merge fest once the other PRs are finalised. |
Supposed to fix Issue #1200
Turns out I was blindsided by the fact that UPDI parts have their bootloader in low flash. Hence, urclock.c needed more change than I thought. With a bit of fair wind there is no regression, though, and optiboot_x and optiboot_dx bootloader work now with
-c urclock
. The medadata should appear at FLASHEND for UPDI parts and-c urclock
should protect the bootloader in low flash. Currently, the user needs to supply-xbootsize=...
; support for bootloader hashes and the urprotocol for UPDI parts will come at a later point (after v7.1).Would be grateful for extensive tests (both previously working parts and optiboot_x and optiboot_dx bootloading).