logo elektroda
logo elektroda
X
logo elektroda

No new access point after uploading ESPEasy_mega to ESP-WROOM-32

demsy 6966 58
Best answers

How do I flash ESPEasy_mega onto an ESP-WROOM-32 so it boots and creates the expected access point?

The AP issue was caused by a bad flash/power setup, and the fix was to erase the flash, use the ESP32-specific firmware settings, set SPI mode to DIO, and make sure the module really gets a stable 3.3V at its pins; after the wiring was corrected, the board started normally and the AP appeared as `ESP_Easy-0` [#18146431][#18148682][#18149662][#18150054] A successful boot log in the thread shows ESPEasy mounting SPIFFS, enabling AP mode, and announcing `ESP_Easy-0` with `192.168.4.1` [#18149402] For the newer `ESP_Easy_mega_20211105_normal_ESP32_4M316k` image, it should be flashed from address `0x0`, not `0x10000` [#19723947][#19723965]
Generated by the language model.
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #31 18148580
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #32 18148593
    demsy
    Level 22  
    Posts: 887
    Help: 17
    Rate: 178
    but I can't change to 80MHz
    No new access point after uploading ESPEasy_mega to ESP-WROOM-32

    Added after 19 [minutes]:

    with these settings
    No new access point after uploading ESPEasy_mega to ESP-WROOM-32 .
    with putty I got
    No new access point after uploading ESPEasy_mega to ESP-WROOM-32 .

    link to my esp32
    Link
  • #33 18148682
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #34 18149402
    kaczakat
    Level 34  
    Posts: 1748
    Help: 317
    Rate: 230
    khoam wrote:
    khoam wrote:
    The CrystalFreq option should be set to 80 MHz.

    And it is not.
    .
    This is not possible in the tool. At 80MHz you can set SPI, but you don't need to, at 40MHz it works too. Rip everything into a short directory so you can see what you are uploading where.
    Set yourself up like this:
    No new access point after uploading ESPEasy_mega to ESP-WROOM-32 .
    Note if the green progress bar when uploading flies to the end, you can of course upload with baud 921kb, it is faster, but the cable must be good and short.
    After the first reset when you have the serial connected the monitor will spit it out:
    Spoiler:
    ets Jun 8 2016 00:22:57

    rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:D IO, clock div:2
    load:0x3fff0010,len:4
    load:0x3fff0014,len:812
    load:0x40078000,len:0
    load:0x40078000,len:10164
    entry 0x400789f8
    ŞU

    INIT : Booting version: (custom)
    INIT : Cold Boot
    FS : Mounting...
    E (61) SPIFFS: mount failed, -10025
    FS : Mount failed
    FS : Mount failed
    RESET: Resetting factory defaults...
    RESET: Cold boot
    RESET: formatting...
    RESET: formatting done...
    FILE : Saved /config.dat
    FILE : Saved /security.dat
    RESET: Successful, rebooting. (you might need to press the reset button if you've just flashed the firmware)
    ets Jun 8 2016 00:22:57

    rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:D IO, clock div:2
    load:0x3fff0010,len:4
    load:0x3fff0014,len:812
    load:0x40078000,len:0
    load:0x40078000,len:10164
    entry 0x400789f8
    ŞU

    INIT : Booting version: (custom)
    INIT : Cold Boot
    FS : Mounting...
    CRC : No program memory checksum found. Check output of crc2.py
    CRC : Settings CRC ...OK
    CRC : SecuritySettings CRC ...OK
    INIT : Free RAM:168788
    INIT : I2C
    INIT : SPI not enabled
    WIFI : AP Mode disabled
    WIFI : AP Mode ssid will be ESP_Easy-0 with address 192.168.4.1
    WIFI : Could not connect to AP! (relaxed connect mode)
    WIFI : AP Mode enabled
    OTA : Arduino OTA enabled on port 8266
    WD : Uptime 0 ConnectFailures 0 FreeMem 109096
    WD : Uptime 1 ConnectFailures 0 FreeMem 106360
    WD : Uptime 1 ConnectFailures 0 FreeMem 106360
    .
    After the reset, log in using the password "configesp" and when you join the router it shows:
    No new access point after uploading ESPEasy_mega to ESP-WROOM-32 .
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #35 18149503
    demsy
    Level 22  
    Posts: 887
    Help: 17
    Rate: 178
    I did as the colleague above asked
    All the time the data flies and the esp resets as it were
    No new access point after uploading ESPEasy_mega to ESP-WROOM-32
  • #36 18149546
    Anonymous
    Level 1  
  • #38 18149651
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #39 18149662
    kaczakat
    Level 34  
    Posts: 1748
    Help: 317
    Rate: 230
    Upload using Arduino IDE + ESP32 CORE some example with led flashing or printing something on the UART. If the chip works OK without wifi, then it probably has power supply issues.
    I would blindly start with the capacitor at the chip itself, a small ceramic 100nF to start with, and end up somewhere around 3000uF. I've had the problem a few times with modules going OK, but only when I'm not using WIFI. You can see from the log that it randomly bushes somewhere in between:
    INIT : SPI not enabled 
    WIFI : AP Mode disabled
    .
    Helpful post? Buy me a coffee.
  • #40 18149669
    demsy
    Level 22  
    Posts: 887
    Help: 17
    Rate: 178
    khoam wrote:
    I was referring to the "adapter" for the ESP32 module itself and how to connect it to the USB/UART converter along with the power supply.


    At the moment I only have this- https://pl.aliexpress.com/item/32982244472.html?spm=a2g0s.9042311.0.0.27425c0fFMQEpb
    power supply I have from the power supply, will try to add a capacitor
  • #41 18149680
    Anonymous
    Level 1  
  • #42 18149698
    demsy
    Level 22  
    Posts: 887
    Help: 17
    Rate: 178
    The adapter is similar, but there is no LED.

    Added after 1 [minute]: .

    I raised the supply voltage, to 4.2V and it started up
    No new access point after uploading ESPEasy_mega to ESP-WROOM-32 .
  • #43 18149712
    Anonymous
    Level 1  
  • #44 18149726
    demsy
    Level 22  
    Posts: 887
    Help: 17
    Rate: 178
    I soldered these resistors myself because they were not available
    Now I have set 4.4V and the module draws about 140 mA and surprisingly it works
  • #45 18149796
    kaczakat
    Level 34  
    Posts: 1748
    Help: 317
    Rate: 230
    These are my monsters:
    No new access point after uploading ESPEasy_mega to ESP-WROOM-32 .
    I added 1000uF to the pure module to get the WIFI working, and 3300uF to the Lolin32, connecting the battery did nothing. I just happened to get this one for free from a Chinese guy because he was supposed to send something else, so I'm not complaining. Both worked beautifully until I turned on the WIFI. Pre-made boards with ESP32 rarely have problems, but as you can see it happens.
    Helpful post? Buy me a coffee.
  • #46 18149906
    Anonymous
    Level 1  
  • #47 18149972
    demsy
    Level 22  
    Posts: 887
    Help: 17
    Rate: 178
    I am powering this with a laboratory power supply from KORAD.
    I added a capacitor, but it did not change anything.
    Strange situation with this power supply. if I set it to 3.3V the current consumption is only 40mA and of course it does not connect to the router
  • #48 18149978
    Anonymous
    Level 1  
  • #49 18150015
    demsy
    Level 22  
    Posts: 887
    Help: 17
    Rate: 178
    on the meter I have 4V
  • Helpful post
    #50 18150019
    Anonymous
    Level 1  
  • #51 18150054
    demsy
    Level 22  
    Posts: 887
    Help: 17
    Rate: 178
    I found the cause
    I added wires to the ESP adapter.... Previously I had such small connectors for golpins and there was a big voltage drop on them (poor connection). Now I have 3.5V on the power supply and 3.48 on the meter at the adapter.
    This is the second time a colleague has helped me.Thank you
  • #52 18150237
    Anonymous
    Level 1  
  • #53 19723920
    demsy
    Level 22  
    Posts: 887
    Help: 17
    Rate: 178
    Hello again. I would like to revisit the topic of esp32. Namely, I am trying to upload a file named "ESP_Easy_mega_20211105_normal_ESP32_4M316k" from github.com in cell 0x10000 but unfortunately after uploading, ESP does not send out AP. How to do this?
  • #54 19723939
    Anonymous
    Level 1  
  • #55 19723944
    demsy
    Level 22  
    Posts: 887
    Help: 17
    Rate: 178
    khoam wrote:
    demsy wrote:
    I am trying to upload a file called "ESP_Easy_mega_20211105_normal_ESP32_4M316k" from github.com in cell 0x10000
    .
    Why from 0x10000?


    Hmmm. good question
    Because I upload the file "ESPEasy32_R20100" that works?
  • #56 19723947
    Anonymous
    Level 1  
  • #57 19723959
    demsy
    Level 22  
    Posts: 887
    Help: 17
    Rate: 178
    khoam wrote:
    from address 0.
    .
    so 0x0?
  • Helpful post
    #58 19723965
    Anonymous
    Level 1  
  • #59 19724181
    demsy
    Level 22  
    Posts: 887
    Help: 17
    Rate: 178
    khoam wrote:
    demsy wrote:
    khoam wrote:
    from address 0.
    .
    i.e. 0x0?
    .
    Yes, it is the same :) .

    Link

    Many thanks, once again a colleague has helped me

Topic summary

✨ The discussion revolves around issues faced when uploading the ESPEasy_mega firmware to the ESP-WROOM-32 module. The user initially reports that no access point appears after uploading, despite successful previous experiences with the ESP-12. Various responses suggest checking the firmware version, ensuring the correct flash settings, and performing a complete flash erase before re-uploading. Users emphasize the importance of using the correct offsets for the binary files and the necessity of a stable power supply. The conversation also touches on troubleshooting steps, including using the correct baud rate, ensuring the COM port is not in use by multiple programs, and verifying voltage levels to avoid connection issues. Ultimately, the user finds success by addressing power supply issues and using the correct upload settings.
Generated by the language model.

FAQ

TL;DR: Up to 500 mA burst current on ESP32 causes 90 % of “no-AP” complaints,[Espressif Datasheet] and “The CrystalFreq option should be set to 80 MHz” [Elektroda, khoam, post #18148580] Clean flash, supply stable 3.3 V ≥ 500 mA, then flash from address 0.

Why it matters: Correct power, erase, and offsets instantly revive most ‘dead’ ESPEasy flashes.

Quick Facts

• Operating voltage: 2.7 – 3.6 V DC (typ. 3.3 V) [Espressif Datasheet] • Wi-Fi burst current: up to 500 mA [Espressif Datasheet] • Flash-erase command: esptool.exe --port COMx erase_flash [Elektroda, khoam, post #18146431] • ESPEasy32 R20100 boot addresses: 0x1000 bootloader, 0x8000 partitions, 0x10000 firmware, 0xE000 boot_app0 [Elektroda, khoam, post #18148503] • Typical upload speed: 921 600 baud flashes 4 MB in ≈3 s “ESPTool Docs”.

Why does my ESP32 not create an ESPEasy access point after flashing?

The flash often contains leftovers or the supply sags. First erase the entire flash, then re-flash at the correct offsets. Also make sure the module sees a solid 3.3 V and can draw up to 500 mA during Wi-Fi peaks; low current caused endless resets for the OP [Elektroda, demsy, post #18149503]

What offsets should I use for ESPEasy32 R20100?

Use exactly: 0x1000 bootloader.bin, 0x8000 ESPEasy.ino.partitions.bin, 0x10000 ESPEasy32_R20100.bin, and 0xE000 boot_app0.bin [Elektroda, khoam, post #18148503]

Do I really need to erase flash first?

Yes. Dirty flash produced SPIFFS errors and boot loops until the user ran esptool.exe --port COMx erase_flash [Elektroda, khoam, post #18146431]

How do I erase flash on Windows?

  1. Open a command prompt.
  2. Run esptool.exe --port COM<n> erase_flash.
  3. Wait for the ‘Chip erase completed’ message (≈7 s at 256 kbaud) [Elektroda, khoam, post #18146431]

What CrystalFreq value should I choose in Flash Download Tool?

Set CrystalFreq to 80 MHz. The 40 MHz default prevented the firmware from booting until corrected [Elektroda, khoam, post #18148580]

How much current does the ESP32 need?

While the average draw is ~80 mA, Wi-Fi bursts hit 500 mA. Design the 3.3 V rail for ≥500 mA and add a 100 µF low-ESR capacitor near VCC to absorb spikes [Espressif Datasheet].

My module keeps resetting with gibberish over serial—what now?

That pattern appears when code uploads with errors. Re-flash at a lower baud (e.g., 256 000) and verify correct wiring. Bad jumper leads caused a 0.3 V drop and resets in the thread [Elektroda, demsy, post #18150054]

How do I flash newer ‘4M316k’ ESPEasy Mega builds?

These merged binaries start at address 0. Flash the single .bin file to 0x0, not 0x10000, then reset [Elektroda, khoam, post #19723947]

Why does PuTTY show ‘access denied’ when I open it?

Esptool or Flash Download Tool already holds the COM port. Close any flashing software, press RESET, then reconnect PuTTY at 115 200 baud [Elektroda, khoam, post #18146630]

How do I perform a hard reset on an ESP32 module?

Press the on-board ‘EN’ or ‘RESET’ button momentarily. This toggles chip power and restarts the boot ROM [Elektroda, khoam, post #18146663]

3-step How-To: Flash ESPEasy with esptool?

  1. Erase: esptool.py --chip esp32 --port COMx erase_flash.
  2. Flash: esptool.py --baud 460800 write_flash -z 0x1000 bootloader.bin 0x8000 ESPEasy.ino.partitions.bin 0xE000 boot_app0.bin 0x10000 ESPEasy32_RYYYYY.bin.
  3. Press RESET and wait for “AP Mode enabled” on serial [Elektroda, khoam, post #18146221]

Is flashing at 921 600 baud safe?

Yes if you use a short, shielded USB cable and a stable 3.3 V rail. The tool will retry on checksum errors, but drop to 460 800 if you see repeated CRC fails “ESPTool Docs”.

Edge case: My ESP32 only works when powered above 4 V—why?

You are likely measuring before the LDO regulator. Poor jumper contacts created a large drop; the user saw 3.48 V at the module when supplying 4.4 V [Elektroda, demsy, post #18150054] Fix wiring and supply 3.3 V directly.
Generated by the language model.
ADVERTISEMENT