So I am having an odd thing and the purpose of this question is just to see if anyone else has experienced this at all..
The issue is I have a program that has 4 Sections (all do similar things, but use different sets of data and class instances). Cant upload code due to proprietary reasons. So I am just wondering if others have seen this, dealt with this, or have any work arounds.
Anyway , when I have 3 of the 4 sections running (just the processing of the sections all the Class instances are still created into memory that are used for all 4 sections. everything works fine.. AVR Dude is able to put the ProMicro Clone into Bootloader mode, upload the firmware and start running again.. this can be repeated and all is good.
HOWEVER, when I enable that fourth section along with the other three so everything is running processes. the actual running of the program works absolutely fine, everything is good, everything works.. BUT.. when I try to re-upload the program (say if I needed a remote firmware update) something now is blocking the devices ability to go into bootloader mode and it fails to do so stopping at the "Baudrate Override 57600" in the verbose logging..
Resetting the device with the RST/GND works to get it to reload but I really need it to auto enter the bootloader mode (with all portions of the program running)
At first I thought it was possibly a RAM issue but using the Heap monitor code it is showing I have 372 bytes left. which given nothing else creates or destroys this seems adequate. the RAM remaining when the 3 working sections are running is 384 bytes so a 12 byte more usage for processing.
I just noticed that If I get it to Fail this error comes up - "avrdude: ser_drain(): read error: Device not configured"
Anyway any ideas as to why this might be??