Search found 126 matches

by gunar.kroeger
Wed Jan 09, 2019 2:41 pm
Forum: General Discussion
Topic: Flashing custom partitions from Eclipse
Replies: 2
Views: 1001

Re: Flashing custom partitions from Eclipse

Wow thanks! that was exactly what I was looking for!
by gunar.kroeger
Thu Jan 03, 2019 7:41 pm
Forum: General Discussion
Topic: Flashing custom partitions from Eclipse
Replies: 2
Views: 1001

Flashing custom partitions from Eclipse

Hi, I use a custom partition to allow for spiffs and OTA updates. This means I can not use the "Build Targets - > flash" like the docs recommend. So far I have been flashing each partitions bin file to the correct address using mingw32 command: python C:/msys32/home/gunar.kroeger/esp/esp-idf/compone...
by gunar.kroeger
Fri Dec 14, 2018 4:02 pm
Forum: ESP32 IDF
Topic: IRAM0 segment data does not fit
Replies: 19
Views: 4752

Re: IRAM0 segment data does not fit

I encountered the same issue when switching from a master IDF commit to v3.2, I also use BT classic, WiFi, CAN, SPI, HTTP, SPIFFS
for now I went back to commit a8754cc, but I really need a solution for this
by gunar.kroeger
Fri Nov 23, 2018 6:10 pm
Forum: ESP32 IDF
Topic: HELP! How to stop FreeRTOS (Or How to stop WiFi during esp_http_client_write)
Replies: 7
Views: 2095

Re: HELP! How to stop FreeRTOS

Maybe its not what you are looking for but did you try esp_deep_sleep() it should enter deep sleep immediately which will save your power usage and should protect you from guru or assertion failure. I believe this wouldn't work because I have to close all files and deinit everything afterwards. Als...
by gunar.kroeger
Fri Nov 23, 2018 3:59 pm
Forum: ESP32 IDF
Topic: HELP! How to stop FreeRTOS (Or How to stop WiFi during esp_http_client_write)
Replies: 7
Views: 2095

Re: HELP! How to stop FreeRTOS

I would suggest trying this, and adding cleanup/shutdown logic to your existing tasks, rather than trying to force-stop the entire FreeRTOS scheduler (which will do things like disturb the WiFi shutdown process). I understand that this would be a more elegant solution, but I fail to see how this sh...
by gunar.kroeger
Fri Nov 23, 2018 3:43 pm
Forum: ESP32 IDF
Topic: IDF V3.2 with CAN driver
Replies: 13
Views: 3219

Re: IDF V3.2 with CAN driver

I pulled it from the release branch of IDF git named v3.2

But for now I had to return to the master branch due to some issues with http in the 3.2 version that I don't have time to look into right now
by gunar.kroeger
Fri Nov 23, 2018 3:40 pm
Forum: ESP32 IDF
Topic: HELP! How to stop FreeRTOS (Or How to stop WiFi during esp_http_client_write)
Replies: 7
Views: 2095

Re: HELP! How to stop FreeRTOS

Hi, Is it possible the ESP32 may drop below its minimum operating voltage? No. we are monitoring the voltage before the power supply and shutting down if it drops bellow 8V, giving about 2 seconds to close all files, etc. while the 3.3 caps are still above 2 volts. can you please post the full stack...
by gunar.kroeger
Thu Nov 22, 2018 7:26 pm
Forum: ESP32 IDF
Topic: HELP! How to stop FreeRTOS (Or How to stop WiFi during esp_http_client_write)
Replies: 7
Views: 2095

Re: HELP! How to stop FreeRTOS

Increasing the priority of the BAT task I got the following: I (12232) BAT: Disconnect wifi I (12242) wifi: state: run -> init (0) I (12242) wifi: pm stop, total sleep time: 3612453 us / 7502217 us I (12252) wifi: n:11 0, o:11 0, ap:255 255, sta:11 0, prof:1 I (12252) BAT: Stop wifi assertion "res =...
by gunar.kroeger
Thu Nov 22, 2018 7:18 pm
Forum: ESP32 IDF
Topic: HELP! How to stop FreeRTOS (Or How to stop WiFi during esp_http_client_write)
Replies: 7
Views: 2095

HELP! How to stop FreeRTOS (Or How to stop WiFi during esp_http_client_write)

How do I stop execution of all tasks? I am able to detect that the supercapacitor voltage is dropping and save everything and deinit all modules before the voltage drops too low for the esp to work. After I detect the voltage drop I need to stop execution of all other tasks. I know that the function...
by gunar.kroeger
Thu Nov 22, 2018 12:01 pm
Forum: ESP32 IDF
Topic: ESP32 SPP send throughput
Replies: 12
Views: 6850

Re: ESP32 SPP send throughput

We should wait for ESP_SPP_WRITE_EVT, then call esp_spp_write() again Yes, but even so, after a while we get the congestion event. Try writing a task with an EventGroupHandle_t that waits for the ESP_SPP_WRITE_EVT and then calls esp_spp_write(). This should give the fastest throughput possible, but...

Go to advanced search