Search found 964 matches

by ESP_Angus
Thu Jun 21, 2018 7:02 am
Forum: General Discussion
Topic: UART Communication problems at 921600
Replies: 8
Views: 163

Re: UART Communication problems at 921600

I think the root cause is as you mentioned; I the interrupts for the send and receive socket server task is most probably on the same CPU. As a result slowing the baud rate worked. I've had a similar issue on our main processor before and we used DMA instead of an interrupt driven driver to solve i...
by ESP_Angus
Thu Jun 21, 2018 5:31 am
Forum: Hardware
Topic: power down during erase
Replies: 1
Views: 46

Re: power down during erase

The flash won't be damaged, but the contents of the sector being erased will be undefined (probably partially erased). The same goes for power failure during a write operation (although usually in this case some of the first bytes in the sequence will be written correctly, and the bytes after that w...
by ESP_Angus
Thu Jun 21, 2018 5:26 am
Forum: Report Bugs
Topic: LwIP Socket Memory Leak
Replies: 2
Views: 35

Re: LwIP Socket Memory Leak

Hi Casey, Thanks for the detailed bug report. I was able to reproduce and have committed a fix for review internally. (You were on the right track: there is a static function is_created_by_socket() in api_lib.c which checks if a netconn has a controlling socket. If it does, netconn_free() is deferre...
by ESP_Angus
Thu Jun 21, 2018 4:49 am
Forum: General Discussion
Topic: UART Communication problems at 921600
Replies: 8
Views: 163

Re: UART Communication problems at 921600

Glad you solved the framing issue. What was the root cause? We run an automated test on our AT command firmware (which uses the UART driver) to ensure no loss of data at 2Mbps. So in theory the UART driver can keep up. Is it possible there's another task or a lot of interrupt activity on the same CP...
by ESP_Angus
Thu Jun 21, 2018 12:48 am
Forum: ESP32 IDF
Topic: Partition Error on Boot
Replies: 5
Views: 63

Re: Partition Error on Boot

It can be data, but having two partitions type data and subtype ota can cause issues (im not sure here).Try with spiffs subtype and you will see if this can help. I agree with chegewara this may cause problems, at minimum it's not recommended. Rather than "data", you can write in any hex ...
by ESP_Angus
Thu Jun 21, 2018 12:32 am
Forum: ESP32 IDF
Topic: ESP-IDF V3.1-beta1 prerelease is available
Replies: 0
Views: 35

ESP-IDF V3.1-beta1 prerelease is available

This is the first prerelease for ESP-IDF V3.1:
https://github.com/espressif/esp-idf/re ... v3.1-beta1

(The current stable release is still V3.0.1)
by ESP_Angus
Wed Jun 20, 2018 11:28 pm
Forum: ESP32 IDF
Topic: Heap corrupting when using xQueue
Replies: 10
Views: 163

Re: Heap corrupting when using xQueue

IDF-Monitor can also help you decode addresses in stack traces, if you use it to access the console:
https://docs.espressif.com/projects/esp ... nitor.html

Or you can run xtensa-esp32-elf-addr2line manually (the command line to use is written at the above page.)
by ESP_Angus
Wed Jun 20, 2018 6:21 am
Forum: ESP32 IDF
Topic: ESP-IDF V3.0.1 has been released
Replies: 0
Views: 54

ESP-IDF V3.0.1 has been released

This is the latest stable ESP-IDF release. V3.0.1 is a bugfix update to V3.0.

Full details here: https://github.com/espressif/esp-idf/re ... tag/v3.0.1
by ESP_Angus
Wed Jun 20, 2018 3:55 am
Forum: General Discussion
Topic: Question about new features
Replies: 2
Views: 116

Re: Question about new features

We have HID host implemented about 2 months ago I checked with the Bluetooth team, they added some Bluedroid code for this but HID Host is not supported yet. Can we have some topic with listed new features? The Release Notes have a list of changes for each stable release, including new features: ht...
by ESP_Angus
Wed Jun 20, 2018 12:50 am
Forum: ESP32 IDF
Topic: Heap corrupting when using xQueue
Replies: 10
Views: 163

Re: Heap corrupting when using xQueue

Hi x-8973, I adapted the code from your post into a working main.c. This runs without any immediate problems on the current IDF master branch: https://gist.github.com/projectgus/f4f4ec494db2c67f1e1261c0b9309d91 I also turned on Comprehensive heap checking but no problems were detected. If you have s...

Go to advanced search