esptool reset after upload
Posted: Thu Jun 21, 2018 9:17 pm
I can successfully upload code to my Wroom-32 modules using windows arduino environment. The upload is automatic based on using DTR to activate upload mode and reset the chip. As I don't have RTS available I must then separately reset the module to run the code.
The esptool.py version of the tool seems to indicate that there is a possibility of using soft_reset rather than the hard_reset (DTR / RTS) method which is passed as an --after parameter into esptool.
I want to try this to see if it works but I can't see how to persuade the arduino environment to run the tool with the soft_reset method.
The boards definition doesn't seem to have anything in about that and I also tried setting the environment variable ESPTOOL_AFTER to soft_reset without success.
Is there some method to do this?
The esptool.py version of the tool seems to indicate that there is a possibility of using soft_reset rather than the hard_reset (DTR / RTS) method which is passed as an --after parameter into esptool.
I want to try this to see if it works but I can't see how to persuade the arduino environment to run the tool with the soft_reset method.
The boards definition doesn't seem to have anything in about that and I also tried setting the environment variable ESPTOOL_AFTER to soft_reset without success.
Is there some method to do this?