Search found 323 matches

by mzimmers
Thu Aug 15, 2019 3:58 pm
Forum: ESP32 IDF
Topic: getting "assert failed" on socket() call
Replies: 5
Views: 174

Re: getting "assert failed" on socket() call

Hi guys - Thanks for the ideas. I don't think this was a submodule mismatch; I'd already done the recursive submodule update. Light heap poisoning was on, so I changed it to comprehensive. Here's the stack trace: MZimmers@mzimmers-w10p MINGW32 /c/esp32_projects/wifibutton $ addr2line -pfia -e build/...
by mzimmers
Wed Aug 14, 2019 3:18 pm
Forum: ESP32 IDF
Topic: getting "assert failed" on socket() call
Replies: 5
Views: 174

Re: getting "assert failed" on socket() call

Hi Angus - Is this far enough? Thanks for looking at this. C:/esp-idf/components/freertos/queue.c:1442 (xQueueGenericReceive)- assert failed! Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled. Core 0 register dump: PC : 0x40091c64 PS : 0x00060f30 A0 : 0x8018e0d9 A1 : 0...
by mzimmers
Tue Aug 13, 2019 5:18 pm
Forum: ESP32 IDF
Topic: getting "assert failed" on socket() call
Replies: 5
Views: 174

getting "assert failed" on socket() call

Hi all - I'm trying to start an http_server (v3.3-rc) using the example in the docs. I'm getting an error: C:/esp-idf/components/freertos/queue.c:1442 (xQueueGenericReceive)- assert failed! Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled. I've traced it to this call ...
by mzimmers
Tue Aug 13, 2019 1:56 pm
Forum: ESP32 IDF
Topic: how to update build copy of IDF files?
Replies: 3
Views: 134

Re: how to update build copy of IDF files?

Hi Angus - I'd forgotten that the build directory doesn't contain source files. The file I want to use is esp_http_server.h from esp_http_server/include. I notice that it's not in $IDF_PATH/components/esp32/include. It's been so long since I added a component to my programs that I don't remember how...
by mzimmers
Mon Aug 12, 2019 6:38 pm
Forum: ESP32 IDF
Topic: how to update build copy of IDF files?
Replies: 3
Views: 134

how to update build copy of IDF files?

Hi all - I've been asked to add an HTTP server to our application. My build directory in my application seems to be missing some files that are present in the IDF. I'm not sure what happened, but can someone remind me how to update the copy of the IDF components I have in my build directory? Thanks....
by mzimmers
Fri Jul 26, 2019 4:46 pm
Forum: General Discussion
Topic: (solved) working with efuses
Replies: 13
Views: 563

Re: working with efuses

Hi Konstantin - You're right - the bad length on the read call was confusing my results. I've also decided to write the fields individually; that way I don't risk overwriting anything in the reserved section. It seems to be working now...thanks! Here's my revised code, for anyone who might be experi...
by mzimmers
Thu Jul 25, 2019 3:00 pm
Forum: General Discussion
Topic: (solved) working with efuses
Replies: 13
Views: 563

Re: working with efuses

Hi Konstantin - Good catch on my struct; just a sloppy mistake on my part. Unfortunately, my program is still acting strangely. First, here's a look at fuse block 3: $ espefuse.py --port COM7 dump espefuse.py v2.6 Connecting........__ EFUSE block 0: 00000000 bf5edbec 00853c71 0000a000 00000535 00000...
by mzimmers
Thu Jul 25, 2019 2:22 am
Forum: General Discussion
Topic: (solved) working with efuses
Replies: 13
Views: 563

Re: working with efuses

I didn't think so, but I'll try again in the morning with the attribute and report back. Thanks...
by mzimmers
Thu Jul 25, 2019 1:19 am
Forum: General Discussion
Topic: (solved) working with efuses
Replies: 13
Views: 563

Re: working with efuses

struct ESP_FUSE3 { uint8_t crc; uint8_t macAddr[6]; uint8_t reserved[8]; uint8_t version; }; I could try writing the fields individually, but the real mystery right now is why this call: rc = esp_efuse_mac_get_custom(fuse3.macAddr); Is returning ESP_ERR_INVALID_VERSION. I have shown that the versio...
by mzimmers
Wed Jul 24, 2019 8:56 pm
Forum: General Discussion
Topic: (solved) working with efuses
Replies: 13
Views: 563

Re: working with efuses

I wasn't aware of that simulation option; thank you for pointing it out. I just tried it, and got essentially the same results. I (69) Flash: initBaseMacAddress(): efuse BLK3 is programmed as follows: I (79) Flash: initBaseMacAddress(): efuse BLK3 version field is programmed as 1: I (89) Flash: init...

Go to advanced search