Search found 8 matches

by ruffle
Fri Apr 05, 2019 5:30 pm
Forum: ESP-IDF
Topic: httpd_resp_send_chunk causing Guru Meditation Error
Replies: 0
Views: 3058

httpd_resp_send_chunk causing Guru Meditation Error

I'm trying to download large(ish) files from my ESP32 over WiFi. A 100MB file is taking around 3 minutes which is very slow. I've run the example wifi/iperf test (default sdkconfig) and that produces: esp32> 0- 3 sec 28.22 Mbits/sec 3- 6 sec 34.60 Mbits/sec 6- 9 sec 34.69 Mbits/sec 9- 12 sec 34.82 M...
by ruffle
Mon Sep 10, 2018 12:33 pm
Forum: General Discussion
Topic: Lolin D32 Pro. Is it right that I can't use the SDCard and Display in esp-idf?
Replies: 2
Views: 6312

Re: Lolin D32 Pro. Is it right that I can't use the SDCard and Display in esp-idf?

To answer my own question (for the benefit of others who might trip across this).

Using a semaphore around the SDCard/Display write code seems to work.
by ruffle
Fri Sep 07, 2018 2:40 pm
Forum: General Discussion
Topic: Lolin D32 Pro. Is it right that I can't use the SDCard and Display in esp-idf?
Replies: 2
Views: 6312

Lolin D32 Pro. Is it right that I can't use the SDCard and Display in esp-idf?

Sigh. It was all going so well :-( I'm using a Lolin D32 Pro with its inbuilt SDCard and native TFT display connector and esp-idf v3.2-dev-209-gbe81d2c1... well trying to :( Lolin/Wemos have designed the board with the SD Card and TFT sharing the same SPI bus with a different CS line (4 & 14 respect...
by ruffle
Fri Sep 07, 2018 9:27 am
Forum: General Discussion
Topic: Tearing my hair out trying to reliably write logfiles to SDCard
Replies: 3
Views: 6548

Re: Tearing my hair out trying to reliably write logfiles to SDCard

Thanks for that. I'd tried sync() but that doesn't seem to exist and not looked further for fsync.

Unfortunately I've hit a bigger issue now as it seems that one can't use an SD Card and a display on the Lolin D32 Pro (opened new thread).
by ruffle
Wed Aug 29, 2018 4:17 pm
Forum: General Discussion
Topic: ESP32 DevKitC vs ESP32-PICO-KIT
Replies: 3
Views: 7850

Re: ESP32 DevKitC vs ESP32-PICO-KIT

The Pico doesn't have the CAN bus features (well mine doesn't!).
by ruffle
Wed Aug 29, 2018 4:14 pm
Forum: General Discussion
Topic: Power Failure Tolerance
Replies: 5
Views: 10158

Re: Power Failure Tolerance

From my, very limited, ESP32 experience; a FAT filesystem is not at all happy about sudden shutdowns and gets corrupted.

Anyone got a journaling filesystem handy?
by ruffle
Wed Aug 29, 2018 4:09 pm
Forum: General Discussion
Topic: Tearing my hair out trying to reliably write logfiles to SDCard
Replies: 3
Views: 6548

Tearing my hair out trying to reliably write logfiles to SDCard

I'm trying to put together a CAN Bus + other sensors logger for a racing motorcycle with an ESP-32 (ESP-IDF v3.2-dev-209-gbe81d2c1-dirty) While all the Canbus stuff is working very well, recording data on the integral SD Card is causing me a right headache. Mounting the card works in SPI mode works ...
by ruffle
Tue Jul 31, 2018 9:58 am
Forum: Hardware
Topic: Practical in-vehicle use
Replies: 1
Views: 4457

Practical in-vehicle use

I'm using an ESP32 plus other bits to construct a logging system for a racing motorcycle (Can Bus, GPS, Linear position sensors etc) and hoping for some pointers on a couple of things. 1. What to use for storage? The onboard flash just isn't large enough to store the amount of data (could easily be ...