Search found 19 matches

by Seungwhan
Wed Oct 30, 2019 7:30 pm
Forum: Hardware
Topic: Flashing aborted in the midst
Replies: 1
Views: 2719

Flashing aborted in the midst

Hi, We are using ESP32-WROOM32D module. 1 device out of 100 devices fails to program. It happens at random location(or address). I tried both 115200 and 921600, and symptoms are same. Could it be the module internal SPI Flash failure? And here is what's happening. -------------esptool.py v2.6 Serial...
by Seungwhan
Wed Oct 30, 2019 5:48 pm
Forum: Hardware
Topic: external 32KHz crystal calibration time
Replies: 2
Views: 3668

Re: external 32KHz crystal calibration time

Didn't do diff on sdkconfig, yet. Good point. I'll do that sometime soon. And this is where it takes longer. https://github.com/espressif/esp-idf/blob/release/v3.2/components/soc/esp32/rtc_time.c#L94 It's meant to timeout there, but I modified the code a little so that it doesn't timeout and measure...
by Seungwhan
Wed Oct 30, 2019 5:59 am
Forum: Hardware
Topic: external 32KHz crystal calibration time
Replies: 2
Views: 3668

external 32KHz crystal calibration time

This is duplicate of https://esp32.com/viewtopic.php?f=13&t=12893 that I posted on ESP32 IDF forum. Copying here since I got 0 reply there and just wanted to make sure if I posted it on to the right forum. So when you enable external 32KHz crystal, it will perform calibration during booting. https:/...
by Seungwhan
Tue Oct 29, 2019 12:56 am
Forum: ESP-IDF
Topic: external 32KHz crystal calibration time
Replies: 0
Views: 2085

external 32KHz crystal calibration time

Hi, So when you enable external 32KHz crystal, it will perform calibration during booting. https://github.com/espressif/esp-idf/blob/release/v3.2/components/esp32/clk.c#L186 I modified rtc_clk_cal_internal()(which is a function that actually does the calibration) to measure how long does the calibra...
by Seungwhan
Thu Oct 03, 2019 10:59 pm
Forum: Hardware
Topic: Maximum UART baud rate
Replies: 2
Views: 18439

Maximum UART baud rate

Hi, So ESP32 datasheet Chapter 4.1.10 says maximum UART speed of 5Mbps. Is it same for both normal GPIO matrix and Direct IO? (Signals going through GPIO matrix versus signals directly connected to IO_MUX) If it is 5Mbps for both cases, then what is benefit of using Direct IO? Is using Direct IO onl...
by Seungwhan
Thu Sep 26, 2019 1:32 am
Forum: Hardware
Topic: ESP32 RF calibration
Replies: 1
Views: 3261

ESP32 RF calibration

Hi, According to this page, https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/RF_calibration.html#, ESP32 will run full RF calibration when the NVS is empty. 1. Where is that RF calibration code located? Is it part of ROM boot code? or boot loader? 2. What are the physical conditions ...
by Seungwhan
Thu Sep 26, 2019 1:11 am
Forum: ESP-IDF
Topic: Programming WROOM using Jtag
Replies: 2
Views: 5575

Programming WROOM using Jtag

Hi, We are exploring programming the device(with WROOM module on it) using Jtag. And this is what we are seeing. The flash has to be first erased by doing "esptool.py erase_flash". And then we can program the device using Jtag. If we try to program brand new WROOM module using Jtag, it will fail wit...
by Seungwhan
Tue Sep 24, 2019 1:10 am
Forum: ESP-IDF
Topic: Flash encryption and Partition
Replies: 1
Views: 2281

Flash encryption and Partition

Hi, Let's say we enabled the flash encryption functionality.(parity of efuse_crypt_cnt is odd. Flash contents will be automatically decrypted upon running.) Now is there a way we don't encrypt the app partition and will be able to run the app? I figured that there is spi_flash_read(). Will it let me...
by Seungwhan
Wed Sep 18, 2019 9:26 pm
Forum: Hardware
Topic: RTC clock too fast by 2 Min in 10 hours?
Replies: 6
Views: 18417

Re: RTC clock too fast by 2 Min in 10 hours?

Hi,
By the way is it(the fact that RTC clock frequency error is about 5% when 150KHz internal RC clock is used.) documented somewhere in ESP32 data sheet or TRM? Or in ESP-IDF Programming Guide website?
Thanks!
by Seungwhan
Wed Sep 11, 2019 7:26 pm
Forum: Hardware
Topic: Efuse DISABLE_DL_DECRYPT
Replies: 5
Views: 5570

Re: Efuse DISABLE_DL_DECRYPT

Thanks for the explanation, ESP_Angus.

But even with all the efuses like DISABLE_DL_DECRYPT, DISABLE_DL_ENCRYPT and DISABLE_DL_CACHE, the fact that attackers code can run on the CPU's RAM makes me a little nervous.
Wish you had capability to entirely block the uart bootloader.