-
Notifications
You must be signed in to change notification settings - Fork 308
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
(enh) Re-implement optiboot support for 84, 85, maybe 861 #18
Comments
I'd really appreciate this! I don't have any experience with bootloaders loaded on microcontrollers without hardware UART. Does this mean that I don't have to include the soft serial library if I want to send data to the serial monitor? Anyway, if Optiboot support is added, maybe it's a good idea to include a simple sketch to tune the internal oscillator. My ATtinys where completely off scale when I first got them |
Yes - you need to use softwareserial to get serial on the ATtiny's without a UART- which as you may be aware (from the forums) is a little flaky. The readme for the old bootloaders suggests that they can be built with the tuner included (connect @9600 baud after burning bootloader and send a certain character until it says it's done) which you're supposed to use after burning the bootloader, which then writes the new OSCCAL value to flash. |
If you're planning on implementing optiboot sometime, have a look at this thread: MCUdude/MightyCore#24 |
I'm confused as to why you would put hooks into the core to support calling that to write the flash? How is it better than writing the flash from within the sketch? Or are those chips where only the bootloader can write the flash? The ATTiny chips don't have a special bootloader section that code that writes the flash has to be located in, so I think the callouts to the bootloader may not be helpful here? How much does it add to the size to permit that sort of thing? |
This issue now handled in #141 |
Should be able to do 8/12/16 mhz versions with the same binary, running at 19200, 28800 and 38400 respectively.
Edit:167 now tracked in #55.
The text was updated successfully, but these errors were encountered: