Atmega2560 + Atmega16u2 startup problem

Hi pert,

thanks for your suggestion.
It will be helpful to have bootlader so I can easily upload new sketch using USB. But it is not essential.

Host machine always send data, it can happen in 300ms or 10ms, you never know.

I changed high fuse to D9 and uploaded sketch using USBASP and know arduino boot immediately and doesn't lock on startup.

mega.menu.cpu.atmega2560.bootloader.high_fuses=0xD9

It is working, thanks pert :slight_smile: