Search found 9 matches

by RalimTEk
Mon Feb 18, 2019 10:06 pm
Forum: ESP-IDF
Topic: Stopping ULP & ULP Lockup
Replies: 10
Views: 9852

Re: Stopping ULP & ULP Lockup

At the end of https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/ulp.html : To disable the timer (effectively preventing the ULP program from running again), clear the RTC_CNTL_ULP_CP_SLP_TIMER_EN bit in the RTC_CNTL_STATE0_REG register. This can be done both from ULP code and from th...
by RalimTEk
Mon Feb 18, 2019 4:31 am
Forum: ESP-IDF
Topic: Stopping ULP & ULP Lockup
Replies: 10
Views: 9852

Stopping ULP & ULP Lockup

Hi, I have been running into a strange issue on some of my esp32 units (all rev1). I use a small ULP task to read two ADC inputs, and also to control some LED indicators. Sometimes after an esp_reset() call, the ULP keeps running (which in itself might be okay), however when the code starts up and t...
by RalimTEk
Sun Dec 16, 2018 10:29 pm
Forum: General Discussion
Topic: Deep sleep current higher than light sleep ?
Replies: 0
Views: 2139

Deep sleep current higher than light sleep ?

Hi, Trying to get deep sleep working with a WROVER module (4MB FLASH / 4MB SRAM). In Light sleep the current is as expected around 2.5mA, but when entering into deep sleep instead, the current drawn by the module is around 15mA. Bluetooth is not enabled in the build, and I'm running the wifi stop an...
by RalimTEk
Thu Nov 22, 2018 3:50 am
Forum: General Discussion
Topic: Light Sleep issues with BTLE & High deep sleep power
Replies: 1
Views: 3453

Light Sleep issues with BTLE & High deep sleep power

Hi, Two part issue that may be linked together. I'm running into assert fails when waking from light sleep, and very high current draw when in deep sleep. These are most likely related, and so figured i'll mention them together. When I put the ESP32 into light sleep (using timer for wakeup after app...
by RalimTEk
Wed Nov 21, 2018 6:06 am
Forum: ESP-IDF
Topic: Reading BLK3 from idf while protected
Replies: 8
Views: 7953

Re: Reading BLK3 from idf while protected

Could anyone confirm if its possible to route the burned fuses to the encryption hardware and use this on user data ? Need a method of encrypting data on the ESP and it would be ideal if this could be done independently to flash encryption settings etc. For flash pre-generated keys are not required,...
by RalimTEk
Wed Oct 31, 2018 4:55 am
Forum: ESP-IDF
Topic: Reading BLK3 from idf while protected
Replies: 8
Views: 7953

Re: Reading BLK3 from idf while protected

Our main concern with this approach is the chances of the nvs becoming erased during firmware changes, there doesnt seem to be documentation that I have found that specifies that it will not be erased or have issues long term after multiple writes (as its being actively used). One way to ensure tha...
by RalimTEk
Tue Oct 30, 2018 11:08 pm
Forum: ESP-IDF
Topic: Reading BLK3 from idf while protected
Replies: 8
Views: 7953

Re: Reading BLK3 from idf while protected

Hi Angus, I'm afraid not. The "read protection" in efuse applies to all reads via the memory bus (ie not using a hardware crypto peripheral), and espefuse.py and software running on the ESP32 read this data in the same way. Angus Can BLK3 be routed to a hardware crypto module by any chance? Can the ...
by RalimTEk
Mon Oct 29, 2018 6:11 am
Forum: ESP-IDF
Topic: Reading BLK3 from idf while protected
Replies: 8
Views: 7953

Reading BLK3 from idf while protected

Hi, Is there any way to use the BLK3 fuse bits to store part of our secret key, and protect these from read out using the espefuse.py tool with the protection bits but maintain the ability to read these from the code running on the esp32? Looking to lock down using these bits for part of the key gen...
by RalimTEk
Wed Oct 10, 2018 12:43 am
Forum: General Discussion
Topic: using efuse BLK3
Replies: 19
Views: 20412

Re: using efuse BLK3

ESP_Angus wrote: This can't be done easily at the moment. Support is being added right now, so something should be available in ESP-IDF very soon.
I would also love to see support for this added to the idf or at the least espefuse.py

Is there any idea on if the timeline is weeks, months or a year ? :D