Search found 7 matches
- Fri Apr 22, 2022 7:23 am
- Forum: ESP32 Arduino
- Topic: Corrupt Heap Error
- Replies: 2
- Views: 2668
Re: Corrupt Heap Error
That's likely either a buffer you're overflowing, or some use-after-free condition. It's not entirely applicable to Arduino, but perhaps the ESP-IDF heap debugging chapter can help. If you can post your code, people here can possibly also help. Hi, Thank you, but I have solved my error. I was triyi...
- Thu Apr 21, 2022 10:34 am
- Forum: ESP32 Arduino
- Topic: Corrupt Heap Error
- Replies: 2
- Views: 2668
Corrupt Heap Error
Hi, I'm having the next problem but I don't know from where it's comming. It's always the same position, I'm checking the heap integrity every ten seconds and it always return true. CORRUPT HEAP: Bad head at 0x3ffafac8. Expected 0xabba1234 got 0x3ffafefc abort() was called at PC 0x40087361 on core 1...
- Tue Nov 16, 2021 9:36 am
- Forum: General Discussion
- Topic: Espressif software reset load unhanled
- Replies: 5
- Views: 3694
Re: Espressif software reset load unhanled
That should work... are you sure size_req is also initialized? Also note that nvs_get_blob doesn't necessarily return a null-terminated string; that could lead to issues. Yes, the variable was initializaed to 20 (uint32_t size_req = 20;), also before I found the solution to the problem, that variab...
- Tue Nov 16, 2021 8:20 am
- Forum: General Discussion
- Topic: Espressif software reset load unhanled
- Replies: 5
- Views: 3694
Re: Espressif software reset load unhanled
Hi all, I have found a solution to this error. The problem was related to the destination buffer for the function nvs_get_blob. Although the output buffer was initialized, it looks like the Espressif does't like it. I have created a pointer to a reserved memory space: char *ssid = malloc(20 + sizeof...
- Mon Nov 15, 2021 8:32 am
- Forum: General Discussion
- Topic: Espressif software reset load unhanled
- Replies: 5
- Views: 3694
Re: Espressif software reset load unhanled
That's hard to say. Can you post the entire error, if possible including the backtrace? The problem happens when I do the nvs_get_blob instrucction. The first time Ithe program executes it, it does it well, but when the espressif reboots, the error happens. I do the nvs initialization as it is expl...
- Fri Nov 12, 2021 11:04 am
- Forum: General Discussion
- Topic: Espressif software reset load unhanled
- Replies: 5
- Views: 3694
Espressif software reset load unhanled
Hi all, Currently I'm developing a C program to run in the Espressif. The first time I start the program well, but when I do a software reset the Espressif gets stuck in an error loop with the next error code: Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled. I don't ...
- Thu Oct 28, 2021 9:37 am
- Forum: Hardware
- Topic: ESP32 fixed variables in ROM
- Replies: 2
- Views: 2872
ESP32 fixed variables in ROM
Hi, I would like to allocate some variables in the ROM memory address of the Espressif, so I can acess to them, change it's value and keep its value constant between each turn off-on process. I know I can do it with an EEPROM memory, but I would prefer not using this peripheral. How do I allocate th...