Search found 21 matches

by kuhatovuk
Sat Mar 28, 2020 5:25 pm
Forum: General Discussion
Topic: ADC1 operation affecting GPIO27 - chip issue?
Replies: 4
Views: 6208

Re: ADC1 operation affecting GPIO27 - chip issue?

Hello, same thing with ADC1_CHANNEL_2 and IO25 internally pulled up. ADC reads trigger its LOW edge interrupt.
by kuhatovuk
Fri Mar 13, 2020 5:47 pm
Forum: Hardware
Topic: Disable IO0 read on boot ?
Replies: 1
Views: 4256

Disable IO0 read on boot ?

Hello! I did a stupid and a component is pulling my IO0 low on boot. Is there an efuse command or secure command that would tell ESP32 to ignore IO0 on boot from now on ? I saw something similar for IO12. Thank you!
by kuhatovuk
Wed Mar 11, 2020 3:40 pm
Forum: ESP-IDF
Topic: gpio_wakeup_disable has no impact, with test case
Replies: 2
Views: 4637

Re: gpio_wakeup_disable has no impact, with test case

It's a 4.0 bug where gpio enable calls the RTC function but not disable :

https://github.com/espressif/esp-idf/bl ... pio.c#L470
by kuhatovuk
Wed Mar 11, 2020 2:56 pm
Forum: ESP-IDF
Topic: gpio_wakeup_disable has no impact, with test case
Replies: 2
Views: 4637

gpio_wakeup_disable has no impact, with test case

Hello, any idea why gpio_wakeup_disable has no impact here ? ESP32 (IDF4) keeps on waking up if I put pin 25 to GND. void app_main() { gpio_set_pull_mode(GPIO_NUM_25, GPIO_PULLUP_ONLY); gpio_set_direction(GPIO_NUM_25, GPIO_MODE_INPUT); gpio_wakeup_enable(GPIO_NUM_25, GPIO_INTR_LOW_LEVEL); esp_sleep_...
by kuhatovuk
Tue Dec 03, 2019 11:49 pm
Forum: Hardware
Topic: PICO-D4 : Can I use SDIO and HSPI together ?
Replies: 1
Views: 2490

PICO-D4 : Can I use SDIO and HSPI together ?

Hello,

I have an SDcard connected to IO14/12/13/15/2/4 of PICO-D4 as SDIO 4-bit. Can I also use these pins (except CMD/CS) as HSPI for other SPI slave chips?

Thank you much!
Kuha
by kuhatovuk
Sun Oct 27, 2019 12:41 pm
Forum: General Discussion
Topic: Ways to make binary smaller?
Replies: 19
Views: 30970

Re: Ways to make binary smaller?

Thank you Laurent, newlib nano saved me 50kb.
by kuhatovuk
Wed Oct 23, 2019 6:24 pm
Forum: General Discussion
Topic: Faster wake up from light sleep
Replies: 0
Views: 1993

Faster wake up from light sleep

Hello, I need to wake up from light sleep, read bytes from UART and go back to sleep. Currently, I need to wake up 25ms before UART receives or I lose bytes. Is it possible to improve faster wake up from light sleep? With STM32, I wake up from STOP mode and do the minimum before receive (no PLL wake...
by kuhatovuk
Mon Oct 21, 2019 9:15 pm
Forum: General Discussion
Topic: Avoiding writing plain text to encrypted partitions
Replies: 2
Views: 3346

Re: Avoiding writing plain text to encrypted partitions

Hello, thank you for the answer. I had a similar issue today. Did the usual : burn eFuse SDIO 3.3V burn eFuse BLK3, write protect it make -j4 erase_flash make -j4 make -j4 bootloader command to flash bootloader make -j4 flash monitor And it started well. Then it said some byte at ota0's offset wasn'...
by kuhatovuk
Tue Oct 15, 2019 8:12 pm
Forum: General Discussion
Topic: Avoiding writing plain text to encrypted partitions
Replies: 2
Views: 3346

Avoiding writing plain text to encrypted partitions

Hello ! I did "secure-boot one time" + "flash encryption release mode" on ten devices today. I thought one had failed and I restarted the operation. But maybe it was fine already. So I think I overwrote the valid encrypted bootloader with a plain-text bootloader and bricked it. Is there a command op...
by kuhatovuk
Thu Oct 10, 2019 7:43 pm
Forum: General Discussion
Topic: Encrypted OTA firmware
Replies: 23
Views: 30090

Re: Encrypted OTA firmware

Thank you ! Is it better to keep the secret key in the firmware or eFuse BLK3 ? Thank you again.

EDIT: Just read I wouldn't have access to BLK3 from program if I read protect it so it's not good. Should I instead add a small encrypted flash partition to hold the key ?