Search found 1968 matches

by ESP_Angus
Tue Jan 21, 2020 1:29 am
Forum: ESP32 IDF
Topic: ESP-IDF v4.0 Release Candidate has been released
Replies: 0
Views: 50

ESP-IDF v4.0 Release Candidate has been released

Documentation for release v4.0-rc is available at https://docs.espressif.com/projects/esp-idf/en/v4.0-rc/ ESP-IDF v4.0-rc is a release candidate prerelease of ESP-IDF v4.0, which is a major update for ESP-IDF v3.x. ESP-IDF v4.0-rc is mostly compatible with apps written for ESP-IDF v3.x, but there ar...
by ESP_Angus
Mon Jan 20, 2020 5:02 am
Forum: ESP32 IDF
Topic: fast isr_handler during flash write or erase gives "Cache disabled but cached memory region accessed"
Replies: 5
Views: 206

Re: fast isr_handler during flash write or erase gives "Cache disabled but cached memory region accessed"

Hi bwendin, Passing the "ESP_INTR_FLAG_IRAM" marks the ISR as "IRAM safe", meaning it will only ever access buffers allocated from internal memory and execute functions that are loaded into IRAM not flash. This means that the ISR can keep running even while writing to flash (including NVS operations...
by ESP_Angus
Sun Jan 19, 2020 11:55 pm
Forum: Hardware
Topic: Pico-D4 automatic boot sequence not responding
Replies: 3
Views: 336

Re: Pico-D4 automatic boot sequence not responding

Hi GatCode, No output at all from the chip is weird. Any time the EN pin on the PICO-D4 goes from low to high there should be some serial output of some kind, even if it doesn't boot into the right mode. The first trace you posted shows a weird oscillation on the rising edge of RES. Is it possible t...
by ESP_Angus
Fri Jan 10, 2020 4:37 am
Forum: ESP32 IDF
Topic: ESP32 define custom esp_err_t errors and best practice
Replies: 3
Views: 217

Re: ESP32 define custom esp_err_t errors and best practice

Hi fiveowle, I'm afraid we don't have a good solution for this yet. We have discussed adding a "user" reserved range where, but other people also publish IDF components to be shared and it's not helpful if someone publishes a thirdparty component that also uses codes in the "user" range. We are look...
by ESP_Angus
Fri Jan 10, 2020 1:04 am
Forum: Hardware
Topic: GPIO0 ground for upload???
Replies: 4
Views: 277

Re: GPIO0 ground for upload???

code that won't fully run on this board [ESP32 Thing] will run normally on another that doesn't auto boot. This is probably a different cause, the ESP32 Thing is the only ESP32 development board (to my knowledge) that has used a 26MHz crystal on the board, and Espressif recommends using 40MHz cryst...
by ESP_Angus
Fri Jan 10, 2020 12:45 am
Forum: General Discussion
Topic: std::thread not usuable in ESP-IDF 4.1 legacy build
Replies: 13
Views: 962

Re: std::thread not usuable in ESP-IDF 4.1 legacy build

You are correct w.r.t. the new build system however the stable 3.3.1 tool, IDF 4.0 build allows menuconfig of exceptions but not rtti. I would love to know how to add project CPPFLAGS as then I could switch betweeen old/new emerging builds easily. I did remove makefile -frtti without resolution. Ah...
by ESP_Angus
Thu Jan 09, 2020 3:05 am
Forum: ESP32 IDF
Topic: test for IDF version >= 3.3 with macro
Replies: 2
Views: 161

Re: test for IDF version >= 3.3 with macro

Hi paul, You're right that the idf_version.h header file is only available in ESP-IDF v4.0 and newer. (You can use the gcc extension has_include() to test if this header exists as a way of knowing if you're using an earlier ESP-IDF version, but this doesn't help if you support v3.3.) If your compone...
by ESP_Angus
Wed Jan 08, 2020 7:26 am
Forum: ESP32 IDF
Topic: Flash port
Replies: 2
Views: 84

Re: Flash port

Hi wevets,

If there's a environment variable ESPPORT defined (or set on the make command line) then this will override the serial port set in sdkconfig. Is it possible ESPPORT is defined somewhere (can run "echo $ESPPORT" to check it).


Angus
by ESP_Angus
Wed Jan 08, 2020 3:39 am
Forum: ESP32 IDF
Topic: Secure Boot and Flash Encryption with Release Mode did not work
Replies: 4
Views: 203

Re: Secure Boot and Flash Encryption with Release Mode did not work

OK, thanks for clarifying. You are correct that you don't need to burn any efuses yourself, it should be done by the bootloader. What I mean is that the bootloader is crashing before it burns any of the efuses. It wasn't clear whether it was crashing before it did anything at all. Because the log le...
by ESP_Angus
Tue Jan 07, 2020 11:07 pm
Forum: ESP32 IDF
Topic: Secure Boot and Flash Encryption with Release Mode did not work
Replies: 4
Views: 203

Re: Secure Boot and Flash Encryption with Release Mode did not work

It looks like the bootloader is somehow invalid, it's crashing before anything else happens. No security-related efuses have been burned, so the chip itself is still good. What bootloader log level do you have set in menuconfig? https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/kco...

Go to advanced search