Search found 6 matches

by Konstantin
Mon May 11, 2020 5:54 pm
Forum: ESP-IDF
Topic: gettimeofday not working with timeval [IDFGH-3263]
Replies: 3
Views: 1121

Re: gettimeofday not working with timeval [IDFGH-3263]

Hi @halilarkl07! I tried your code and can not get the same result as you reported (it works as expected). I used the hello_world example as a base and put your code. I suggest you try my way, apply the hello_world_patch.txt patch for hello_world. The log like this: tv_now.tv_sec 0 PRId64 tv_now.tv_...
by Konstantin
Wed Aug 28, 2019 5:10 am
Forum: ESP-IDF
Topic: Cannot build boot loader (esp_efuse_utility_burn_efuses missing esp_clk_apb_freq)
Replies: 8
Views: 2435

Re: Cannot build boot loader (esp_efuse_utility_burn_efuses missing esp_clk_apb_freq)

Hi TheRealRevK!
Thanks for your report. I created a fix for it. It will be merged soon. You can use this patch to resolve this issue.
by Konstantin
Wed Aug 07, 2019 11:58 am
Forum: General Discussion
Topic: DPORT access workaround and high interrupts.
Replies: 5
Views: 2462

Re: DPORT access workaround and high interrupts.

Hi Malishev.

Thank you for your report about it. We have fixed this recently - https://github.com/espressif/esp-idf/co ... 3dbc2d066b.
This fix disables interrupts up to 5 levels for two DPORT workarounds. (will merge it as well to 3.3, 3.2 and 3.1).
by Konstantin
Fri Jul 26, 2019 5:05 am
Forum: General Discussion
Topic: (solved) working with efuses
Replies: 13
Views: 4528

Re: working with efuses

I tried so and it works for me: typedef struct { uint8_t crc; uint8_t macAddr[6]; uint8_t reserved[16]; uint8_t version; } ESP_FUSE3; rc = esp_efuse_read_block(EFUSE_BLK3, &fuse3, 0, sizeof(fuse3)*8); Propably I was wrong when suggest that size = sizeof(fuse3), need to use sizeof(fuse3) * 8 (due to ...
by Konstantin
Thu Jul 25, 2019 5:48 am
Forum: General Discussion
Topic: (solved) working with efuses
Replies: 13
Views: 4528

Re: working with efuses

Hi mzimmers! 1. Your ESP_FUSE3 fuse3 is: struct ESP_FUSE3 { uint8_t crc; uint8_t macAddr[6]; uint8_t reserved[8]; uint8_t version; }; This structure is 8+8*6+8+8 = 72 bits. But in your code you do `rc = esp_efuse_read_block(EFUSE_BLK3, &fuse3, 0, 192);`. You have to use your real size of fuse3. The ...
by Konstantin
Tue Apr 16, 2019 2:10 am
Forum: ESP-IDF
Topic: Problems with ROLLBACK
Replies: 1
Views: 1154

Re: Problems with ROLLBACK

Hi, dhananjay.sutariya. When you download your firmware first time, OTADATA will be erased. In bootloader, it set to the right ota_seq and ESP_OTA_IMG_VALID state. It means that in an application your code will be not checked by the diagnostic code, because you have only one bootable app and rollbac...

Go to advanced search