esp-link icon indicating copy to clipboard operation
esp-link copied to clipboard

No AP

Open roblomq opened this issue 2 years ago • 7 comments

I've successfully flashed an ESP-01 but after that there does no AP showup. Tried several times with several versions of the flash download tool tried several ESP-01 boards but all with the same result. Somebody a tip what I can try?

2023-04-09_23h40_56 2023-04-09_22h16_20

roblomq avatar Apr 09 '23 22:04 roblomq

do you have any logs?

uzi18 avatar Apr 11 '23 21:04 uzi18

No because I have no access to it.

roblomq avatar Apr 12 '23 05:04 roblomq

Use serial port to debug situation.

uzi18 avatar Apr 12 '23 05:04 uzi18

Switched SPI to DOUT and now it works.

roblomq avatar Apr 12 '23 21:04 roblomq

I'm getting it to upload to my 1MB ESP-01, but my ESP-01 won't create a network... Any solutions? The SPI speed is 40MHz and the SPI mode is QIO. Should it say "is stub and send flash finish" when it is finished uploading?

Bear1012061 avatar Jul 20 '23 16:07 Bear1012061

I was able to get the flash logs by using picocom /dev/ttyUSB1 -b 76800.

I got the following logs:

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,6)

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

I then came across @uzi18's very helpful comment, and that fixed it:

esptool.py -b 1000000 -p /dev/ttyUSB1 write_flash --flash_freq 20m --flash_mode dio --flash_size 4MB 0x1000 user1.bin 0x0000 boot_v1.7.bin 0x3fc000 esp_init_data_default.bin 0x3fe000 blank.bin

I did have to download esp-link-v3.2.47 though, not the default v3.0.

flaviut avatar Aug 14 '23 03:08 flaviut

@flaviut thx for info. 3.0 is out of date, 3.2 has lots of fixes.

uzi18 avatar Aug 14 '23 07:08 uzi18