Skip to content

SoftAP example code stuck in esp_wifi_init and only seeing up to the RF calibration log (GIT8266O-882) #1304

@stevenferrer

Description

@stevenferrer

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

I expect to see the log wifi_init_softap finished. SSID:myssid password:mypassword

Actual behavior (suspected bug)

Instead, I only see up to phy_init: failed to load RF calibration data (0x1102), falling back to full calibration. I

Error logs or terminal output

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

load 0x40100000, len 7544, room 16
tail 8
chksum 0x18
load 0x3ffe8408, len 24, room 0
tail 8
chksum 0xa1
load 0x3ffe8420, len 3476, room 0
tail 4
chksum 0xfd
csum 0xfd
I (46) boot: ESP-IDF v3.4-110-gd412ac60-dirty 2nd stage bootloader
I (46) boot: compile time 17:37:50
I (47) qio_mode: Enabling default flash chip QIO
I (55) boot: SPI Speed      : 40MHz
I (62) boot: SPI Mode       : QIO
I (68) boot: SPI Flash Size : 1MB
I (74) boot: Partition Table:
I (80) boot: ## Label            Usage          Type ST Offset   Length
I (91) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (102) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (114) boot:  2 factory          factory app      00 00 00010000 000f0000
I (126) boot: End of partition table
I (132) esp_image: segment 0: paddr=0x00010010 vaddr=0x40210010 size=0x574f0 (357616) map
0x40210010: _stext at ??:?

I (267) esp_image: segment 1: paddr=0x00067508 vaddr=0x40267500 size=0x107fc ( 67580) map
I (291) esp_image: segment 2: paddr=0x00077d0c vaddr=0x3ffe8000 size=0x005f8 (  1528) load
I (292) esp_image: segment 3: paddr=0x0007830c vaddr=0x40100000 size=0x00080 (   128) load
I (302) esp_image: segment 4: paddr=0x00078394 vaddr=0x40100080 size=0x05720 ( 22304) load
I (323) boot: Loaded app from partition at offset 0x10000
I (342) wifi softAP: ESP_WIFI_MODE_AP
I (345) system_api: Base MAC address is not set, read default base MAC address from EFUSE
I (349) system_api: Base MAC address is not set, read default base MAC address from EFUSE
W (362) phy_init: failed to load RF calibration data (0x1102), falling back to full calibration

Steps to reproduce the behavior

  1. make flash and wait to finish
  2. make monitor to see the logs
  3. Reset the board to run the firmware
  4. See attached log.

Project release version

latest

System architecture

ARM 64-bit (Apple M1/M2, Raspberry Pi 4/5)

Operating system

MacOS

Operating system version

macOS 15

Shell

ZSH

Additional context

The hardware is an ESP-01s and being programmed using Arduino Nano. I am able to flash the firmware to the device but is stuck on the RF calibration log. I'm thinking it might be a hardware issue, but I tried on another ESP-01s and I get the same result. I also flashed a blink code into these two devices and it works.

Would appreciate any clues regarding the issue, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions