I am having trouble with something that I thought would be fairly simple. My project consists of a Teensy 3.2(Serial3) connected to an ESP12E(Serial) and would like to be able to update the ESP firmware using the Teensy USB connection. I have code running (USBtoSerial) on the Teensy that passes the data through to the ESP. While attempting this from the Arduino IDE, everything appears to work as expected. It shows that 100% of the data is transferred. Randomly, maybe 1 out of 5 times, the ESP is programmed correctly. The other times, the ESP seems corrupted and will not startup properly. I literally can try it several times in a row, with zero changes, and it will randomly work or not work. Banging my head against the wall because I cant figure out what the problem is.
Any suggestions?
Any suggestions?