Search found 1144 matches

by ESP_igrr
Thu Oct 18, 2018 2:46 am
Forum: ESP32 IDF
Topic: 'esp_wake_deep_sleep' GPIO ISR initialization
Replies: 2
Views: 62

Re: 'esp_wake_deep_sleep' GPIO ISR initialization

No, the earliest you can register a GPIO ISR is when app_main starts. When deep sleep wake stub is running, FreeRTOS has not started yet, so interrupt servicing using the driver is not possible.
by ESP_igrr
Tue Oct 16, 2018 2:09 am
Forum: ESP32 IDF
Topic: Debugging Issue: OpenOCD & GDB reporting stack level of -1, crashing Microsoft MI
Replies: 4
Views: 117

Re: Debugging Issue: OpenOCD & GDB reporting stack level of -1, crashing Microsoft MI

Thanks for checking, very interesting. Could you send me your application .elf and .bin files via a PM?
Also, is there anything special about the way you are building the application (new CMake build system, or something custom)?
by ESP_igrr
Mon Oct 15, 2018 8:37 am
Forum: ESP32 IDF
Topic: Enable Time stamp on FatFs SD card
Replies: 15
Views: 596

Re: Enable Time stamp on FatFs SD card

In this case the path is going to be "0:foo.txt" (instead of "/sdcard/foo.txt"). See http://elm-chan.org/fsw/ff/doc/filename.html for the fatfs library format of file names. Normally when you use C library functions or POSIX functions which work with files, these functions transl...
by ESP_igrr
Mon Oct 15, 2018 2:45 am
Forum: ESP32 IDF
Topic: Debugging Issue: OpenOCD & GDB reporting stack level of -1, crashing Microsoft MI
Replies: 4
Views: 117

Re: Debugging Issue: OpenOCD & GDB reporting stack level of -1, crashing Microsoft MI

In this case, gdb server is provided by OpenOCD. If you are using xtensa GDB as the client (via MI), then it should be able to talk with OpenOCD. If you are running generic GDB (not cross GDB for Xtensa) then there certainly will be an issue. Can you trace somehow, which GDB binary is used by Micros...
by ESP_igrr
Sun Oct 14, 2018 9:05 pm
Forum: ESP32 IDF
Topic: Enable Time stamp on FatFs SD card
Replies: 15
Views: 596

Re: Enable Time stamp on FatFs SD card

Yes, f_utime should work, provided that you pass the correct path (e.g. 0:file.txt where 0 is volume number and file.txt is the file name inside FAT partition)
by ESP_igrr
Wed Oct 10, 2018 2:59 pm
Forum: General Discussion
Topic: UART as wake-up source in Light sleep mode
Replies: 19
Views: 645

Re: UART as wake-up source in Light sleep mode

Sorry for the late reply. Could you try EXT0 or EXT1 wake up method for UART RX pin, and see if it can wake the chip up from light sleep when something is received? Another thing to try, connect the external serial device to UART0 instead of UART1, and see if wake up from UART0 works using your code.
by ESP_igrr
Mon Oct 01, 2018 6:27 am
Forum: ESP32 IDF
Topic: Min Heap Threshold Callback? "OOM Killer"?
Replies: 4
Views: 128

Re: Min Heap Threshold Callback? "OOM Killer"?

trigger a task to delete itself (which, through C++ RAII will free/release all the allocated resources Keep in mind that FreeRTOS vTaskDelete does no unwind stack frames, and does not cause destructors of local variables to be called. You may, however, throw a C++ exception from the place where the...
by ESP_igrr
Sun Sep 30, 2018 11:42 am
Forum: ESP32 IDF
Topic: Timer interrupt and reading/writing flash memory causes a crash
Replies: 6
Views: 387

Re: Timer interrupt and reading/writing flash memory causes a crash

You can use RTC_NOINIT_ATTR to place variables into RTC memory, and prevent them from being reinitialized after WDT (or exception/panic) reset.
by ESP_igrr
Sat Sep 29, 2018 1:32 pm
Forum: ESP32 IDF
Topic: Preview release: CMake-based build system for ESP-IDF
Replies: 64
Views: 6229

Re: Preview release: CMake-based build system for ESP-IDF

Hi, thanks for reporting. We have the fix for the crash itself in review now, due to some changes in component ordering between the build systems it only happens in CMake...

Go to advanced search