Search found 67 matches

by jsam589
Sun Apr 12, 2020 6:55 pm
Forum: ESP32 IDF
Topic: Are ULP restrictions gone in silicon V3?
Replies: 4
Views: 1024

Are ULP restrictions gone in silicon V3?

I keep finding notes in the online documentation stating that revisions 0 and 1 of ESP32 have limitations with respect to ULP and deep sleep. For example, API description of esp_sleep_enable_ext0_wakeup(). In my project I need to be able to set three wakeup reasons at the same time and wake from dee...
by jsam589
Sun Apr 12, 2020 6:02 pm
Forum: ESP32 IDF
Topic: Is there a ULP workaround to change sleep time?
Replies: 5
Views: 948

Re: Is there a ULP workaround to change sleep time?

Awesome info! Thanks for sharing your knowledge!
by jsam589
Sun Apr 12, 2020 12:41 am
Forum: ESP32 IDF
Topic: Is there a ULP workaround to change sleep time?
Replies: 5
Views: 948

Is there a ULP workaround to change sleep time?

According to online documentation (quoted below), ULP code cannot change which of the 5 sleep time values is in use if the main system is in deep sleep. It would be very helpful for my project if the ULP code could choose a different timer without bringing ESP32 out of deep sleep. It does not seem t...
by jsam589
Thu Apr 09, 2020 5:45 pm
Forum: ESP32 IDF
Topic: ULP example in 4.0 IDF fails to build
Replies: 1
Views: 781

Re: ULP example in 4.0 IDF fails to build

WORKAROUND found: The ULP build seems to work smoothly on Linux but not Windows. The root of the problem on Windows seems to be that, by default, .py scripts do not have a default application associated, which would be <somepath>\python.exe. Although idf.py runs without typing "python idf.py", one l...
by jsam589
Thu Apr 09, 2020 3:05 am
Forum: ESP32 IDF
Topic: ULP example in 4.0 IDF fails to build
Replies: 1
Views: 781

ULP example in 4.0 IDF fails to build

I am trying to start using ULP in my program. I have stable IDF v4.0. I tried to build the simple ULP example but it seems to be failing to build the auto-generated header file. This is on Windows 10 host. Is this a known issue? Could it be permissions? My command window is not running as Administra...
by jsam589
Wed Feb 05, 2020 2:00 pm
Forum: ESP32 IDF
Topic: Remedy for overflow of iram0_0_seg?
Replies: 3
Views: 593

Re: Remedy for overflow of iram0_0_seg?

WiFive wrote: "You are extending into iram1 which is also used as heap memory and apptrace memory" Is it okay to do this? Will the iram1 allocation be adjusted automatically? What is the usual solution to the error of not fitting into iram0_0_seg? It seems to happen to quite a few people. A colleagu...
by jsam589
Wed Feb 05, 2020 2:40 am
Forum: ESP32 IDF
Topic: Remedy for overflow of iram0_0_seg?
Replies: 3
Views: 593

Remedy for overflow of iram0_0_seg?

I have an application that was working nicely until I added a call to enter deep sleep. I then got the overflow and failure from linker shown below. I have tried changing from Debug to Release compiler option, and this eliminates the error (for now). However, I will soon be activating Bluetooth and ...
by jsam589
Tue Feb 04, 2020 11:05 pm
Forum: ESP IoT Solution
Topic: Uninitialized var request_id causing compiler failure for Release
Replies: 1
Views: 3462

Uninitialized var request_id causing compiler failure for Release

I am using the ESP32 port of Azure SDK. I noticed this issue mentioned in several places for many months but it has never been put into the master branch. In file azure-iot-sdk-c/iothub_client/src/iothubtransport_mqtt_common.c a local variable on line 1496 size_t request_id; is not initialized. When...
by jsam589
Sun Dec 29, 2019 4:17 pm
Forum: ESP32 IDF
Topic: Will a sudden reset corrupt SPIFFS?
Replies: 0
Views: 400

Will a sudden reset corrupt SPIFFS?

I need some guidance on best practice for using SPIFFS file. It is for logging Error and Warning messages. I have a partition dedicated to this and only one file open. I use esp_log_set_vprintf() to have my own handling of messages. All works well, but I worry whether corruption could occur, either ...
by jsam589
Wed Dec 25, 2019 4:43 pm
Forum: ESP IoT Solution
Topic: Failure to provision with 4.x IDF but works with 3.3 IDF
Replies: 15
Views: 4123

Re: Failure to provision with 4.x IDF but works with 3.3 IDF

Another step forward! I find that the line to update PATH must be placed AFTER export.sh has run, or else Linux boot hangs due to complaint about tool path. But the following works in my ~/.profile: # IDF v4.0-beta2, 2019r2 toolchain applied # DOES NOT WORK HERE: export PATH="$HOME/Esp_Idf_Versions/...

Go to advanced search