ESP-WROOM-32 How to use Factory Firmware?

Gaz0rp
Posts: 6
Joined: Sat Aug 25, 2018 7:07 pm

ESP-WROOM-32 How to use Factory Firmware?

Postby Gaz0rp » Tue Apr 23, 2019 8:05 pm

Greetings!

So i got this plain ESP-WROOM-32 (Not the NodeMCU like Dev-Board with cp2102 included)
Image
Soldered it, connected it to my (separate) cp2102, now it's up and running.
Using picocom i see:
[...]
I (28) boot: ESP-IDF v3.0.1 2nd stage bootloader
I (29) boot: compile time 05:26:56
I (29) boot: Enabling RNG early entropy source...
I (33) boot: SPI Speed : 40MHz
I (37) boot: SPI Mode : DIO
I (41) boot: SPI Flash Size : 4MB
I (45) boot: Partition Table:
I (49) boot: ## Label Usage Type ST Offset Length
I (56) boot: 0 phy_init RF data 01 01 0000f000 00001000
I (64) boot: 1 otadata OTA data 01 00 00010000 00002000
I (71) boot: 2 nvs WiFi data 01 02 00012000 0000e000
I (79) boot: 3 at_customize unknown 40 00 00020000 000e0000
I (86) boot: 4 ota_0 OTA app 00 10 00100000 00180000
I (93) boot: 5 ota_1 OTA app 00 11 00280000 00180000
I (101) boot: End of partition table
I (105) boot: No factory image, trying OTA 0
I (110) esp_image: segment 0: paddr=0x00100020 vaddr=0x3f400020 size=0x1fe00 (130560) map
I (165) esp_image: segment 1: paddr=0x0011fe28 vaddr=0x3ffc0000 size=0x001e8 ( 488) load
I (165) esp_image: segment 2: paddr=0x00120018 vaddr=0x400d0018 size=0xddcc0 (908480) map
I (490) esp_image: segment 3: paddr=0x001fdce0 vaddr=0x3ffc01e8 size=0x03010 ( 12304) load
I (495) esp_image: segment 4: paddr=0x00200cf8 vaddr=0x40080000 size=0x00400 ( 1024) load
I (497) esp_image: segment 5: paddr=0x00201100 vaddr=0x40080400 size=0x0eba0 ( 60320) load
I (530) esp_image: segment 6: paddr=0x0020fca8 vaddr=0x400c0000 size=0x00064 ( 100) load
I (540) boot: Loaded app from partition at offset 0x100000
I (540) boot: Disabling RNG early entropy source...
Bin version(Wroom32):1.1.1
I (612) wifi: wifi firmware version: bffcf7f
I (612) wifi: config NVS flash: enabled
I (613) wifi: config nano formating: disabled
I (622) wifi: Init dynamic tx buffer num: 32
I (623) wifi: Init data frame dynamic rx buffer num: 32
I (623) wifi: Init management frame dynamic rx buffer num: 32
I (628) wifi: wifi driver task: 3ffdf604, prio:23, stack:4096
I (633) wifi: Init static rx buffer num: 10
I (637) wifi: Init dynamic rx buffer num: 32
I (641) wifi: wifi power manager task: 0x3ffe3ce4 prio: 21 stack: 2560
I (673) wifi: mode : softAP (3c:71:bf:58:19:29)
[...]
I did not flash it (yet) so this is all Factory.
I can see the ESP32 in WiFi AP list and connect to it with my tablet, but now i'm stuck.
Can i use this without flashing my own firmware?
Can i send a sketch (arduino IDE foo.bin) via OTA?

I guess i probably got to set my WiFi AP's SSID/PW somehow (With my Tablet?)
I tried to go to http://192.168.4.1 but there is no webserver running...

All tutorials i found begin with compiling and flashing the ESP-IDF firmware
Help! ;-)

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: ESP-WROOM-32 How to use Factory Firmware?

Postby WiFive » Wed Apr 24, 2019 2:59 am

It is running https://github.com/espressif/esp32-at which is meant to interface with a host over uart.

You need to reflash it to do anything interesting. If you just want to play you should flash micropython or moddable or nodemcu.

https://youtube.com/watch?v=hfS8zA9nL7I

Who is online

Users browsing this forum: No registered users and 117 guests