Search found 51 matches

by marclee
Mon Sep 19, 2022 8:39 pm
Forum: ESP-IDF
Topic: WiFi-Scan does not list stations of all channels
Replies: 6
Views: 3796

Re: WiFi-Scan does not list stations of all channels

Meanwhile I figured out that the event handler (event_id WIFI_EVENT_SCAN_DONE) returned event status = 1. Which means that scan process terminated unsuccessfully. This was caused by esp_scan_stop(), accidentally called by application at the wrong time. Scan got stopped prematurely after one second a...
by marclee
Sun Sep 18, 2022 3:37 am
Forum: ESP-IDF
Topic: WiFi-Scan does not list stations of all channels
Replies: 6
Views: 3796

Re: WiFi-Scan does not list stations of all channels

What problem? Please have a look at my question. Sorry, but your response is not helpful. The scan function may work with your Arduino example. But as I told, it does not work in our case. I'm looking for someone who is interested in helping me localizing and solving the problem. Disclaiming the pr...
by marclee
Sat Sep 17, 2022 11:06 pm
Forum: ESP-IDF
Topic: WiFi-Scan does not list stations of all channels
Replies: 6
Views: 3796

Re: WiFi-Scan does not list stations of all channels

Hi,
with simple sketch in arduino (esp-idf 4.4) it seems to work:
Congratulation! So how could this help to solve the mentioned problem? I don't understand.
by marclee
Fri Sep 16, 2022 10:47 pm
Forum: ESP-IDF
Topic: WiFi-Scan does not list stations of all channels
Replies: 6
Views: 3796

WiFi-Scan does not list stations of all channels

Configuration: ESP32-S2-WROVER (4MB) with ESP-IDF v5.0-dev-4770-gd622bcfd46 WiFi is running in mode WIFI_MODE_APSTA Problem: WiFi-Scan does not list stations of all channels. wifi_config_t wifi_config_ap = \ { .ap = \ { .ssid = WIFI_AP_SSID, .ssid_len = strlen(WIFI_AP_SSID), .channel = 2, .password ...
by marclee
Thu Sep 01, 2022 9:36 pm
Forum: ESP-IDF
Topic: flash fails if secure boot is enabled
Replies: 5
Views: 3380

Re: flash fails if secure boot is enabled

I followed step 7 and used command "esptool.py write_flash" This ist the prompt I get: Executing action: bootloader Running ninja in directory /home/project/build Executing "ninja bootloader"... [1/1] cd /home/project/build/bootloader/bootloader.binBootloader binary size 0xa000 bytes. 0x1000 bytes (...
by marclee
Tue Aug 23, 2022 6:14 pm
Forum: ESP-IDF
Topic: USB DFU and secure boot
Replies: 2
Views: 1445

Re: USB DFU and secure boot

Thank you for clarifying.
by marclee
Tue Aug 23, 2022 6:08 pm
Forum: ESP-IDF
Topic: flash fails if secure boot is enabled
Replies: 5
Views: 3380

Re: flash fails if secure boot is enabled

Hi Mahavir, thank you for your reply. Did you try to rebuild bootloader with new flash configuration and use that image? I used the command "idf.py bootloader bootloader-flash" to flash the secure bootloader first. Alternatively, I would recommend that you try flashing command as it is generated dur...
by marclee
Fri Aug 19, 2022 9:09 pm
Forum: ESP-IDF
Topic: USB DFU and secure boot
Replies: 2
Views: 1445

USB DFU and secure boot

Equipment: ESP32-S2-WROVER with SDK esp-idf.v5.0-dev-4770-gd622bcfd46 https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-guides/dfu.html "USB DFU" worked fine until "secure boot" got enabled. With "secure boot" enabled, ESP32-S2 can't be recognized as DFU device any more. I couldn't r...
by marclee
Fri Aug 19, 2022 7:52 pm
Forum: ESP-IDF
Topic: flash fails if secure boot is enabled
Replies: 5
Views: 3380

Re: flash fails if secure boot is enabled

And I have figured out that replacing "--flash_size keep" with "--flash_size 4MB" solves the problem.

I was wrong. It doesn't solve the problem. Flashing works, but the flashed image seems to be corrupt.
by marclee
Fri Aug 19, 2022 4:56 pm
Forum: ESP-IDF
Topic: flash fails if secure boot is enabled
Replies: 5
Views: 3380

flash fails if secure boot is enabled

Hello! Equipment: ESP32-S2-WROVER with SDK esp-idf.v5.0-dev-4770-gd622bcfd46 The Problem: flashing above flash offset of 2 MB fails if secure boot is enabled Executing "idf.py flash" results in the following error message once the area > 2 MB is going to be flashed: "A fatal error occurred: Failed t...