Search found 340 matches

by mzimmers
Tue Aug 13, 2019 1:56 pm
Forum: ESP32 IDF
Topic: how to update build copy of IDF files?
Replies: 3
Views: 172

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: 172

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: 723

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: 723

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: 723

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: 723

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: 723

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...
by mzimmers
Wed Jul 24, 2019 2:27 pm
Forum: General Discussion
Topic: (solved) working with efuses
Replies: 13
Views: 723

Re: working with efuses

Hi WiFive - no, this isn't from the first run. In the first run, I programmed values into BLK3. But on subsequent runs, I'm getting this: E (109) system_api: Base MAC address from BLK3 of EFUSE version error, version = 0 when I call esp_efuse_mac_get_custom(). According to the docs, that suggests th...
by mzimmers
Tue Jul 23, 2019 9:44 pm
Forum: General Discussion
Topic: (solved) working with efuses
Replies: 13
Views: 723

Re: working with efuses

BTT...anyone have any suggestions on this?

Thanks...
by mzimmers
Mon Jul 22, 2019 2:49 pm
Forum: General Discussion
Topic: (solved) working with efuses
Replies: 13
Views: 723

(solved) working with efuses

Hi all - I recently started working with the efuse handler. I need to store a custom MAC address in BLK3, so I wrote the following routine: esp_err_t Flash::initBaseMacAddress() { char macAddrAscii[18] = { NULL_CHAR }; esp_err_t rc = ESP_OK; ESP_FUSE3 fuse3; // see whether efuse has been programmed ...

Go to advanced search