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

ESP8266-01s with CH340G USB - ESP Link does not provide an AP for configuration #543

Open
msmthng opened this issue Feb 26, 2022 · 36 comments

Comments

@msmthng
Copy link

msmthng commented Feb 26, 2022

I was able to flash using a modified CH340.

image

After reconnecting the device (with an unmodifed) USB Adapter, the blue led on the ESP8266 is flashing. No WiFi is available.

Does anybody have an idea what could be the reason for that.

thx for support.

@msmthng msmthng changed the title ESP8266-01s with CH340G USB ESP8266-01s with CH340G USB - ESP Link does not provide an APN for configuration Feb 26, 2022
@uzi18
Copy link
Contributor

uzi18 commented Feb 26, 2022

First check my builds of 3.2.x version, they are available in other issues

@uzi18
Copy link
Contributor

uzi18 commented Feb 26, 2022

But first try this:
0x80000 esp_init_data_default.bin

@msmthng
Copy link
Author

msmthng commented Feb 27, 2022

same behavior with both tries.

@uzi18
Copy link
Contributor

uzi18 commented Feb 27, 2022

@msmthng do you have serial log ?

@msmthng
Copy link
Author

msmthng commented Feb 27, 2022 via email

@msmthng msmthng changed the title ESP8266-01s with CH340G USB - ESP Link does not provide an APN for configuration ESP8266-01s with CH340G USB - ESP Link does not provide an AP for configuration Feb 27, 2022
@uzi18
Copy link
Contributor

uzi18 commented Feb 27, 2022

Use terminal application like putty with log to file feature enabled.
Options should be same like for flashing but 115200 baud rate.

@uzi18
Copy link
Contributor

uzi18 commented Feb 27, 2022

You can write to me on gitter.im

@msmthng
Copy link
Author

msmthng commented Mar 1, 2022

logoutput:

============ PuTTY log 2022.03.01 11:34:41 ============
„ãû“p�Ã'g€l�ll� �lÇcì‡� ãâ›�sd$œž|Œlà|� �Œ�lì�c|ŽÃ�ä�“;“cŒ�cŒûg'Ÿlngœãä b�xä�l;l{lpûgà����‚�l�� � �c 'ã|�ÄlŽ<„ cŒûogçl„‡l����ng�$���'{‡“›g��ã{l �xónà��� {Œœœãà� ��c�oã|�ì�‡ŽcŒûo'ç �l ����o'�‡�l��o;‡›Ûg� �Œl�xûoà�� �;ŒœœãàŒŒœ8x� gã|�„‡Ç�c„ûgnî�‡l����no�$���'{�’›o��b„l ��r›Ûg� cŒl�{l„Œoœ„ûgoŸ„ŸãÄ{�'ogÄ dŒc�cs�㌜쎇l;l‡�“dä�“Ûƒ�Œ� Ç$d$�{$��›lllgœãŒ�l›ld�l‡�’d„˜'à‡�nì›o~��ŒŒ$dà€b��LJ �'Ÿc�“ŒŽc�sb�›„�#��c�ll“›o��ßnŒ“ãgdŸ|�c�� �$ � d�;lÄãòÛx�ƒo'€d�l$ ��l�cì�� �âãÛ�{$lœŸ|Ädà|� � „ lä #|‡ƒ�ì�Ûs›b„�c„ò'oßdg'œãä�c�päÇdsdrdpò'à��� ƒ l� � �c�oã<�Œd‡|Ä�c„ûgoîdŒÇ$�˜��g'�l���orÇ›’'� ãrd�8ûgà�� �;„œÜãà �� b 'ã|�䇎�c„û'oî� d�˜��go Ž�d��gs�Û“o ��Œ$�pûgà��� sÄœœãàŒÄœpp nâ|�ŒÇ�‡#Œóngï Ç$����o'�l���o;‡›Ûg� cŒl��{Û“o �#Œ$�sdÄÄgœŒóogžŒßãŒr�ognŒ�lŒb‡#;�ãÄœä‡ÇdsdŽ�›lì�Û“ƒ�„ �l$l~;l‡�’ddd'œã„ d’dl�dŽ�›lŒ�oàÇ�gä’g���„Œllà€c� �Ç��oßb�›„�#�{c�’ÄÇc �#�l$›Û'� Ÿo„›ãnlž|�c� ��l� �$�sd„ãû“p�Ãgg€l�ll� �lÇcì‡� ãâ›�sd$œž|Œlà|� �Œ�lì�c|ŽÃ�ä�“;“cŒ�cŒûg'Ÿlngœãä b�xä�l;l{lpûgà����‚�l�� � c 'ã|�ÄlŽ<„ cŒûogçl„‡l����ng�$���'{‡“›g��ã{l �xónà��� {Œœœãà� ��c�oã|�ì�‡ŽcŒûo'ç �l ����o'�‡�l��o;‡›Ûg� �Œl�xûoà�� �;ŒœœãàŒŒœ8x� gã|�„‡Ç�c„ûgnî�‡l����no�$���'{�’›o��b„l ��r›Ûg� cŒl�{l„Œoœ„ûgoŸ„ŸãÄ{�'ogÄ dŒc�cs�㌜쎇l;l‡�“dä�“Ûƒ�Œ� Ç$d$�{$��›lllgœãŒ�l›ld�l‡�’d„˜'à‡�nì›o��ŒŒ$dà€b��LJ �'Ÿc�“ŒŽc�sb�›„�#��c�ll“›o��ßnŒ“ãgdŸ|�c�� �$ � d�;lŒãó’8�ƒoo€$�dl���d‡#ä��� ãã“�;ldœŸ|Œ$à|�� �Ä dì�c<‡ƒ�ì�’{ÛcÄ #Œóogžlgoœãì c�pìŽ${$sdxóoà�� �ƒ d �� � #�gã|�„$Ç|Œ #Äónoï$Œ�l �˜��go d���gs�Û“o �ãs$�pûgà��� sÄœœãà � �c nâ|�ìÇ�‡#Œóngï $����no���$��'{�“›o���„l �pónà��� {ŒÜœâà„ŒÜxp �oã|�Œ�‡ÇcŒûo'ç �l �˜��gn d���osŽ›“n �cŒd��{“›o��c„l �s$ŒŒ'œŒûo'ŸŒŸã„s�gno„�l„cÇcr�ãŒÜä‡�${l��Ûlä�’›Ã�Ä �‡lld�sdÇ�“$ldoœãŒ $“$l�$��ÛlŒ�gà��gä“'���Ä„dlàÀc �‡���gžc�Ûćc ;c�“ŒŽc��b�dlÛ“n��ŸgÄ’ãolŸ<�c� ��d� �l �{$„ãû“p�Ã'g€l�ld� �lÇcìÇ� �ãâ›�sd$œž|Œlà|� �Œ�lì�c|�Ã�ä�›;“cŒ�cŒûg'Ÿlngœãä b�xä‡l;l{lpûgà����‚�l�� � �c nã|�Äl�<„�cŒûo'çl„‡d����ng�l���'{‡“›g� ã{l �xónà�� {Œœœãà� ��c�gã|�ì�‡ŽcŒûg'ç �l ����o'�‡�l��o;Ç›Û'� �Œd�8ûoà�� �;„œœãàŒŒœ8x� gã|�„‡Ç�c„ûgoî�‡l����no�$���'{�’›o��b„l ��r›Û'� cŒd�;l„„oœ„û'oŸ„ŸãŒ{�nogÄ dŒc�cs�㌜쎇l;l‡�“dä�›Ûƒ�Œ� Ç$d$�{$��›lllgœãŒ�l›ld�l‡�“dĘ'à‡�nì›o��ŒŒldà€b� LJ �'Ÿc�“ŒŽc�sb�›„�b��c�ld“›g��ßnŒ“ãgdŸ|�#�� �$ � d�;lÄãû›x�ƒng€d�ld ��l�cìŽ� �ãã›�s$lÜŸ<„là<� � Œ�lä c|�‚�ì�›r›#Œ�c„ûgoŸdogœâä�c�8ä‡lrd;lpû'à��� ƒ�l� �� �c�oâ<�Œd�|Ä�c„ûgnçdćd����og�l ���n;‡“Ûg� ã;l�xóoà�� �;Œœœãà � # gã|�ä�Ç�c„ûgnç��l�˜��gn Ž�l��orŽ›’n ��Œd�pûgà����r„œÜãàŒ„œpp� nã|�ć�‡cÄò'oï�‡d����og�l ���n{‡“›g� cÄl��s›’n �cŒd�rlÄ„oÜÄònoßÄŸãŒ;�ognŒ�$Œb‡#{�â„œì�‡lsdÇ�“$ì�›’ƒ�Œ� Žldl?{l‡�’ddlgœâ„ l’d$�dÇ�“$ŒØnà‡�oìÛg���ŒŒl$à€c� ŽÇ��nŸ#�›Œ�#�sc�Û„‡c �c�ld“Ûg� žoŒ›â'$ß|�b�� �l�� d�rd„ãû“p�Ã'g€l�ld� �lÇcì‡� ãâ›�sd$œž|Œlà|� �Œ�lì�c|ŽÃ�ä�“;“cŒ�cŒûg'Ÿlngœãä b�xä‡l;l{lpûgà����‚�l�� � �c nã|�ÄlŽ<„ cŒûogçl„‡l����ng�$���'{‡“›g��ã{l �xónà��� {Œœœãà� ��c�gã|�ì�‡ŽcŒûo'ç �l ����o'�‡�l��o;Ç›Ûg� �Œl�xûoà�� �;ŒœœãàŒŒœ8x� gã|�„‡Ç�c„ûgoî�‡l����no�$���'{�’›o��b„l ��r›Û'� cŒl�{l„Œoœ„ûgoŸ„ŸãÄ{�'ogÄ dŒc�cs�㌜쎇l;l‡�“dä�“Ûƒ�Œ� Ç$d$�{$��›lllgœãŒ�l›ld�l‡�“d„˜'à‡�nì›o~��ŒŒ$dà€b��LJ �'Ÿc�“ŒŽc�sb�›„�b��c�ll“›o��ßnŒ“ãgdŸ|�c�� �$ � d�;lŒâó’p�ƒgo€$�dl���d‡#ä��� ãã“`�;ldœŸ

any setting to change in addition (beside comport, baudrate 1152000)?

@uzi18
Copy link
Contributor

uzi18 commented Mar 1, 2022

115200,230400, text should be visible there

@profroyk
Copy link

profroyk commented Apr 5, 2022

I have the same problem w/ and ESP-12 and tried several of the 3.2 releases. It looks like the flash worked, the LED blinks about 1/second but there is no ESP-xxx AP to connect to. I tried two different NodeMCUs - same result. I loaded the Example skets that sets up an AP on the ESP8266 and was able to connect to it so I think the WiFi circuitry and antenna is OK.

I tried getting a log at 115200 and have garbled outputs much like the earlier example.

So, a couple of questions:

o Is there a way to connect esp-link to my WiFi network without connecting to the not-visible esp-link AP?

o What can I do to get a better log? The putty display shows very quick lines of text which I can't read and can't be logged successfully at 115200. There are some text characters but not enough to make sense of. small sample:
dN{▒▒▒n ▒{$p▒n▒
s▒ܜ▒
bn▒|쎏▒c▒▒no▒
l ▒n▒{lor▒▒▒N
▒$p▒n▒ {▒ܜ▒▒{▒bo▒|▒▒▒▒c▒|~▒o▒▒l ▒N l or▒▒▒N b▒$rےo
#▒lrd▒▒N▒▒p~▒o▒▒▒▒ron▒ $▒b▒b{ㄜ쎎#$▒▒$▒▒▒▒
▒l$l~r$▒▒$l$o▒▒▒l▒dl$▒▒$▒▒o▒n▒▒▒܄▒$l▒"
▒{b▒b▒▒▒crc▒▒▒ob$l▒▒▒▒▒▒n$▒▒▒b
$r$▒▒▒p▒on▒$2$l $▒p$o| ▒▒sl$ܟ|▒d▒|

$▒c|▒▒▒▒{▒#▒
B▒▒on▒lon▒▒#bp▒▒l{lrlp▒o▒
▒l

o What else can I try?

@yesyesuk
Copy link

yesyesuk commented Apr 5, 2022

@profroyk The bootloader messages are sent at a baud rate of 74880. Try to receive the boot log at that rate to read it.

@profroyk
Copy link

profroyk commented Apr 5, 2022 via email

@uzi18
Copy link
Contributor

uzi18 commented Apr 5, 2022

Please you try to flash blank.bin at 0x80000
and next esp_init_data_default.bin 0x80000

please find my latest builds in other issues

@profroyk
Copy link

profroyk commented Apr 5, 2022 via email

@uzi18
Copy link
Contributor

uzi18 commented Apr 6, 2022

blank.bin is to erase data and esp_init_data_defaults is to init this memory with defaults.

@profroyk
Copy link

profroyk commented Apr 6, 2022 via email

@profroyk
Copy link

profroyk commented Apr 6, 2022 via email

@uzi18
Copy link
Contributor

uzi18 commented Apr 6, 2022

try this file, but decompress it with 7zip tool 3x, it is 3 times compressed zip,gzip,tar
esp-link-v3.2.47.alpha.24-g74e2043-dirty-Lucjan.tgz.zip

try first:

python esptool --port COM7 --baud 115200 write_flash --flash_freq 20m --flash_mode dio --flash_size 32m 0x1000
user1.bin 0x0000 boot_v1.7.bin 0x3fc000 esp_init_data_default.bin 0x3fe000 blank.bin 

check if it work
2nd check this one:

python esptool --port COM7 --baud 115200 write_flash --flash_freq 20m --flash_mode dio --flash_size 32m 0x1000
user1.bin 0x0000 boot_v1.7.bin 0x3fc000 esp_init_data_default.bin 0x3fe000 blank.bin 0x80000 esp_init_data_default.bin 

@profroyk
Copy link

profroyk commented Apr 6, 2022 via email

@bgrigoriu
Copy link

Hi everyone,
I have exactly the same problem and the fashing of the 3.2.47 alpha did not fix the issue for me. I am using the Expressif donwload tool.

here are the outputs for the 3.2 and 3.0 versions

2nd boot version : 1.7(5d6f877)
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 4Mbit(256KB+256KB)
jump to run user1 @ 1000

rf_cal[0] !=0x05,is 0xFF

ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 2592, room 16 tail 0 chksum 0xf3
load 0x3ffe8000, len 764, room 8 tail 4 chksum 0x92
load 0x3ffe82fc, len 676, room 4 tail 0 chksum 0x22
csum 0x22

And

2nd boot version : 1.6
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 4Mbit(256KB+256KB)
no GPIO select!
jump to run user1 @ 1000

rf_cal[0] !=0x05,is 0xFF

ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 2408, room 16 tail 8 chksum 0xe5
load 0x3ffe8000, len 776, room 0 tail 8 chksum 0x84
load 0x3ffe8310, len 632, room 0 tail 8 chksum 0xd8
csum 0xd8

Can anyone explain what is the issue and propose a way to fix for a newbee like me ?

@uzi18
Copy link
Contributor

uzi18 commented Jun 19, 2022

First try with DOUT flash mode

@bgrigoriu
Copy link

Hi, Thanks

Tried, does not work better. Flassing goes well with eithr DIO or DOUT (ESP flashing tool 3.9.2) but when booting it goes in the same loop.
Same serial output as before

@bgrigoriu
Copy link

I really do not understand what is happening.
If I read well the log:

  • it launches the bootloader which seems ok
  • i do not understand well the " no GPIO select !" but nevertheless it handover to user code @ x01000
  • then it load three "things " then reboots ?
    why so ?
    I may be dumb but I am at the very begening and want to learn.

@uzi18
Copy link
Contributor

uzi18 commented Jun 19, 2022

What is your flash size?

@uzi18
Copy link
Contributor

uzi18 commented Jun 19, 2022

If it is 32Mbit, you can try to use full flash attached in my previous posts

@bgrigoriu
Copy link

No it is a plain 8Mbit .
It worked a few months ago and I really do not understand the issues.
Can you give me the link to the " full flash" ?
Thanks !

@uzi18
Copy link
Contributor

uzi18 commented Jun 19, 2022

#543 (comment)

@bgrigoriu
Copy link

Tried to flash the 3.2.47 but stil the same issue
I also tried to flash user2.bil to 81000 . Flash ok but then same issue.
Could it be because of the expressif download tool 3.9.2 ?? this is the only thing a changed from last time ?
I really do not understand why

@uzi18
Copy link
Contributor

uzi18 commented Jun 19, 2022

Use esptool

@bgrigoriu
Copy link

I wil try . Never used before.

@bgrigoriu
Copy link

Unfortunately I have a strong disability ( I am a windows guy)

@bgrigoriu
Copy link

Hi,

I was able to use esptool for win
Works fine
Some advancement:
Flash ok but the ESP network does not show up consistently and i cannot connect to it al all.

@bgrigoriu
Copy link

I am coming back because nothing work. Can anyone offer a head to tail solution ?

@CRSREE
Copy link

CRSREE commented Sep 26, 2022

hi,

Could you manage to fix this problem?

@profroyk
Copy link

profroyk commented Oct 11, 2022 via email

@uzi18
Copy link
Contributor

uzi18 commented Oct 12, 2022

@profroyk any debug log? try to find me on gitter.im

@flaviut flaviut mentioned this issue Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

6 participants