Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ck reset method not working #35

Open
luggi opened this issue Apr 17, 2016 · 2 comments
Open

ck reset method not working #35

luggi opened this issue Apr 17, 2016 · 2 comments

Comments

@luggi
Copy link

luggi commented Apr 17, 2016

I have connected my esp07-module as shown here: http://reflowster.com/resources/images/blog/esp8266/usbprogram.png and the ck bootloader reset method isn't working.
Altough with esptool.py it works flawlessly. As i'd like to use the arduino ide for flashing instead of doing it manually it would be cool if this issue could be fixed :)
Here are the differences in the code:

void board_ck_rb()
vs https://github.com/themadinventor/esptool/blob/master/esptool.py#L165
Thanks for your help.

@nissimzur
Copy link

Leave rts (rst) line low is error. Has to be 1 after dtr(0)

void board_ck_rb()

{

serialport_set_rts(1);


serialport_set_dtr(1);


serialport_send_break();


espcomm_delay_ms(5);


serialport_set_rts(0);


espcomm_delay_ms(250);          // wait for break to finish


serialport_set_dtr(0);

Kind regards,
Dr. Nissim Zur
Bluetooth Smart, IoT expert

http://www.elinistech.com/ CTO Elinistech
Tel 0544 500635
Tel 03 5716699
Skype callto:nissim.test nissim.test
Follow http://lnkd.in/TTnsGz Linkedin http://lnkd.in/TTnsGz
Email nissim@elinistech.com

            <http://www.elinistech.com/> www.elinistech.com

From: luggi [mailto:notifications@github.com]
Sent: Sunday, April 17, 2016 2:45 PM
To: igrr/esptool-ck
Subject: [igrr/esptool-ck] ck reset method not working (#35)

I have connected my esp07-module as shown here: http://reflowster.com/resources/images/blog/esp8266/usbprogram.png and the ck bootloader reset method isn't working.
Altough with esptool.py it works flawlessly. As i'd like to use the arduino ide for flashing instead of doing it manually it would be cool if this issue could be fixed :)
Here are the differences in the code:

void board_ck_rb()
vs https://github.com/themadinventor/esptool/blob/master/esptool.py#L165
Thanks for your help.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub #35 https://github.com/notifications/beacon/ADgORyiFiF43EnVIp4RP3vhaVz9eyb_rks5p4h0qgaJpZM4IJJPD.gif

@igrr
Copy link
Owner

igrr commented May 10, 2016

Well serialport_set_dtr(0); is not "set DTR line low", it's "deassert DTR line". Normal (non-asserted) state of DTR line is high.

@luggi I'm not sure what we are doing differently, but I'm able to upload with the schematic you linked. The only difference is that I also do have a pullup resistors on GPIO0 and on RST. Which OS and which serial adapter are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants