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

Burn bootloader does not work in 2.3.2 and later with serialupdi programmer selected. #506

Closed
SpenceKonde opened this issue Aug 26, 2021 · 4 comments
Labels
critical High priority issue or bug
Milestone

Comments

@SpenceKonde
Copy link
Owner

Uhhhh guys.... is NOBODY initializing fuses now that I made it unnecessary to do so unless you want to disable UPDI, save EEPROM across chip erase, or

And is NOBODY using Optiboot?

This bloody simple functionality has been broken since the boards.txt refresh in 2.3.2 - platform.txt got switched to the new name, boards.txt didn't.

Y'all gotta up your game - I should not get away with releasing a version with such a highly visible bug.

@SpenceKonde SpenceKonde added the critical High priority issue or bug label Aug 26, 2021
@SpenceKonde SpenceKonde added this to the 2.4.x milestone Aug 26, 2021
@grandaspanna
Copy link

I'm running 2.3.2 and routinely "tools->burn bootloader". No errors have popped up - I don't use Optiboot - I don't really see the point for what I do. Is it not doing something?

@SpenceKonde
Copy link
Owner Author

SpenceKonde commented Aug 27, 2021

@grandaspanna And you're using SerialUPDI as the programmer?

You should be getting a python error from prog.py because the IDE is passing an invalid command ( "{bootloader.serialupdistring}" instead of "-aerase", because platform.txt was changed to refer to that, but boards.txt still named it bootloader.pymcuprogstring)

@mechatroniks-git
Copy link
Contributor

Never tried the bootloader (one wire is nice, not sure what the advantage would be for Optiboot).

@grandaspanna
Copy link

@grandaspanna And you're using SerialUPDI as the programmer?

You should be getting a python error from prog.py because the IDE is passing an invalid command ( "{bootloader.serialupdistring}" instead of "-aerase", because platform.txt was changed to refer to that, but boards.txt still named it bootloader.pymcuprogstring)

Yes, been using SerialUPDI. This is the command "burn bootloader" generates:
C:\Users\...\megaTinyCore\tools\python3\3.7.2-post1/python3 -u C:\...\packages\megaTinyCore\hardware\megaavr\2.3.2/tools/prog.py -t uart -u COM5 -b 230400 -d attiny412 --fuses 0:0x00 1:0b00000101 2:0x01 4:0x00 5:0b11000101 6:0x07 7:0x00 8:0x00 -aerase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
critical High priority issue or bug
Projects
None yet
Development

No branches or pull requests

3 participants