Search found 2344 matches

by ESP_Angus
Thu Sep 13, 2018 12:03 am
Forum: ESP-IDF
Topic: esp-idf The following Python requirements are not satisfied: future>=0.16.0
Replies: 27
Views: 55572

Re: esp-idf The following Python requirements are not satisfied: future>=0.16.0

Great news! We've added "setuptools" as a prerequisite to the Getting Started guides and to requirements.txt itself, now that we know it may not be installed on all systems.
by ESP_Angus
Wed Sep 12, 2018 8:07 am
Forum: General Discussion
Topic: How to reset all the eFuse? What does "secure boot check fail" means?
Replies: 8
Views: 20537

Re: How to reset all the eFuse? What does "secure boot check fail" means?

"secure boot check fail" is a message from the ROM means that the digest calculated when secure boot was enabled (and ABS_DONE_0 was written to 1) no longer matches the bootloader found in flash. It's unrelated to signing keys, although the digest is generated from the secure boot key in efuse. It i...
by ESP_Angus
Wed Sep 12, 2018 7:57 am
Forum: Report Bugs
Topic: Verify Bug for [espsecure.py] don't know if Secure Boot is okay
Replies: 2
Views: 5553

Re: Verify Bug for [espsecure.py] don't know if Secure Boot is okay

Thanks for reporting this. The extract_public_key command produces a raw binary public key file (suitable for embedding in the bootloader), and it's not compatible with the espsecure.py verification command. This will be fixed. This is not a cause of the "secure boot check fail" message. This messag...
by ESP_Angus
Wed Sep 12, 2018 7:51 am
Forum: ESP-IDF
Topic: flash frequency does't change to 80Mhz
Replies: 4
Views: 6583

Re: flash frequency does't change to 80Mhz

Hi pwiner99, What method did you use to flash? To change flash settings like this, you need to both recompile and re-flash the bootloader.bin with new esptool.py arguments ("-fs 80m" in this case). The flash speed setting will be overriden by esptool.py at flashing time if one is supplied on the com...
by ESP_Angus
Wed Sep 12, 2018 7:34 am
Forum: General Discussion
Topic: Calling freeaddrinfo causes CORRUPT_HEAP and a subsequent reboot.
Replies: 4
Views: 4991

Re: Calling freeaddrinfo causes CORRUPT_HEAP and a subsequent reboot.

Can you post the code which calls freeaddrinfo()? Is it freeing a pointer which was returned by a call to getaddrinfo()? freeaddrinfo() passes the structures inside the addrinfo structure to free(). free() will crash with a CORRUPT HEAP message if you try to free something which wasn't allocated fro...
by ESP_Angus
Tue Sep 11, 2018 11:48 pm
Forum: ESP-IDF
Topic: Preview release: CMake-based build system for ESP-IDF
Replies: 65
Views: 79397

Re: Preview release: CMake-based build system for ESP-IDF

I would be solved. I also think working out of a build directory is very close to allowing the possibility of multiple build dirs for the same project. Right now (I think) this isn't possible with esp-idf, since sdkconfig is stored in the root dir. You can override the SDKCONFIG path (using make va...
by ESP_Angus
Tue Sep 11, 2018 11:44 pm
Forum: ESP32 Arduino
Topic: Understanding free heap memory
Replies: 4
Views: 23065

Re: Compiler does not report space taken by big char arrays??

I've split these posts into a new thread because they're not really related to the original posts (which were about static memory usage). If the largest contiguous heap block is 113KB does this mean making 2 arrays of 60KB with malloc is possible? I tried splitting a 115200 byte array into 2 half si...
by ESP_Angus
Tue Sep 11, 2018 11:36 pm
Forum: General Discussion
Topic: local makefile/kconfig
Replies: 1
Views: 3039

Re: local makefile/kconfig

Hi, I'm not sure I understand the question, but I think the answer is "yes". Suggest starting with the Build System documentation, particularly the parts about "component.mk" files: https://docs.espressif.com/projects/esp-idf/en/stable/api-guides/build-system.html If you still have questions afterwa...
by ESP_Angus
Tue Sep 11, 2018 4:55 am
Forum: ESP32 Arduino
Topic: Error: region `dram0_0_seg' overflowed by 31632 bytes
Replies: 9
Views: 14860

Re: Error: region `dram0_0_seg' overflowed by 31632 bytes

It compiled but did not show the right memory usage and the ESP32 keeps rebooting. What exactly happens when it reboots? If allocating 115200 bytes fails then the assert() will fail, and the ESP32 will print an error message and reset. This means there wasn't enough free heap (in a single contiguou...
by ESP_Angus
Tue Sep 11, 2018 2:22 am
Forum: Hardware
Topic: Quickest possible digital output
Replies: 7
Views: 9441

Re: Quickest possible digital output

Beyond a certain ceiling of CPU frequency, most microcontrollers run their external peripheral bus and peripherals at a lower clock to the main CPU. For ESP32, the APB peripheral bus speed is max 80MHz. Quad SPI is named as such because it uses 4 pins to transfer data in parallel. So you can reach 1...