Search found 2067 matches

by ESP_igrr
Thu Oct 25, 2018 2:05 pm
Forum: ESP-IDF
Topic: IDF V3.2 with CAN driver
Replies: 13
Views: 13435

Re: IDF V3.2 with CAN driver

Yes, a TRM chapter for this peripheral is planned, however at the moment it is of a relatively low priority, so I can't give you any timeline.
by ESP_igrr
Thu Oct 25, 2018 1:56 pm
Forum: General Discussion
Topic: Q: application CPU and handling of events from protocol CPU
Replies: 1
Views: 3166

Re: Q: application CPU and handling of events from protocol CPU

The names "protocol" and "application" are somewhat of a legacy. In practice the only difference is that the CPU0 is responsible for application startup (up to the point when app_main runs). From that point on, FreeRTOS tasks can be created and run on CPU0, on CPU1, or scheduled automatically (on CP...
by ESP_igrr
Tue Oct 23, 2018 12:54 am
Forum: General Discussion
Topic: ESP32 UDP Multicast failure
Replies: 4
Views: 5609

Re: ESP32 UDP Multicast failure

Please try disabling Wi-Fi modem sleep (which is enabled by default) using esp_wifi_ps_set function. Perhaps this will improve the situation?
by ESP_igrr
Thu Oct 18, 2018 2:46 am
Forum: ESP-IDF
Topic: 'esp_wake_deep_sleep' GPIO ISR initialization
Replies: 2
Views: 3633

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: ESP-IDF
Topic: Debugging Issue: OpenOCD & GDB reporting stack level of -1, crashing Microsoft MI
Replies: 5
Views: 6215

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: ESP-IDF
Topic: Enable Time stamp on FatFs SD card
Replies: 17
Views: 23613

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 translate full paths (such...
by ESP_igrr
Mon Oct 15, 2018 2:45 am
Forum: ESP-IDF
Topic: Debugging Issue: OpenOCD & GDB reporting stack level of -1, crashing Microsoft MI
Replies: 5
Views: 6215

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: ESP-IDF
Topic: Enable Time stamp on FatFs SD card
Replies: 17
Views: 23613

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: 20
Views: 32267

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.