Search found 21 matches

by monkey
Tue Jun 06, 2023 3:22 am
Forum: ESP32 Arduino
Topic: Changing partition size via OTA
Replies: 8
Views: 11196

Re: Changing partition size via OTA

Thanks for the info. In my case, I have sent them out into the wild already, so too late to update the partition table used at build. However, if I could access additional memory via an OTA software update, that would be really useful! Don't suppose you could point to a link or something explaining ...
by monkey
Tue Jun 06, 2023 3:15 am
Forum: ESP-IDF
Topic: ESP32 connects to Access Point but can't get IP address
Replies: 17
Views: 47651

Re: ESP32 connects to Access Point but can't get IP address

@Ritesh I would say that the work around I use circumvents the problem that I'm experiencing. In my case, there is strong evidence that the network is actually misbehaving. Espressif could consider whether to take this scenario into consideration and respond accordingly without the user needing to e...
by monkey
Wed Apr 12, 2023 6:26 am
Forum: ESP32 Arduino
Topic: Changing partition size via OTA
Replies: 8
Views: 11196

Re: Changing partition size via OTA

Hi @kolban, Stumbled across this when scratching my chin! I have a production device which was originally produced on a 4MB device. However, in the intervening year, the 8MB is now available and it's what I'm using. However, the production is still using the partition map for 4MB. Given that I have ...
by monkey
Sun Mar 19, 2023 9:24 pm
Forum: ESP-IDF
Topic: bcn_timout,ap_probe_send_start
Replies: 5
Views: 15587

Re: bcn_timout,ap_probe_send_start

I've been seeing this problem too. I have some comments to make. And a possible SOLUTION. 1) What does this error message tell us, as in what is the actual failure? I.e. missed n consecutive beacons or something. Can't find a definitive definition in docs and can't find the actual source code (Serio...
by monkey
Fri Sep 23, 2022 9:00 am
Forum: ESP-IDF
Topic: ESP32 connects to Access Point but can't get IP address
Replies: 17
Views: 47651

Re: ESP32 connects to Access Point but can't get IP address

Thought I'd offer this work-around. Like others, I've observed the behaviour described, and the suggested solutions don't work. So, I figure a recovery mechanism is about as good as we can do: /* Delay & Recover if WiFi doesn't get allocated an IP address */ // uint32_t timeOutCntr = 24 * 6 * 60 * 2...
by monkey
Sun Dec 05, 2021 8:11 pm
Forum: General Discussion
Topic: ESP32 not visible in Bluetooth scan from Many types of phone.
Replies: 0
Views: 3685

ESP32 not visible in Bluetooth scan from Many types of phone.

I have been able to test my ESP32 app on a large number of phones and found that in many of them, the ESP32 does not show up in the phone's bluetooth. It has worked on these phones: Samsung S9, Samsung S6, iPhone S6+. But it has not worked on Samsung A32, Samsung A72, Xiaomi... and undoubtedly, many...
by monkey
Sat Nov 13, 2021 9:07 am
Forum: ESP-IDF
Topic: Flash Encryption / Jumpstart Example / NVS Encryption
Replies: 1
Views: 2489

Flash Encryption / Jumpstart Example / NVS Encryption

I've created an application based on the jumpstart template (more or less). I've got a massive problem with this template. Security certificates go into nvs. Therefore, as far as I can tell, there is no way to encrypt them. NVS partitions can't use flash encryption, so must use nvs encryption. But t...
by monkey
Wed Apr 21, 2021 10:05 pm
Forum: General Discussion
Topic: Partition Tables, Heap and Flash Size
Replies: 9
Views: 9995

Re: Partition Tables, Heap and Flash Size

So to sum up. We want to leave as much memory as possible for heap allocation. Simple things to do are : Return memory to the heap after BLE execution is no longer required. Make sure enough Flash is available so the IRAM isn't inadvertently used. Question: is any direction required by the compiler ...
by monkey
Wed Apr 21, 2021 4:54 am
Forum: General Discussion
Topic: Partition Tables, Heap and Flash Size
Replies: 9
Views: 9995

Re: Partition Tables, Heap and Flash Size

This post is the best I've found on ESP32 memory usage. https://medium.com/the-esp-journal/esp32-programmers-memory-model-259444d89387 upon reading that, my only question is why do I apparently have about 122 kB of DRAM available? I'm not enabling Tracing. I do use Bluetooth, so that could account f...
by monkey
Wed Apr 21, 2021 3:29 am
Forum: General Discussion
Topic: Partition Tables, Heap and Flash Size
Replies: 9
Views: 9995

Re: Partition Tables, Heap and Flash Size

Hmmm. I've read your links and they make perfect sense in isolation. But I still can't join the dots. If I print get my app size for my 4MB device, it looks like this. My OTA partition is 1600KB, so this is pretty full. Total sizes: DRAM .data size: 14560 bytes DRAM .bss size: 87664 bytes Used stati...