Прошу помощи. Сам разобраться не смог. Если коротко : подключаюсь ESP8266 на АТ к серверу на прошивке Esp link. При первом подключении работает правильно. После перезагрузки пишет ошибка на АТ команду CIPSTART. Перепрошиваю бланк на адрес 0*FE000. Снова один раз работает и потом после ресета снова ошибка. Если нужно распишу подробнее. С прогами через комп (PUTTY, Net Asis, Hercules) работает правильно.
Код:
Terminal log file
Date: 14.10.2021 - 20:05:13
-----------------------------------------------
GФZ€QP@XdY…g
МQ+kSPPц
ФWJ5•V‰DDVi`\ dX`XPP5}h[hVиWu!†@GсZsXDQUgOXmІDuc
`\Тm
`XPP5}|ZЙ@Xu{`PDZs ZDQUgOX3ІDuc
`\Тm
hR–@Vк!ixVиWw! ДZsXDQUgOX%ІDvk
`\RDDX%!ц
шSvse!fV‰tRi1iDGqCE¬XJihP ”D·D+Pti
hP+GDI+PКc!4u
XPa`G6iµYrEіdXU3ЃьTЛaрWи[[¶eЂP`XDDQ…eНiШVgWaЃьJІDtДЬX
МQY*i…5h[D*kрXg
ФVe5!DЦWFhMhP`GQm5dYЃ\`XDXЄ#ґP`YDGqEшSV@Y…V‰d[RМQ6@Qua5iЂPshXhX@Y©hZpGqшSV@YtZГVаXшSV@YXXDGс
ready
AT+GMR
AT version:1.7.4.0(May 11 2020 19:13:04)
SDK version:3.0.4(9532ceb)
compile time:May 27 2020 10:12:17
Bin version(Wroom 02):1.7.4
OK
AT+RST
OK
b„¤d䄆…¤¦…¤„…§†е‡Д‡д¦¦FCГ‡„Д„„„„††‡…¦†еЗ„…b„Ж„bЕ§Д„¦EГ‡„ДҐ…†„††‡ҐД¤з††b„Ж„bЕ§Д„ЖEГ‡„ДҐ…¦Ґ††‡ҐЕ¤з†„b„Ж„bЕ§Д„¦EЈ…†ДҐbbе„凤¤Ез䄧†¤ЕҐF#@$„„д„Dвb‚в„дbb‚Б¤†Б‡¤D„‡FЕД„eб„eБb‡†„‡…‡¤¤„Ђ„„bb奤„Е¤††DуJІDtAT+GMR
AT version:1.7.4.0(May 11 2020 19:13:04)
SDK version:3.0.4(9532ceb)
compile time:May 27 2020 10:12:17
Bin version(Wroom 02):1.7.4
OK
AT+CWMODE_DEF=3
OK
AT+CWJAP_DEF="ESP01_V3014","88888888"
WIFI CONNECTED
+CWJAP:1
FAIL
WIFI DISCONNECT
AT+CWMODE_DEF=3
OK
AT+CWJAP_DEF="ESP01_V3014","88888888"
WIFI CONNECTED
WIFI GOT IP
OK
AT+CIPSTART="TCP","192.168.4.1",23
CONNECT
OK
+IPD,10::v017926
+IPD,10::v017927
+IPD,10::v017928
+IPD,10::v017929
+IPD,10::v017930
+IPD,10::v017931
+IPD,10::v017932
+IPD,10::v017933
+IPD,10::v017934
AT+CIPCLOSE
+IPD,10::v017935
CLOSED
OK
AT+CIPSTART="TCP","192.168.4.1",23
CONNECT
OK
+IPD,10::v017962
+IPD,10::v017963
+IPD,10::v017964
+IPD,10::v017965
+IPD,10::v017966
+IPD,10::v017967
+IPD,10::v017968
+IPD,10::v017969
AT+CIPCLOSE
+IPD,10::v017970
+IPD,10::v017971
+IPD,10::v017972
CLOSED
OK
AT+RST
OK
WIFI DISCONNECT
b„¤d䄆…¤¦…¤„…§†е‡Д‡д¦¦FCГ‡„Д„„„„††‡…¦†еЗ„…b„Ж„bЕ§Д„¦EГ‡„ДҐ…†„††‡ҐД¤з††b„Ж„bЕ§Д„ЖEГ‡„ДҐ…¦Ґ††‡ҐЕ¤з†„b„Ж„bЕ§Д„¦EЈ…†ДҐbbе„凤¤Ез䄧†¤ЕҐF#@$„„д„Dвb‚в„дbb‚Б¤†Б‡¤D„‡FЕД„eб„eБb‡†„‡…‡¤¤„Ђ„„bb奤„Е¤††DуJІDtV‰d[RМS6@Qua5iЂPshXhX@Y«hZpGqшSV@YtZГVаXшSV@YXXDGс
ready
WIFI CONNECTED
WIFI GOT IP
AT+CIPSTART="TCP","192.168.4.1",23
ERROR
CLOSED
AT+CIPSTART="TCP","192.168.4.1",23
ERROR
CLOSED
AT+CWJAP?
+CWJAP:"ESP01_V3014","5e:cf:7f:19:ee:9a",1,-14,0
OK
AT+CWMODE_DEF=3
OK
AT+CIPMUX=0
OK
AT+CIPSTART="TCP","192.168.4.1",23
ERROR
CLOSED
-----------------------------------------------
Date: 14.10.2021 - 20:11:15
End log file
Код:
Terminal log file
Date: 14.10.2021 - 20:05:13
-----------------------------------------------
GФZ€QP@XdY…g
МQ+kSPPц
ФWJ5•V‰DDVi`\ dX`XPP5}h[hVиWu!†@GсZsXDQUgOXmІDuc
`\Тm
`XPP5}|ZЙ@Xu{`PDZs ZDQUgOX3ІDuc
`\Тm
hR–@Vк!ixVиWw! ДZsXDQUgOX%ІDvk
`\RDDX%!ц
шSvse!fV‰tRi1iDGqCE¬XJihP ”D·D+Pti
hP+GDI+PКc!4u
XPa`G6iµYrEіdXU3ЃьTЛaрWи[[¶eЂP`XDDQ…eНiШVgWaЃьJІDtДЬX
МQY*i…5h[D*kрXg
ФVe5!DЦWFhMhP`GQm5dYЃ\`XDXЄ#ґP`YDGqEшSV@Y…V‰d[RМQ6@Qua5iЂPshXhX@Y©hZpGqшSV@YtZГVаXшSV@YXXDGс
ready
AT+GMR
AT version:1.7.4.0(May 11 2020 19:13:04)
SDK version:3.0.4(9532ceb)
compile time:May 27 2020 10:12:17
Bin version(Wroom 02):1.7.4
OK
AT+RST
OK
b„¤d䄆…¤¦…¤„…§†е‡Д‡д¦¦FCГ‡„Д„„„„††‡…¦†еЗ„…b„Ж„bЕ§Д„¦EГ‡„ДҐ…†„††‡ҐД¤з††b„Ж„bЕ§Д„ЖEГ‡„ДҐ…¦Ґ††‡ҐЕ¤з†„b„Ж„bЕ§Д„¦EЈ…†ДҐbbе„凤¤Ез䄧†¤ЕҐF#@$„„д„Dвb‚в„дbb‚Б¤†Б‡¤D„‡FЕД„eб„eБb‡†„‡…‡¤¤„Ђ„„bb奤„Е¤††DуJІDtAT+GMR
AT version:1.7.4.0(May 11 2020 19:13:04)
SDK version:3.0.4(9532ceb)
compile time:May 27 2020 10:12:17
Bin version(Wroom 02):1.7.4
OK
AT+CWMODE_DEF=3
OK
AT+CWJAP_DEF="ESP01_V3014","88888888"
WIFI CONNECTED
+CWJAP:1
FAIL
WIFI DISCONNECT
AT+CWMODE_DEF=3
OK
AT+CWJAP_DEF="ESP01_V3014","88888888"
WIFI CONNECTED
WIFI GOT IP
OK
AT+CIPSTART="TCP","192.168.4.1",23
CONNECT
OK
+IPD,10::v017926
+IPD,10::v017927
+IPD,10::v017928
+IPD,10::v017929
+IPD,10::v017930
+IPD,10::v017931
+IPD,10::v017932
+IPD,10::v017933
+IPD,10::v017934
AT+CIPCLOSE
+IPD,10::v017935
CLOSED
OK
AT+CIPSTART="TCP","192.168.4.1",23
CONNECT
OK
+IPD,10::v017962
+IPD,10::v017963
+IPD,10::v017964
+IPD,10::v017965
+IPD,10::v017966
+IPD,10::v017967
+IPD,10::v017968
+IPD,10::v017969
AT+CIPCLOSE
+IPD,10::v017970
+IPD,10::v017971
+IPD,10::v017972
CLOSED
OK
AT+RST
OK
WIFI DISCONNECT
b„¤d䄆…¤¦…¤„…§†е‡Д‡д¦¦FCГ‡„Д„„„„††‡…¦†еЗ„…b„Ж„bЕ§Д„¦EГ‡„ДҐ…†„††‡ҐД¤з††b„Ж„bЕ§Д„ЖEГ‡„ДҐ…¦Ґ††‡ҐЕ¤з†„b„Ж„bЕ§Д„¦EЈ…†ДҐbbе„凤¤Ез䄧†¤ЕҐF#@$„„д„Dвb‚в„дbb‚Б¤†Б‡¤D„‡FЕД„eб„eБb‡†„‡…‡¤¤„Ђ„„bb奤„Е¤††DуJІDtV‰d[RМS6@Qua5iЂPshXhX@Y«hZpGqшSV@YtZГVаXшSV@YXXDGс
ready
WIFI CONNECTED
WIFI GOT IP
AT+CIPSTART="TCP","192.168.4.1",23
ERROR
CLOSED
AT+CIPSTART="TCP","192.168.4.1",23
ERROR
CLOSED
AT+CWJAP?
+CWJAP:"ESP01_V3014","5e:cf:7f:19:ee:9a",1,-14,0
OK
AT+CWMODE_DEF=3
OK
AT+CIPMUX=0
OK
AT+CIPSTART="TCP","192.168.4.1",23
ERROR
CLOSED
-----------------------------------------------
Date: 14.10.2021 - 20:11:15
End log file