-->
Page 1 of 2

RTS / DTR (again)

PostPosted: Tue Sep 27, 2016 7:17 am
by TJF
Hi
I did this board
Board.jpg
with an ESP-03 on it. The 6 pin connector in the middle has 2xGND, TX, RX, RTS, DTR on it.
At the beginning a few month ago the automatic upload worked fine (wiring RTS to CH_PD and DTR to GPIO0).
But after the recent updates only manual upload works (manually put DTR to GND while uploading).
On The logic analyzer RTS and DTR are always high.
Looking at the boards.txt:
generic.upload.tool=esptool
generic.upload.speed=115200
generic.upload.resetmethod=ck
generic.upload.maximum_size=434160
generic.upload.maximum_data_size=81920
generic.upload.wait_for_upload_port=true
generic.serial.disableDTR=true
generic.serial.disableRTS=true
In the file I see "disableDTR" and RTS set to true. But neither changing this to false nor comment the lines out changes anything.
Config: Windows 10, Arduino 1.6.10, esp8266 2.3.0, using Generic ESP8266 Module.
So, anyone an idea what's wrong here, or what I am doing wrong?
Best regards
Thomas

Re: RTS / DTR (again)

PostPosted: Wed Sep 28, 2016 9:03 am
by martinayotte
You must have use in the past other variant than "generic", since the "resetmethod=ck" has always been manual.

Re: RTS / DTR (again)

PostPosted: Thu Sep 29, 2016 3:49 am
by TJF
In the Doku:
ck=RTS controls RESET or CH_PD, DTR controls GPIO0
And: I always used "generic" for the ESP-03 board. And it DID work.
But OK will try another board type, just to check whether RTS/DTR react differnetly....
Best regards
Thomas

Re: RTS / DTR (again)

PostPosted: Thu Sep 29, 2016 8:51 am
by TJF
Hi Martinayotte
sorry, but no. I always used "generic" for the ESP-03 modules. And it DID work (I programmed dozen’s of boards without touching any pin, just by plugging the 6 PIN connector mentioned above.
And in the Docu:
ck = RTS controls RESET or CH_PD, DTR controls GPIO0
Maybe I try another board spec with the ESP-03 just to be sure, but the right one would be generic of course.
Best regards
Thomas