Atmega 8a starting delay problem
previously had used atmega328p projects standalone microcontroller, , want replace atmega 8a. although replaced , working fine except starting delay i.e unlike atmega 328p, takes around 9-10 seconds start working first time. can removed? if not wrong ,the problem because of bootloader. there solution this?
the atmega8 official bootloader called "arduino ng". 1 of first arduino boards. there no auto-reset via dtr signal upload sketch , reset button had pressed, , there 10 seconds sketch uploaded.
you optiboot bootloader or make 1 yourself.
with little luck bootloader less 512 bytes.
you have add new board "boards.txt" file.
another option use programmer upload sketch. bootloader removed , sketch starts immediately.
did try new arduino ide 1.6.10 ? has -flto option enabled default, , should shrink code , sram usage 5 20% atmega8.
you optiboot bootloader or make 1 yourself.
with little luck bootloader less 512 bytes.
you have add new board "boards.txt" file.
another option use programmer upload sketch. bootloader removed , sketch starts immediately.
did try new arduino ide 1.6.10 ? has -flto option enabled default, , should shrink code , sram usage 5 20% atmega8.
Arduino Forum > Using Arduino > Microcontrollers > Atmega 8a starting delay problem
arduino
Comments
Post a Comment