Search found 22 matches

by sorenhl
Sun Jun 16, 2019 1:18 pm
Forum: ESP-IDF
Topic: How to detect new coredumps
Replies: 1
Views: 3337

Re: How to detect new coredumps

Found a solution using esp_reset_reason() at boot, which I then use to store something in the flash :)
by sorenhl
Sat Jun 15, 2019 8:10 pm
Forum: ESP-IDF
Topic: How to detect new coredumps
Replies: 1
Views: 3337

How to detect new coredumps

Hi, I have a device in production where I try to track all the crashes through the coredump, which the device is configured to dump to the flash. What I currently do is the following: 1. Calculating a "magic" number based on all bytes in the coredump flash area to check if any byte did change. If ye...
by sorenhl
Fri Jun 29, 2018 12:18 pm
Forum: ESP-IDF
Topic: mdns disappears after a few minutes
Replies: 1
Views: 3953

Re: mdns disappears after a few minutes

If anybody have a code example of something that they have successfully tested stable, I would love to try that out on my device.
by sorenhl
Thu Jun 28, 2018 7:16 pm
Forum: ESP-IDF
Topic: Coredump to flash issues
Replies: 7
Views: 12107

Re: Coredump to flash issues

You are totally right, I now alligned it with 4k (thank you for the 3x zero tip) and now it seems to be storing the information succesfully - at least it does not complain when I force it to crash and the memory gets populated. Now the table last entries in the partitition file looks like this: spif...
by sorenhl
Wed Jun 27, 2018 6:44 pm
Forum: ESP-IDF
Topic: mdns disappears after a few minutes
Replies: 1
Views: 3953

mdns disappears after a few minutes

Hi, I am rewriting an esp8266 project and the only functionality left is to make the device discoverable through mDNS. The issue is, that I can actually discover the device with all the correct information on my phone, but after some minutes it disappears again until I reboot the device. The posts I...
by sorenhl
Wed Jun 27, 2018 4:15 pm
Forum: ESP-IDF
Topic: Coredump to flash issues
Replies: 7
Views: 12107

Re: Coredump to flash issues

Can you try making SPIFFS and core dump partitions aligned to 4kB and see if that helps? I just came home but looking at the partition table the SPIFFS and coredump is already alligned with 4kB if my math is right: 0x811000 / 0x1000 = 0x414 (8458240 / 8096 = 1044) 0xFF0600 / 0x1000 = 0x810 (1671321...
by sorenhl
Wed Jun 27, 2018 8:30 am
Forum: ESP-IDF
Topic: Coredump to flash issues
Replies: 7
Views: 12107

Re: Coredump to flash issues

Can you try making SPIFFS and core dump partitions aligned to 4kB and see if that helps?
I will try this tonight and post the results, thank you :)
by sorenhl
Tue Jun 26, 2018 9:00 pm
Forum: ESP-IDF
Topic: Coredump to flash issues
Replies: 7
Views: 12107

Coredump to flash issues

Hi there, I am having trouble with the coredump to flash, it works when I do dump over uART. My partition table is the following (I use ESP-WROOM-32 with 16MB external flash, but I could not get it to work with my other clean 4MB ESP-WROOM-32 either): # Name, Type, SubType, Offset, Size, Flags nvs, ...
by sorenhl
Tue Jun 26, 2018 8:52 pm
Forum: Hardware
Topic: ESP-WROOM-32 and extending the flash
Replies: 10
Views: 33162

Re: ESP-WROOM-32 and extending the flash

Thank you all for the great responses, both regarding the confirmation of W25Q128FV and the tip about purchasing with custom flash size. Decision: I have decided upon configuring the flash externally as intended initially, simply because I need to be sure that I can obtain the ESP-WROOM-32 and the f...
by sorenhl
Wed Jun 20, 2018 7:59 pm
Forum: Hardware
Topic: ESP-WROOM-32 and extending the flash
Replies: 10
Views: 33162

Re: ESP-WROOM-32 and extending the flash

Still waiting for the flash chips to arrive, but reading their documentation they seem to be doing quo just fine. Now if anybody have any experience with this flash, especially regarding stability, downsides, etc., I would really love to hear it. Otherwise I will ofcourse be updating this thread wit...