availablebehave in a sane manner. waiting for
available()to grow above some arbitrary threshold might not always work, so it's better to read out all the data as it becomes available.
When people are discussing issues with the arduino console and say that the module "stops", do you mean it resets itself? I always thought that was normal, and kind of useful when you may want to catch serial output asap if you're debugging.
Unless you're saying that it just resets and stays in the reset state e.g the line isn't being allowed to float back to 3.3v via R4?
@Links2004 i don't need a automatic upload. i found a solution with the schematic from the nodemcu board. if i disconnect the RTS pin from the ftdi... i can flash the module (with a jumper between GPIO0 and GND) and i have a console in arduino.
the question is now: do i need the schematic from the nodemcu board? or is there a easier way to do this?