Search found 967 matches

by ESP_Angus
Fri Jun 22, 2018 2:14 am
Forum: ESP32 IDF
Topic: Partition Error on Boot
Replies: 10
Views: 217

Re: Partition Error on Boot

It works if I change the type to factory instead of ota_0, so it seems like there's a bug where it doesn't detect ota_0 as an app area. For anyone following along at home, this is a bug (in v3.1 beta, generated flashing command is invalid unless there's a factory partition). Nick has reported this ...
by ESP_Angus
Fri Jun 22, 2018 12:03 am
Forum: ESP32 Arduino
Topic: esptool reset after upload
Replies: 3
Views: 82

Re: esptool reset after upload

Turns out I do know the answer for Arduino (searched for "--after" in the arduino-esp32 repo on github). It's set in platform.txt: https://github.com/espressif/arduino-esp32/blob/69f72eca849a44688e2da38028eb9aa707e91f08/platform.txt#L99 All the same, though: soft_reset won't work for ESP32...
by ESP_Angus
Fri Jun 22, 2018 12:02 am
Forum: ESP32 Arduino
Topic: esptool reset after upload
Replies: 3
Views: 82

Re: esptool reset after upload

Hi Bob, I don't know the answer about Arduino. However, unfortunately, I can tell you that "--after soft_reset" is only supported on ESP8266: https://github.com/espressif/esptool/wiki/Advanced-Options#reset-after-operation There are some peculiarities of the ESP32 ROM code which makes this...
by ESP_Angus
Thu Jun 21, 2018 7:02 am
Forum: General Discussion
Topic: UART Communication problems at 921600
Replies: 8
Views: 233

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: 97

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: 114

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: 233

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: 10
Views: 217

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: 95

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: 15
Views: 367

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.)

Go to advanced search