Search found 51 matches

by marclee
Wed Mar 23, 2022 9:17 pm
Forum: ESP-IDF
Topic: "SPIFFS: mount failed" after flashing firmware using USB DFU [IDF-4820]
Replies: 10
Views: 6707

Re: "SPIFFS: mount failed" after flashing firmware using USB DFU

Meanwhile I could figure out that this problem only occurs if flash size exceeds 2 MB (0x200000). Is there a limit for flash size using DFU update? # Name, Type, SubType, Offset, Size, Flags # Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap nvs, data...
by marclee
Wed Mar 23, 2022 4:45 pm
Forum: ESP-IDF
Topic: "SPIFFS: mount failed" after flashing firmware using USB DFU [IDF-4820]
Replies: 10
Views: 6707

Re: "SPIFFS: mount failed" after flashing firmware using USB DFU

esptool.py read_flash 0x2A0000 0x160000 storage_copy.bin

--> storage_copy.bin only contains 0xFF.

esptool.py write_flash 0x2A0000 build/storage.bin

--> SPIFFS can be mounted

But it should work using dfu-flash.

How can I generate dfu.bin manually?
by marclee
Tue Mar 22, 2022 10:18 pm
Forum: ESP-IDF
Topic: "SPIFFS: mount failed" after flashing firmware using USB DFU [IDF-4820]
Replies: 10
Views: 6707

Re: "SPIFFS: mount failed" after flashing firmware using USB DFU

-rw-r--r-- 0 root root 21824 Jan 1 1970 bootloader.bin -rw-r--r-- 0 root root 3072 Jan 1 1970 partition-table.bin -rw-r--r-- 0 root root 8192 Jan 1 1970 ota_data_initial.bin -rw-r--r-- 0 root root 524288 Jan 1 1970 project_7899.bin -rw-r--r-- 0 root root 524288 Jan 1 1970 project_7899.bin.1 -rw-r--...
by marclee
Fri Mar 18, 2022 9:42 pm
Forum: ESP-IDF
Topic: "SPIFFS: mount failed" after flashing firmware using USB DFU [IDF-4820]
Replies: 10
Views: 6707

"SPIFFS: mount failed" after flashing firmware using USB DFU [IDF-4820]

Configuration: * ESP32-S2-WROVER (4MB) with ESP-IDF V5.0 * ESP32 is erased completely using "idf.py erase_flash" If ESP32 gets flashed using flash tool "idf.py flash", firmware runs fine. If ESP32 gets flashed using USB DFU "idf.py dfu dfu-flash" SPIFFS partition seems to be missing. E (488) SPIFFS:...
by marclee
Fri Mar 18, 2022 6:47 pm
Forum: ESP-IDF
Topic: WIFI disconnect from different devices
Replies: 2
Views: 2679

Re: WIFI disconnect from different devices

Thank you for your response. That could be the reason for disconnecting. I have just checked it. If I force the external access point to run on the same channel than ESP32 softAP, my smartphone doesn't disconnect from softAP. But if I force the external access point to run on a diffferent channel, t...
by marclee
Thu Mar 17, 2022 1:25 am
Forum: ESP-IDF
Topic: WIFI disconnect from different devices
Replies: 2
Views: 2679

WIFI disconnect from different devices

Configuration: * ESP32-S2-WROVER (4MB) with ESP-IDF V5.0 * WIFI is configured as WIFI_MODE_APSTA (access point and station simultaneously) * HTTP server is running * HTTP queries are used to configure ESP32 station parameters and to initiate the connection of ESP32 station with an external access po...
by marclee
Fri Jan 28, 2022 10:05 pm
Forum: ESP-IDF
Topic: remove_all_bonded_devices() but client still bonded
Replies: 0
Views: 1636

remove_all_bonded_devices() but client still bonded

Device: ESP32-C3-DevKitC-02 Hello, I'm using a mix of gatt_security_server / gatt_security_client and ble_spp_server / ble_spp_client. If bonded clients get deleted in gatt_security_server, using the command remove_all_bonded_devices() , clients may still have the bonds stored in their bond list. If...
by marclee
Wed Jul 07, 2021 9:55 pm
Forum: ESP-IDF
Topic: routing reference voltage to GPIO pin while WIFI is enabled
Replies: 2
Views: 3671

routing reference voltage to GPIO pin while WIFI is enabled

Device: ESP32-S2-WROOVER As ADC1 of ESP32-S2-WROOVER does not support an external reference voltage, I need to route the internal reference voltage of ADC1 to one of the GPIO pins. Therefore I use the command adc_vref_to_gpio . Unfortunately that does not seem to work while WIFI is enabled. Is there...
by marclee
Wed May 19, 2021 11:02 am
Forum: General Discussion
Topic: WDT timeout in bootloader for ESP32s2
Replies: 22
Views: 17480

Re: WDT timeout in bootloader for ESP32s2

I have just got it from the datasheet. Notice: • By default, IO26 is connected to the CS pin of the PSRAM and cannot be used for other functions. • For peripheral pin configurations, please refer to ESP32-S2 Datasheet. Is there a way do disable PSRAM SPICS1 so that GPIO26 can be used for general pur...
by marclee
Wed May 19, 2021 10:06 am
Forum: General Discussion
Topic: WDT timeout in bootloader for ESP32s2
Replies: 22
Views: 17480

Re: WDT timeout in bootloader for ESP32s2

Turns out it was a conflict between flash and PSRAM brought on by our erroneous use of GPIO26 on the ESP32S2 Wrover. What exactly does "erroneous use" mean? It seems that I have a similar problem with EPS32S2 Wrover. I (24) boot: ESP-IDF v4.4-dev-1254-g639e7ad49 2nd stage bootloader I (24) boot: co...