Search found 302 matches

by mbratch
Sat Jan 14, 2023 2:50 pm
Forum: ESP-IDF
Topic: Problem using the method esp_flash_get_size
Replies: 4
Views: 2287

Re: Problem using the method esp_flash_get_size

if(esp_flash_get_size(NULL, &flash_size) != ESP_OK) { printf("Get flash size failed"); return; } According to the documentation , the first argument is a `esp_flash_t *chip` where `chip` is: chip – Pointer to identify flash chip. Must have been successfully initialised via `esp_flash_init()` It say...
by mbratch
Sat Jan 14, 2023 1:57 pm
Forum: General Discussion
Topic: Get started
Replies: 5
Views: 3171

Re: Get started

Hi Jorgen It's a significant investment for a company to develop and support a dedicated, unique, full-featured IDE. Many years ago this was more common. But more recently, it's more common to leverage an existing, popular IDE such as Eclipse or VS Code. I think it's unlikely that Espressif will inv...
by mbratch
Fri Jan 13, 2023 4:09 pm
Forum: General Discussion
Topic: Get started
Replies: 5
Views: 3171

Re: Get started

My wish is that Espressif will make available a self-standing IDE. They do! It's based upon Eclipse. The last version they posted was on the forums here, version Espressif IDE 2.6.0 . The Espressif documentation also has a list of IDEs . I'm not sure why their own spin on Eclipse is not listed here...
by mbratch
Fri Jan 13, 2023 2:33 am
Forum: ESP-IDF
Topic: nvs_open return ESP_ERR_NVS_NOT_FOUND after erase flash
Replies: 3
Views: 2512

Re: nvs_open return ESP_ERR_NVS_NOT_FOUND after erase flash

I assume when your program starts, you always call `nvsInit()`, correct?
Is your call to `nvs_init()` successful?
by mbratch
Fri Jan 13, 2023 2:13 am
Forum: Hardware
Topic: Restrictions on GPIO pins
Replies: 1
Views: 2082

Re: Restrictions on GPIO pins

Have you looked at Espressif's ESP32-S3-DevKitC-1 Documentation ? It says, for example, For boards with ESP32-S3-WROOM-2 modules, the pins GPIO35, GPIO36 and GPIO37 are used for the internal communication between ESP32-S3 and SPI flash/PSRAM memory, thus not available for external use. If you're not...
by mbratch
Wed Jan 11, 2023 12:39 pm
Forum: ESP-IDF
Topic: [solved] IP_EVENT_STA_GOT_IP never triggered
Replies: 3
Views: 2381

Re: IP_EVENT_STA_GOT_IP never triggered

found the problem, added ESP_ERROR_CHECK(esp_event_handler_instance_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &wifi_event_handler, NULL, NULL)); and now the event is triggered Yes after seeing your initial register call I was going to suggest that. There are actually different "event bases" to regist...
by mbratch
Wed Jan 11, 2023 4:05 am
Forum: General Discussion
Topic: ESP32 webserver from SPIFFS
Replies: 9
Views: 11491

Re: ESP32 webserver from SPIFFS

When you send an http requests to the ESP32 the request data that the request handler receives contains the request url. So you can check it for action_page1 or action_page2.
by mbratch
Wed Jan 11, 2023 4:01 am
Forum: General Discussion
Topic: Looking for the right MCU
Replies: 1
Views: 998

Re: Looking for the right MCU

Difficult to advise. How much RAM is enough? How fast is fast enough? If speed is critical, why are you requiring micropython? A compiled Language such as C or C++ is likely faster in many applications. Did you check the specifications in the various ESP32 mcus to find the fastest and most RAM suppo...
by mbratch
Tue Jan 10, 2023 3:19 pm
Forum: ESP-IDF
Topic: [solved] IP_EVENT_STA_GOT_IP never triggered
Replies: 3
Views: 2381

Re: IP_EVENT_STA_GOT_IP never triggered

Hi steeveone

Just to confirm, can you show what your call to `esp_event_handler_instance_register` looks like?
Are you getting any other events?
by mbratch
Tue Jan 10, 2023 12:39 am
Forum: ESP-IDF
Topic: How to send data over Wifi in soft Ap and station mode in ESp IDF
Replies: 7
Views: 6817

Re: How to send data over Wifi in soft Ap and station mode in ESp IDF

...but their is no connection between them even though IP, name of wifi's are same .
Can you clarify this a bit? Which IPs and names are the same? You don't mean of your two ESPs, do you?