Search found 952 matches

by ESP_igrr
Mon Apr 23, 2018 2:07 pm
Forum: ESP32 SDK
Topic: SDcard 1-line error in writing file
Replies: 3
Views: 25

Re: SDcard 1-line error in writing file

We have some fixes for CD and WP pin handling in review at the moment. Please wait a couple of days, they should fix the issue you see with CD.
by ESP_igrr
Sun Apr 22, 2018 9:34 am
Forum: ESP32 SDK
Topic: xtensa-esp32-elf-ld does not create symbols from binary file
Replies: 2
Views: 60

Re: xtensa-esp32-elf-ld does not create symbols from binary file

You can use objcopy with the following arguments: https://github.com/espressif/esp-idf/blob/4e982d4b185460da4499bfe6e6530e4852eb6b9e/make/component_wrapper.mk#L289 or ask the build system to do that for you: https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html#embedding...
by ESP_igrr
Fri Apr 20, 2018 3:42 pm
Forum: General Discussion
Topic: Brownout: register content wrong?
Replies: 1
Views: 60

Re: Brownout: register content wrong?

Hardware "reset on brownout" feature is disabled, but RTC ISR handler is installed, and brownout interrupt is enabled. Interrupt handler prints the message and perfoms software reset.
by ESP_igrr
Fri Apr 20, 2018 4:07 am
Forum: General Discussion
Topic: Question about esp32 Flash download through JTAG
Replies: 24
Views: 6517

Re: Question about esp32 Flash download through JTAG

No, there is no support for flash encryption and secure boot flows over JTAG. Besides, JTAG should normally be disabled when enabling secure boot, which makes running further steps over JTAG impossible, and still makes UART required as a fallback.
by ESP_igrr
Tue Apr 17, 2018 12:54 am
Forum: ESP32 HDK
Topic: Time keeping in light sleep
Replies: 1
Views: 86

Re: Time keeping in light sleep

In light sleep, timekeeping is done by RTC timer. On exiting sleep, system time (as reported by 'gettimeofday') will be updated based to the RTC timer. There's another change which will be merged soon, which also adjusts time reported by esp_timer_get_time. If you want to implement your own timekeep...
by ESP_igrr
Sun Apr 15, 2018 1:11 pm
Forum: ESP32 HDK
Topic: RTC clock too fast by 2 Min in 10 hours?
Replies: 3
Views: 131

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

If I connect a 32kHz XTAL to IO32 and IO33, will it be automagically recognized or will it need some specific code? I am programming on the Arduino IDE. No specific code is needed, however you need to change CONFIG_ESP32_RTC_CLOCK_SOURCE option in sdkconfig. This is not something you can do from Ar...
by ESP_igrr
Sun Apr 15, 2018 9:57 am
Forum: ESP32 HDK
Topic: RTC clock too fast by 2 Min in 10 hours?
Replies: 3
Views: 131

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

In light sleep and deep sleep, RTC clock is used for timekeeping. This is either the internal 150kHz oscillator, or external 32kHz XTAL. The internal 150kHz oscillator is +/-5%.
by ESP_igrr
Fri Apr 13, 2018 10:56 am
Forum: General Discussion
Topic: ULP, use Byte instead of Long
Replies: 4
Views: 165

Re: ULP, use Byte instead of Long

Internally the load instruction accepts offset in units of 32-bit word. There is no documented way of loading the higher 16 bits of a word from memory.
by ESP_igrr
Sun Apr 08, 2018 2:07 pm
Forum: ESP32 SDK
Topic: Mutex without FreeRTOS
Replies: 3
Views: 208

Re: Mutex without FreeRTOS

You can build some form of mutual exclusion on top of the atomic compare-and-set instruction. Here's the basic C wrapper for it: https://github.com/espressif/esp-idf/blob/f586f5e690e687f8db219a8b509bbf483fc416d6/components/freertos/include/freertos/portmacro.h#L273-L290 Xtensa port of FreeRTOS has i...
by ESP_igrr
Wed Apr 04, 2018 1:28 am
Forum: ESP32 SDK
Topic: Error "assertion "entry < ENTRY_COUNT" failed" on startup
Replies: 3
Views: 152

Re: Error "assertion "entry < ENTRY_COUNT" failed" on startup

Could you please do the following:

1) Read the contents of NVS partition using esptool.py
2) send the binary file by email to ivan at espressif.
3) use esptool to erase flash memory contents (or just the NVS partition)
4) upload the application again (if you have erased all flash memory contents)

Go to advanced search