I'm trying to find a solution to load a new firmware from FTDI FT232RL Serial to ATMEGA328 without using DTR and reset the ATMEGA. I don't want to auto-reset the microcontroller when I insert the USB and open Serial.
I introduced Watchdog feature: wdt_enable(WDTO_4S); in my code and I can reset the controller on demand from the firmware.
Unfortunately optiboot 6.2 does not wait to get a new firmware from Serial.
Am I missing something here?