Entering Automatic Programming mode from USB-C
Posted: Sat May 15, 2021 11:24 am
Hi Everybody,
I seem to be struggling to find the right combination of values to make programming an ESP32 automatic.
My Goal is to run finished device on 12v DC in a vehicle so Must have a 12v input to power everything I decided I could only power CH340n from the host USB power. I think this was a bad move.
The normal Dev boards use micro USB plugs but I have tried to use USB-C. The schematic shows components without values. I am hopping someone can suggest working values for me to try. I have got scope traces of the rise and fall times of the CTS DTR lines each side of the transistors. I seem to have options of works from 5v and programs but wont run from 12v. Runs from 12v and 5v plugged in together but wont program. Runs from 12v with no programming but I can re-flash with OTA code from pc or phone.. Slow.
So the question, Is it possible to enter programming mode automatically and run finished device solely from 12v
https://1drv.ms/u/s!AtmN4LISfE0X-y2XgMv ... y?e=8zP3E4
I seem to be struggling to find the right combination of values to make programming an ESP32 automatic.
My Goal is to run finished device on 12v DC in a vehicle so Must have a 12v input to power everything I decided I could only power CH340n from the host USB power. I think this was a bad move.
The normal Dev boards use micro USB plugs but I have tried to use USB-C. The schematic shows components without values. I am hopping someone can suggest working values for me to try. I have got scope traces of the rise and fall times of the CTS DTR lines each side of the transistors. I seem to have options of works from 5v and programs but wont run from 12v. Runs from 12v and 5v plugged in together but wont program. Runs from 12v with no programming but I can re-flash with OTA code from pc or phone.. Slow.
So the question, Is it possible to enter programming mode automatically and run finished device solely from 12v
https://1drv.ms/u/s!AtmN4LISfE0X-y2XgMv ... y?e=8zP3E4