leaving hard resetting via rts pin что это
Leaving.. Hard reseting via RTS pin. on ESP8266 NODEMCU #6336
Comments
Saketh-Bobbala commented Jul 24, 2019 •
Platform
Settings in IDE
Problem Description
Unable to upload code to nodemcu (Leaving. Resetting via RTS pin)
MCVE Sketch
#define BLYNK_PRINT Serial
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = «yPCwZ9AtBsjxhbzx2xGGieUodNAofDk»;
// Your WiFi credentials.
// Set password to «» for open networks.
char ssid[] = «TP-Link»;
char pass[] = «12345678»;
void setup()
<
// Debug console
Serial.begin(11520);
Blynk.begin(auth, ssid, pass);
>
The text was updated successfully, but these errors were encountered:
jandrassy commented Jul 24, 2019
it is a sucessful upload. the esptool resets the esp8266 after upload
Saketh-Bobbala commented Jul 24, 2019 •
jandrassy commented Jul 24, 2019 •
reset is immediate. how do you know it doesn’t work?
why do you set Generic ESP8266 if you have a NodeMcu?
Saketh-Bobbala commented Jul 24, 2019
d-a-v commented Jul 24, 2019
Check GPIOs are correctly driven at boot or reset time:
jandrassy commented Jul 24, 2019
devyte commented Jul 24, 2019
Closing because I don’t see a core issue here.
sakthi123-s commented Sep 21, 2019 •
I am also get same error
Hard resetting via rts pins how to solve it any suggestions
jandrassy commented Sep 22, 2019
I am also get same error
Hard resetting via rts pains how to solve it any suggestions
read the comments above
GonzalezAnguita commented Oct 26, 2019
After updating the Arduino IDE to 1.8.10 the ESP-01s with this usb adapter does not reset after successfully uploading a program using the generic configuration. I’ve tried with a NodeMCU 0.9 (ESP-12) and that one resets correctly using the board specific configuration.
d-a-v commented Oct 26, 2019
jandrassy commented Oct 27, 2019 •
@d-a-v they left the switch in programming mode. the old esptool didn’t reset after upload so the uploaded sketch did run until next reset. It allowed quick debugging.
d-a-v commented Oct 27, 2019
DuKings commented Nov 14, 2019
@Saketh-Bobbala I Had the same issue, try changing the baud value in the serial monitor (do this if you are using Arduino) to the one that is in the code.
jithin-pal commented Nov 16, 2019
change the connection frequency to 2.4Ghz
VeeruSubbuAmi commented Dec 10, 2019
MrPxx commented Feb 17, 2020
@Saketh-Bobbala This worked for me. Tools > Reset Method > «no dtr (aka ck)».
Then I got this :
Writing at 0x00000000. (7 %)
Writing at 0x00004000. (15 %)
Writing at 0x00008000. (23 %)
Writing at 0x0000c000. (30 %)
Writing at 0x00010000. (38 %)
Writing at 0x00014000. (46 %)
Writing at 0x00018000. (53 %)
Writing at 0x0001c000. (61 %)
Writing at 0x00020000. (69 %)
Writing at 0x00024000. (76 %)
Writing at 0x00028000. (84 %)
Writing at 0x0002c000. (92 %)
Writing at 0x00030000. (100 %)
Wrote 277792 bytes (202445 compressed) at 0x00000000 in 18.0 seconds (effective 123.8 kbit/s).
Hash of data verified.
Leaving.
Soft resetting.
rugimike commented Mar 1, 2020
I solved it this way:
-connect the serial port(GPIO 0) to ground. makes arduino act as a serial port to ESP8266
-run the sketch.
-while it starts connecting, connect the RESET of ESP8266 to ground. then disconnect before connecting. finishes.
-the above resets the ESP8266. remember, all this time, RESET of the arduino is grounded.
-Wait for the code to be uploaded to ESP8266.
-When you see. ‘ leaving.. hard reseting via RST pin’, disconnect the serial port(GPIO 0).
then connect the RESET of ESP8266 to ground for 1 second and then release it.
when you release it, the program will start running. you will see this in the serial monitor.(make sure you
select the correct baud rate on the serial monitor)
-Above should work well
rugimike commented Mar 1, 2020
@Saketh-Bobbala This worked for me. Tools > Reset Method > «no dtr (aka ck)».
Then I got this :
Writing at 0x00000000. (7 %)
Writing at 0x00004000. (15 %)
Writing at 0x00008000. (23 %)
Writing at 0x0000c000. (30 %)
Writing at 0x00010000. (38 %)
Writing at 0x00014000. (46 %)
Writing at 0x00018000. (53 %)
Writing at 0x0001c000. (61 %)
Writing at 0x00020000. (69 %)
Writing at 0x00024000. (76 %)
Writing at 0x00028000. (84 %)
Writing at 0x0002c000. (92 %)
Writing at 0x00030000. (100 %)
Wrote 277792 bytes (202445 compressed) at 0x00000000 in 18.0 seconds (effective 123.8 kbit/s).
Hash of data verified.
jandrassy commented Mar 1, 2020 •
@rugimike, if your board doesn’t have autoreset feature, you don’t need to make this adrenaline action. if io 0 is low at reset the esp8266 starts in flashing mode and stays in it until next reset. then at reset again the io 0 level counts
MehranChivoi commented Mar 29, 2020
ahmettsdvn commented Jun 7, 2020
I solved it this way:
-connect the serial port(GPIO 0) to ground. makes arduino act as a serial port to ESP8266
-run the sketch.
-while it starts connecting, connect the RESET of ESP8266 to ground. then disconnect before connecting. finishes.
-the above resets the ESP8266. remember, all this time, RESET of the arduino is grounded.
-Wait for the code to be uploaded to ESP8266.
-When you see. ‘ leaving.. hard reseting via RST pin’, disconnect the serial port(GPIO 0).
then connect the RESET of ESP8266 to ground for 1 second and then release it.
when you release it, the program will start running. you will see this in the serial monitor.(make sure you
select the correct baud rate on the serial monitor)
Leaving hard resetting via rts pin что это
ПРЕДУПРЕЖДЕНИЕ: библиотека Timezone должна запускаться на архитектурах avr и может быть несовместима с вашей платой на архитектуре esp8266.
In file included from C:\GyverLamp-master\firmware\GyverLamp_v1.4\GyverLamp_v1.4.ino:122:0:
C:\Program Files\arduino-1.8.11\libraries\libraries\FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.003.002
# pragma message «FastLED version 3.003.002»
In file included from C:\Program Files\arduino-1.8.11\libraries\libraries\FastLED/FastLED.h:65:0,
C:\Program Files\arduino-1.8.11\libraries\libraries\FastLED/fastspi.h:130:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output
# pragma message «No hardware SPI pins defined. All SPI access will default to bitbanged output»
Скетч использует 371848 байт (35%) памяти устройства. Всего доступно 1044464 байт.
Глобальные переменные используют 36508 байт (44%) динамической памяти, оставляя 45412 байт для локальных переменных. Максимум: 81920 байт.
esptool.py v2.6
2.6
esptool.py v2.6
Serial port COM9
Connecting.
Chip is ESP8266EX
Features: WiFi
MAC: 84:f3:eb:dc:de:98
Uploading stub.
Running stub.
Stub running.
Changing baud rate to 460800
Changed.
Configuring flash size.
Auto-detected Flash size: 4MB
Compressed 376000 bytes to 265139.
Writing at 0x00000000. (5 %)
Writing at 0x00004000. (11 %)
Writing at 0x00008000. (17 %)
Writing at 0x0000c000. (23 %)
Writing at 0x00010000. (29 %)
Writing at 0x00014000. (35 %)
Writing at 0x00018000. (41 %)
Writing at 0x0001c000. (47 %)
Writing at 0x00020000. (52 %)
Writing at 0x00024000. (58 %)
Writing at 0x00028000. (64 %)
Writing at 0x0002c000. (70 %)
Writing at 0x00030000. (76 %)
Writing at 0x00034000. (82 %)
Writing at 0x00038000. (88 %)
Writing at 0x0003c000. (94 %)
Writing at 0x00040000. (100 %)
Wrote 376000 bytes (265139 compressed) at 0x00000000 in 6.0 seconds (effective 498.9 kbit/s).
Hash of data verified.
Leaving.
Hard resetting via RTS pin.
Неверная библиотека найдена в C:\Program Files\arduino-1.8.11\libraries\libraries: нет заголовочных файлов (.h), найденных в C:\Program Files\arduino-1.8.11\libraries\libraries
Неверная библиотека найдена в C:\Program Files\arduino-1.8.11\libraries\libraries: нет заголовочных файлов (.h), найденных в C:\Program Files\arduino-1.8.11\libraries\libraries
Comments
twdodson67 commented Mar 5, 2018
Sketch uses 551374 bytes (42%) of program storage space. Maximum is 1310720 bytes.
Global variables use 37472 bytes (12%) of dynamic memory, leaving 257440 bytes for local variables. Maximum is 294912 bytes.
esptool.py v2.1
Connecting.
Chip is ESP32D0WDQ6 (revision 1)
Uploading stub.
Running stub.
Stub running.
Configuring flash size.
Auto-detected Flash size: 4MB
Compressed 8192 bytes to 47.
Writing at 0x0000e000. (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 5461.3 kbit/s).
Hash of data verified.
Compressed 12304 bytes to 8126.
Writing at 0x00001000. (100 %)
Wrote 12304 bytes (8126 compressed) at 0x00001000 in 0.7 seconds (effective 135.2 kbit/s).
Hash of data verified.
Compressed 552528 bytes to 315957.
Writing at 0x00010000. (5 %)
Writing at 0x00014000. (10 %)
Writing at 0x00018000. (15 %)
Writing at 0x0001c000. (20 %)
Writing at 0x00020000. (25 %)
Writing at 0x00024000. (30 %)
Writing at 0x00028000. (35 %)
Writing at 0x0002c000. (40 %)
Writing at 0x00030000. (45 %)
Writing at 0x00034000. (50 %)
Writing at 0x00038000. (55 %)
Writing at 0x0003c000. (60 %)
Writing at 0x00040000. (65 %)
Writing at 0x00044000. (70 %)
Writing at 0x00048000. (75 %)
Writing at 0x0004c000. (80 %)
Writing at 0x00050000. (85 %)
Writing at 0x00054000. (90 %)
Writing at 0x00058000. (95 %)
Writing at 0x0005c000. (100 %)
Wrote 552528 bytes (315957 compressed) at 0x00010000 in 28.1 seconds (effective 157.4 kbit/s).
Hash of data verified.
Compressed 3072 bytes to 122.
Writing at 0x00008000. (100 %)
Wrote 3072 bytes (122 compressed) at 0x00008000 in 0.0 seconds (effective 1365.3 kbit/s).
Hash of data verified.
Leaving.
Hard resetting.
The text was updated successfully, but these errors were encountered:
Комментарии
recoshet
В течении пары дней (но эт не точно), здесь появятся ссылки на все обновления, приложения, ошибки, версии исполнения и т.д)
ATTENTION : все у кого прошивка от gunner47 прошу переползать в тему
https://community.alexgyver.ru/threads/wifi-lampa-budilnik-obsuzhdenie-proshivki-ot-gunner47.2418/
Данная тема будет очищена от мусора, все дельное перенесено в тему выше ПО КАЖДОМУ АВТОРУ (у каждого автора прошивки будет своя тема)
Pavick
lakec
в файле url_init.h к примеру для вашего варианта с кнопкой включения код примерно такой
тоже самое и обработчике кнопок.
Если нужно отправить все параметры урл создайте примерно такой
ЗЫ. И поменяйте у себя в обработчике кнопки включения EEPROM.read(210) на EEPROM.read(207). 210 адрес уже используется.
Код не проверял, дал примерный для понимания принципа
private131
Здравствуйте! Прошу не пинать, новичок. Помогите.
Загрузил 1.4
выдает это
In file included from C:\Users\РќРёРє\Desktop\GyverLamp-master\firmware\GyverLamp_v1.4\GyverLamp_v1.4.ino:73:0:
C:\Program Files (x86)\Arduino\libraries\FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.002.009
# pragma message «FastLED version 3.002.009»
In file included from C:\Program Files (x86)\Arduino\libraries\FastLED/FastLED.h:65:0,
C:\Program Files (x86)\Arduino\libraries\FastLED/fastspi.h:115:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output
# pragma message «No hardware SPI pins defined. All SPI access will default to bitbanged output»
Archiving built core (caching) in: C:\Users\D927
1\AppData\Local\Temp\arduino_cache_702275\core\core_esp8266_esp8266_generic_xtal_80,vt_flash,exception_disabled,ssl_all,ResetMethod_ck,CrystalFreq_26,FlashFreq_40,FlashMode_dout,eesz_4M,led_2,sdk_nonosdk221,ip_hb2f,dbg_Disabled,lvl_None____,wipe_none,baud_921600_bbee046b8701ef351fdc8fb34ce06551.a
Скетч использует 326824 байт (31%) памяти устройства. Всего доступно 1044464 байт.
Глобальные переменные используют 43696 байт (53%) динамической памяти, оставляя 38224 байт для локальных переменных. Максимум: 81920 байт.
esptool.py v2.6
2.6
esptool.py v2.6
Serial port COM7
Connecting.
Chip is ESP8266EX
Features: WiFi
MAC: 84:f3:eb:cb:3f:61
Uploading stub.
Running stub.
Stub running.
Changing baud rate to 460800
Changed.
Configuring flash size.
Auto-detected Flash size: 4MB
Compressed 330976 bytes to 235484.
Writing at 0x00000000. (6 %)
Writing at 0x00004000. (13 %)
Writing at 0x00008000. (20 %)
Writing at 0x0000c000. (26 %)
Writing at 0x00010000. (33 %)
Writing at 0x00014000. (40 %)
Writing at 0x00018000. (46 %)
Writing at 0x0001c000. (53 %)
Writing at 0x00020000. (60 %)
Writing at 0x00024000. (66 %)
Writing at 0x00028000. (73 %)
Writing at 0x0002c000. (80 %)
Writing at 0x00030000. (86 %)
Writing at 0x00034000. (93 %)
Writing at 0x00038000. (100 %)
Wrote 330976 bytes (235484 compressed) at 0x00000000 in 5.5 seconds (effective 481.6 kbit/s).
Hash of data verified.
Leaving hard resetting via rts pin что это
In file included from C:\Users\Corsair\Desktop\GyverLamp-master\firmware\GyverLamp_v1.5.5\GyverLamp_v1.5.5.ino:97:0:
C:\Program Files (x86)\Arduino\libraries\FastLED-3.2.9/FastLED.h:14:21: note: #pragma message: FastLED version 3.002.009
# pragma message «FastLED version 3.002.009»
In file included from C:\Program Files (x86)\Arduino\libraries\FastLED-3.2.9/FastLED.h:65:0,
C:\Program Files (x86)\Arduino\libraries\FastLED-3.2.9/fastspi.h:115:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output
# pragma message «No hardware SPI pins defined. All SPI access will default to bitbanged output»
Скетч использует 329632 байт (31%) памяти устройства. Всего доступно 1044464 байт.
Глобальные переменные используют 43748 байт (53%) динамической памяти, оставляя 38172 байт для локальных переменных. Максимум: 81920 байт.
esptool.py v2.6
2.6
esptool.py v2.6
Serial port COM7
Connecting.
Chip is ESP8266EX
Features: WiFi
MAC: 50:02:91:67:de:0f
Uploading stub.
Running stub.
Stub running.
Changing baud rate to 460800
Changed.
Configuring flash size.
Auto-detected Flash size: 4MB
Compressed 333792 bytes to 237492.
Writing at 0x00000000. (6 %)
Writing at 0x00004000. (13 %)
Writing at 0x00008000. (20 %)
Writing at 0x0000c000. (26 %)
Writing at 0x00010000. (33 %)
Writing at 0x00014000. (40 %)
Writing at 0x00018000. (46 %)
Writing at 0x0001c000. (53 %)
Writing at 0x00020000. (60 %)
Writing at 0x00024000. (66 %)
Writing at 0x00028000. (73 %)
Writing at 0x0002c000. (80 %)
Writing at 0x00030000. (86 %)
Writing at 0x00034000. (93 %)
Writing at 0x00038000. (100 %)
Wrote 333792 bytes (237492 compressed) at 0x00000000 in 5.4 seconds (effective 498.7 kbit/s).
Hash of data verified.
Leaving.
Hard resetting via RTS pin.
Старик Похабыч
Kostefan
Привет товарищ я нашел причину. на матрице спаял зеленые провода, а этого делать не надо было
DaniilKend
Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Плата:»LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Disabled, 4M (1M SPIFFS), v2 Higher Bandwidth, Disabled, None, Only Sketch, 921600″
In file included from E:\Ардуино\GyverLamp-master\firmware\GyverLamp_v1.1\GyverLamp_v1.1.ino:65:0:
C:\Users\�������\Documents\Arduino\libraries\FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.003.002
# pragma message «FastLED version 3.003.002»
In file included from C:\Users\�������\Documents\Arduino\libraries\FastLED/FastLED.h:65:0,
C:\Users\�������\Documents\Arduino\libraries\FastLED/fastspi.h:130:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output
# pragma message «No hardware SPI pins defined. All SPI access will default to bitbanged output»
Скетч использует 324572 байт (31%) памяти устройства. Всего доступно 1044464 байт.
Глобальные переменные используют 43072 байт (52%) динамической памяти, оставляя 38848 байт для локальных переменных. Максимум: 81920 байт.
error: failed sending 0xC0
error: failed sending 8 bytes
error: failed sending 36 bytes
error: failed sending 0xC0
error: failed sending 0xC0
error: failed sending 8 bytes
error: failed sending 36 bytes
error: failed sending 0xC0
error: failed sending 0xC0
error: failed sending 8 bytes
error: failed sending 36 bytes
error: failed sending 0xC0
error: failed sending 0xC0
error: failed sending 8 bytes
error: failed sending 36 bytes
error: failed sending 0xC0
error: failed sending 0xC0
error: failed sending 8 bytes
error: failed sending 36 bytes
error: failed sending 0xC0
error: failed sending 0xC0
error: failed sending 8 bytes
error: failed sending 36 bytes
error: failed sending 0xC0
error: failed sending 0xC0
error: failed sending 8 bytes
error: failed sending 36 bytes
error: failed sending 0xC0
error: failed sending 0xC0
error: failed sending 8 bytes
error: failed sending 36 bytes
error: failed sending 0xC0
error: failed sending 0xC0
error: failed sending 8 bytes
error: failed sending 36 bytes
error: failed sending 0xC0
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed