jeelabs / esp-link

esp8266 wifi-serial bridge, outbound TCP, and arduino/AVR/LPC/NXP programmer
Other
2.85k stars 723 forks source link

Problem for using esp link in ESP-01S #529

Open hameed-maleki opened 3 years ago

hameed-maleki commented 3 years ago

Hello guys I have problem via use esp link over ESP-01S after write frimware I cannot find wifi in my wifi device Any one can help me for fix this problem? I used 3.0.14 version and selected flash chip size 1MB and this address ` 0x00000 boot_v1.6.bin

 0x01000   user1.bin

 0xFC000   esp_init_data_default.bin 

 0xFE000    blank.bin  `
ananyevgv commented 3 years ago

Hello hamedmalekii, I did it with these addresses 0x00000 boot 0x1000 user1.bin 0x7C000 esp_init_data_default.bin 0x7E000 blank.bin

mantisrobot commented 2 years ago

I Had the same issue!

I have a ESP-01S device that reports: flash devID: 4014h QUAD:8Mbit Crustal: 26Mhz

With V2.2.3, I used these settings for a 1Mbyte device: 0x00000 boot_v1.5.bin 0x01000 user1.bin 0xfe000 blank.bin

With V3.0.14 I have to use setting as if the device is a 512Kb device: 0x00000 boot.bin 0x01000 user1.bin 0x7e000 blank.bin 0x7c000 esp_init_data_default.bin

if I use the settings as per V2.2.3 I get the fast blink boot error!

uzi18 commented 2 years ago

Please provide bootlog from serial port (from 2.2 and 3.0)

Also please try latest beta firmware 3.1.x these old ones are not supported right now Will try to check if something is wrong.

paulvk2 commented 1 year ago

I have the same issue with an extra problem. I can not program the esp-01s with the flash download tool it always get the fast led flash boot load. I can program it with NODEMCU programmer and it boots but the AP is not running/broadcasting I can load a clock program into it with the arduino ide and it works connecting to my lan and getting the time from time servers so I know the esp-01s works. below is the serial output to my terminal

239>

240> ** esp-link v3.2.47-g9c6530d

240> Flash config restore FAILED

240> CONN led=0

240> SER led=14

242> Wifi init, mode=AP

244> Wifi uses DHCP, hostname=esp-link

248> "ip": "0.0.0.0"

250> "netmask": "0.0.0.0"

253> "gateway": "0.0.0.0"

255> "hostname": ""

258> sleep enable,type: 2

261> Httpd init, conn=0x3fff4128

264> No user file system found!

267> Serbridge pins: reset=12 isp=13 tx_enable=-1 swap=0

281> Reset cause: 6=external

281> exccause=0 epc1=0x0 epc2=0x0 epc3=0x0 excvaddr=0x0 depc=0x0

282> Flash map 1MB:512/512, manuf 0xD8 chip 0x4014

286> ** esp-link v3.2.47-g9c6530d: ready, heap=18960

291> SNTP timesource set to us.pool.ntp.org with offset 0

296> initializing user application

300> Waiting for work to do...

303> mode : softAP(ea:db:84:da:02:e6)

306> add if1

308> dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)

316> bcn 100

15261> Wifi check: mode=AP status=255

paulvk2 commented 1 year ago

Ok I have esp8266EX 4MB and it works on it but not on the ESP-01S.

terminal output

127>

127> ** esp-link v3.2.47-g9c6530d

128> Flash config restore FAILED

128> CONN led=0

128> SER led=14

130> Wifi init, mode=AP

132> Wifi uses DHCP, hostname=esp-link

136> "ip": "0.0.0.0"

138> "netmask": "0.0.0.0"

141> "gateway": "0.0.0.0"

143> "hostname": ""

146> sleep enable,type: 2

149> Httpd init, conn=0x3fff4128

152> No user file system found!

155> Serbridge pins: reset=12 isp=13 tx_enable=-1 swap=0

169> Reset cause: 6=external

169> exccause=0 epc1=0x0 epc2=0x0 epc3=0x0 excvaddr=0x0 depc=0x0

169> Flash map 1MB:512/512, manuf 0xC8 chip 0x4016

174> ** esp-link v3.2.47-g9c6530d: ready, heap=18960

179> SNTP timesource set to us.pool.ntp.org with offset 0

184> initializing user application

187> Waiting for work to do...

191> mode : softAP(1a:fe:34:f4:83:68)

194> add if1

196> dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)

204> bcn 100

3882> add 1

3883> aid 1

3883> station: 2c:d0:5a:d3:38:49 join, AID = 1

3883> Wifi AP: station 2c:d0:5a:d3:38:49 joined, AID = 1

15149> Wifi check: mode=AP status=255

paulvk2 commented 1 year ago

I went through the earlier versions and it stops working after 2.1.7