Search found 47 matches

by daniSi
Thu Dec 21, 2023 11:49 am
Forum: Hardware
Topic: ESP32-S3 boot mode
Replies: 5
Views: 15376

Re: ESP32-S3 boot mode

Do you know which efuse this could be? I have read through all of them but non of the descriptions seems the one of doing this.
by daniSi
Tue Dec 19, 2023 6:41 am
Forum: Hardware
Topic: ESP32-S3 boot mode
Replies: 5
Views: 15376

Re: ESP32-S3 boot mode

If there is any change this would be great. The problem is we use the strapping pins with some peripheral device which in some edge cases cause the pin stay low at power up which means the esp doesn't go to normal boot. Because the hardware is already released we would like to fix this over software.
by daniSi
Mon Dec 18, 2023 4:24 pm
Forum: Hardware
Topic: ESP32-S3 boot mode
Replies: 5
Views: 15376

ESP32-S3 boot mode

Hi, I am using the ESP32-S3 and would like to ask if there is any chance to permanently skip the download mode if the strapping pins are set? I was thinking of setting the fuse bits, but idk if there is any appropriate fuse for this. I found the option of the "Disable ROM Download Mode" but as I hav...
by daniSi
Mon Nov 06, 2023 2:20 pm
Forum: ESP-IDF
Topic: Factory app is not loaded
Replies: 0
Views: 558

Factory app is not loaded

Hi, I am experiencing a very strange behaviour where the program doesn't boot to the factory app partition. My scenario is as following. I have a firmware for the ESP32S3 which is working already for some time on multiple devices. Recently I have made some changes in my code (edited few files of me)...
by daniSi
Fri Aug 04, 2023 12:37 pm
Forum: ESP-IDF
Topic: ESP32S3 WiFi memory overwrite
Replies: 8
Views: 3212

Re: ESP32S3 WiFi memory overwrite

One option to trace this down: can you attach a debugger via (USB-serial-)JTAG and set a watchpoint on that pointer? Good idea. I have tried it out. The program already crashes before even the watchpoint can be cached. The result is as followed: https://ibb.co/DG3Pzdd Break at address "0x400570ee" ...
by daniSi
Thu Jul 27, 2023 6:14 am
Forum: ESP-IDF
Topic: ESP32S3 WiFi memory overwrite
Replies: 8
Views: 3212

Re: ESP32S3 WiFi memory overwrite

you need to close in braces like (char*)(wifi_config_ap.ap.ssid), same with (char*)(wifi_config_ap.ap.password), etc

I wouldn't agree with you that this is really needed in C.
by daniSi
Wed Jul 26, 2023 2:05 pm
Forum: ESP-IDF
Topic: ESP32S3 WiFi memory overwrite
Replies: 8
Views: 3212

Re: ESP32S3 WiFi memory overwrite

Yes its a global pointer, which is used for a graphical menu handler. Therefore, it contains multiple information like, number of lines, prev./next menu, label pointers, etc. To attach the whole code wouldn't make sense. But, this pointer is only changed on a event such as a button press. To make su...
by daniSi
Tue Jul 25, 2023 7:40 am
Forum: ESP-IDF
Topic: ESP32S3 WiFi memory overwrite
Replies: 8
Views: 3212

ESP32S3 WiFi memory overwrite

Hi, in one of my projects I am experiencing a very strange behaviour when some device connects to the wifi in AP mode. To not attach a whole bunk of code I will try to explain in a simple matter. I use a global pointer to a structure variable, where during the runtime at need memory is allocated. Th...
by daniSi
Mon May 29, 2023 1:45 pm
Forum: Hardware
Topic: Capabilities of the ESP memory systems
Replies: 3
Views: 1896

Re: Capabilities of the ESP memory systems

Thanks for the quick reply. Still I have some question open which I just don't understand. For e.g. After building a program the output is as followed: Used static IRAM: 53686 bytes ( 308554 remain, 14.8% used) .text size: 52659 bytes .vectors size: 1027 bytes Used stat D/IRAM: 13185 bytes ( 159743 ...
by daniSi
Mon May 29, 2023 11:49 am
Forum: Hardware
Topic: Capabilities of the ESP memory systems
Replies: 3
Views: 1896

Capabilities of the ESP memory systems

Hi, I have read already a lot about the different RAM memory usage possibilities but somehow it doesn't match what I have read with the program I am testing. I want to put data into IRAM location with use of uint8_t* test = heap_caps_malloc(12, MALLOC_CAP_32BIT); Because the data is uint8_t I would ...